Lost Admin Privileges - Administration Link Missing from Menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • showard
    Member
    • Feb 2018
    • 46

    Lost Admin Privileges - Administration Link Missing from Menu

    I just upgraded from 5.3.6 to 5.4.5 (intending to finish upgrade to 5.5.5). After the upgrade to 5.4.5, the "Administration" link is gone from the menu and I can't find it anywhere.

    My user profile/overview still shows me as an admin. But I cannot access the admin page. If I manually enter the URL (e.g. mydomain.com/espocrm/#Admin) I get a 403 error indicating no access. It's the same result on all admin accounts.

    Any ideas on how to get admin privileges back would be appreciated. I still have terminal access, but I'm not sure how to restore admin privileges.
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    could you attach the log files of the Espo and web server? This can be useful https://www.espocrm.com/documentatio...ent-check-logs.

    Comment

    • showard
      Member
      • Feb 2018
      • 46

      #3
      Here are the contents of the apache error log. The upgrade was executed on Jan 10. I was able to successfully upgrade from 5.3.5 to 5.3.6. The problem happened with the next upgrade from 5.3.6 to 5.4.5. EspoCRM is running, but without any administration privileges.

      [Mon Jan 07 09:43:15.352806 2019] [proxy_fcgi:error] [pid 29775:tid 139843933796096] [client 213.174.145.35:54868] AH01071: Got error 'Primary script unknown\n'
      [Wed Jan 09 21:32:50.635114 2019] [proxy_fcgi:error] [pid 21725:tid 139843589695232] [client 66.249.65.70:63722] AH01071: Got error 'Primary script unknown\n'
      [Wed Jan 09 21:33:12.888295 2019] [proxy_fcgi:error] [pid 21725:tid 139844100024064] [client 66.249.65.68:34939] AH01071: Got error 'Primary script unknown\n'
      [Wed Jan 09 21:33:20.971427 2019] [proxy_fcgi:error] [pid 20744:tid 139843866654464] [client 66.249.65.68:47509] AH01071: Got error 'Primary script unknown\n'
      [Wed Jan 09 21:33:38.385645 2019] [proxy_fcgi:error] [pid 21725:tid 139843849869056] [client 66.249.65.68:43324] AH01071: Got error 'Primary script unknown\n'
      [Thu Jan 10 16:28:56.214301 2019] [proxy_fcgi:error] [pid 20744:tid 139843925403392] [client 66.249.66.136:44846] AH01071: Got error 'Primary script unknown\n'
      [Thu Jan 10 20:12:23.476503 2019] [mpm_event:notice] [pid 25261:tid 139844343375680] AH00491: caught SIGTERM, shutting down
      [Thu Jan 10 20:15:32.877630 2019] [ssl:warn] [pid 1622:tid 139834496198464] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
      [Thu Jan 10 20:15:32.950079 2019] [ssl:warn] [pid 1623:tid 139834496198464] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
      [Thu Jan 10 20:15:32.976409 2019] [mpm_event:notice] [pid 1623:tid 139834496198464] AH00489: Apache/2.4.29 (Unix) OpenSSL/1.0.2n configured -- resuming normal operations
      [Thu Jan 10 20:15:32.976471 2019] [core:notice] [pid 1623:tid 139834496198464] AH00094: Command line: '/opt/bitnami/apache2/bin/httpd.bin -f /opt/bitnami/apache2/conf/httpd.conf'



      I'm also attaching an excerpt from yesterday's log file. I reviewed the rest of the file and only see this same repeating error on email - it looks like a user is having problems with an incorrect username/password for their email account. I checked other recent error logs (from prior to the upgrade attempt), and it looks like this has been going on for several days before the upgrade. So I am thinking this error is not involved in the administration issue. But the Jan 10 errors in the apache log match the upgrade time, so I suspect they are connected.
      Attached Files
      Last edited by showard; 01-11-2019, 10:49 AM.

      Comment

      • showard
        Member
        • Feb 2018
        • 46

        #4
        Ended up taking the easy way out - restoring from backups. Reinstalled the upgrades, and everything appears to be fine.

        Comment

        Working...