Describe the issue or problem
We are using OJS 3.4.0-7 on Ubuntu Server with Apache2 and MariaDB.
Our original admin account suddenly lost permissions.
Current issues:
- Login sometimes works
- Only the journal homepage opens after login
- Dashboard does not open
- “You are not authorized to access the requested resource”
- “You do not have sufficient permissions to administer this user”
- “Edit User” fails
- User & Roles management partially broken
Steps I took leading up to the issue
- Tried resetting admin password
- Cleared OJS cache folders
- Cleared sessions table
- Restarted Apache
- Assigned roles manually in database
- Created a temporary admin user manually
- Tried bcrypt and SHA1 password methods
What application are you using?
OJS 3.4.0-7
Additional information
Environment:
- Ubuntu Server
- Apache2
- MariaDB
We suspect:
- authentication/password hash mismatch
- corrupted role mapping
- context permission inconsistency
We would appreciate guidance on the safest way to recover admin/dashboard access without losing journals, submissions, and users.