# Logon Unauthorized

**URL:** <https://forum.pydio.com/t/logon-unauthorized/4145>\
**Category:** Pydio Cells\
**Tags:** authentication\
**Created:** [November 10, 2021, 6:00pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145 "2021-11-10T18:00:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anthony\_Addotta](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/anthony_addotta/32/1585_2.png) [@Anthony\_Addotta](https://forum.pydio.com/u/Anthony_Addotta)\
**Post date:** [November 10, 2021, 6:00pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/1 "2021-11-10T18:00:24Z")

</div>

We have Pydio Cells installed  
Running on Ubuntu 20.04  
Behind Nginx reverse proxy  
data is being directed to a network share accessible to pydio and mounted in Media.  
We have been able to reach the front page and login with no issue, until now.  
We started adding roles and workspaces  
after adding several roles, we then started adding deny rights to the workspaces for several of the roles  
now for some reason we are getting unauthorized at the login page,  
this is for all users. no one can login

The error message is “Ladon blocked POST request at /frontend/session. Ladon Response:DefaultDeny:true”

Note:  
So, after messing around with this for a while, we decided to see if this was a DB issue. We dropped the db and created a new one created a new admin and user still getting the unauthorized error on login.

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [November 11, 2021, 8:10am UTC](https://forum.pydio.com/t/logon-unauthorized/4145/2 "2021-11-11T08:10:39Z")

</div>

Hi

> [@Anthony\_Addotta](#):
>
> So, after messing around with this for a while, we decided to see if this was a DB issue. We dropped the db and created a new one created a new admin and user still getting the unauthorized error on login.

Did you only re-installed the DB or made a full reinstall ?

> [@Anthony\_Addotta](#):
>
> data is being directed to a network share accessible to pydio and mounted in Media.

Can you precise where is your mount and what protocol you use

> [@Anthony\_Addotta](#):
>
> We have been able to reach the front page and login with no issue, until now.  
> We started adding roles and workspaces  
> after adding several roles, we then started adding deny rights to the workspaces for several of the roles  
> now for some reason we are getting unauthorized at the login page,

Policies are used widely to provide permissions on the file but also on the various APIs, have you tried to remove the “deny” policies you added to see which one is problematic ?

Could you please give more details about you installation (version of cells and the DB at least) ?

---

<div class="post-metadata">

**Author:** ![Anthony\_Addotta](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/anthony_addotta/32/1585_2.png) [@Anthony\_Addotta](https://forum.pydio.com/u/Anthony_Addotta)\
**Post date:** [November 11, 2021, 1:59pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/3 "2021-11-11T13:59:51Z")

</div>

Unfortunately I was unable to resolve this issue by getting into hideo to remove any deny rights.  
As I said before even the admin user password were considered unauthorized at the login.  
What I want up having to do is wiping everything out it’s starting from scratch,  
I dropped the database, create a new database, removed all folders from the working directory, deleted the pydio.json file, then brought everything back up.  
Reset the admin password via the c l i, then started repopulating my work spaces.

In addition to this question,  
Could you tell me how to add a data source?  
When we try to add a data source, we put in the path where we want the data source to be (on a network share) however we are unable to save that configuration do you save button is completely great out.

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [November 11, 2021, 3:41pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/4 "2021-11-11T15:41:03Z")

</div>

> [@Anthony\_Addotta](#):
>
> Unfortunately I was unable to resolve this issue by getting into hideo to remove any deny rights.  
> As I said before even the admin user password were considered unauthorized at the login.  
> What I want up having to do is wiping everything out it’s starting from scratch,  
> I dropped the database, create a new database, removed all folders from the working directory, deleted the pydio.json file, then brought everything back up.  
> Reset the admin password via the c l i, then started repopulating my work spaces.

I am not sure I understand you correctly here (please, don’t get offended, but are you using some automated translation tool?)  
But it seems that in the end you could solve your problem and log again on the web UI with the admin user, right ?

> [@Anthony\_Addotta](#):
>
> Could you tell me how to add a data source?  
> When we try to add a data source, we put in the path where we want the data source to be (on a network share) however we are unable to save that configuration do you save button is completely great out.

Usually when the save button stays _“greyed out”_ it means that one of the compulsory parameter has not been entered _or_ is **not** valid.  
I could not tell much more without the details I asked in my previous message, but quickly said:

- some network share protocol are not fully supported
- you must **not** try to create a DS at the _root_ of a mount, this cannot work.

---

<div class="post-metadata">

**Author:** ![Anthony\_Addotta](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/anthony_addotta/32/1585_2.png) [@Anthony\_Addotta](https://forum.pydio.com/u/Anthony_Addotta)\
**Post date:** [November 11, 2021, 4:04pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/5 "2021-11-11T16:04:26Z")

</div>

Not offended at all…was driving and using text to speech.,…sorry about that.  
Let me clarify  
Unfortunately I was unable to resolve this issue by getting into Pydio remove any deny rights.  
As I said before, even the admin user password was considered unauthorized at the login page  
What I wound up having to do is wiping everything out and starting from scratch,  
I dropped the database, created a new database, removed all folders from the working directory, deleted the pydio.json file, then brought everything back up.  
Reset the admin password via the c l i, then started repopulating my work spaces.

The path to the DS would be  
/media/pydio/pydiods1/clients  
I have a mount point in media pointing to my fileserver where the working directory is. /media/pydio is the mount /pydiods1/clients/ is the path I would like to create the DS in.

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [November 12, 2021, 4:41pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/6 "2021-11-12T16:41:20Z")

</div>

> [@Anthony\_Addotta](#):
>
> I have a mount point in media pointing to my fileserver where the working directory is. /media/pydio is the mount /pydiods1/clients/ is the path I would like to create the DS in.

If I understand correctly, (please correct me if/where I am wrong)

- your mount is at `/media/pydio` (typically you have a folder `/media/pydio/lost+found` )
- you have defined you CELLS\_WORKING\_DIR to be at `/media/pydio`, typically you main config file is at `/media/pydio/pydio.log`
- your instance is working (you can login as admin)
- your default datasources (typically `pydiods1`) are under `/media/pydio/data/`
- you want to create additional datasources at `/media/pydio/pydiods1/clients`

I am quite sure at least one of the assertion above does not fit your setup, would be nice to know which one to be able to help.

By the way, you still haven’t tell the kind of network share you use.

---

<div class="post-metadata">

**Author:** ![Anthony\_Addotta](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/anthony_addotta/32/1585_2.png) [@Anthony\_Addotta](https://forum.pydio.com/u/Anthony_Addotta)\
**Post date:** [November 12, 2021, 5:53pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/7 "2021-11-12T17:53:58Z")

</div>

I got all this working with no problem or issues.  
However I do have one more question if you could assist.  
I am trying to get Collaboro to work, I followed the instructions for installing via Docker and have Code running,  
I cannot seem to open the docks via the reverse proxy using Nginx.  
any ideas?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [January 11, 2022, 5:54pm UTC](https://forum.pydio.com/t/logon-unauthorized/4145/8 "2022-01-11T17:54:41Z")

</div>

Closed on January 11, 2022, 5:54pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
