Non-admin users unable to login — 500 Internal Server Error on /desk

Issue:

  • Administrator account can log in successfully.

  • All other registered users are unable to log in.

  • Accessing /desk results in a “500 Internal Server Error”.

We checked the Frappe Cloud logs, but only generic “New Exception collected in error log” entries are visible.

Any guidance on how to debug this further on Frappe Cloud would be helpful.

Thanks.

have you checked Error Log?

Nothing is there ,

Did you restore a backup from somewhere else? In that case you may need to set the previous encryption key .. to debug this issue, you may login as admin and reset password of some user and then try to login as that user with the new password

yes ,restored from dev server.I have added a encryption key from that server and added a new user after that process

Disable any custom apps and try, esp if any logic related to auth, boot, post login etc

Sounds like one of those sneaky issues where the admin role masks the real problem. I’d flip on developer mode and tail the traceback logs while logging in as a normal user. Also worth checking if any role or permission tweaks accidentally blocked access to desk pages. A quick sanity check is hitting the same user login on a fresh site to see if it’s config related or data related.