Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Cannot see Admin Dashboard when site is deployed

Started by Muut Archive 10 years ago · 6 replies · 419 views
10 years ago

When running my site locally I can log in at /admin and use the Admin plugin. When my site is deployed I can log in but I get the message "You dont' have sufficient access to view the dashboard..." after successfully logging in.

My local environment is running PHP 5.6.10 and my remote server is running PHP 5.5.21. Both are using the Apache webserver. To deploy I've scp'ed the site from my local machine to the remote one. I'm running Grav 1.0.8.

Any ideas why the site does not work when deployed to my remote server?

10 years ago

Can you compare the user account on our local and production site? Specifically check the access portion, they should match.

10 years ago

They match. Both are:

YAML

access:
  admin:
      login: true
      super: true
   site:
      login: true
---
10 years ago

You should try deleting the user on the your production site, and recreating it.

10 years ago

Recreating the user on the production server worked. Why would the user generated locally not work on the server?

10 years ago

The encryption of the password uses (in part) a security key that is unique to the server. This is important to ensure that the encrypted password won't just work for every server. It's advised to not sync the passwords.

10 years ago

Do I need to recreate the user then or can I just reset the password on the server?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1352 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2950 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago