Php upgrade went wrong

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ali.ahmed@bios.pk
    Junior Member
    • Mar 2024
    • 25

    Php upgrade went wrong

    Hello,

    I was updating my Espo from 8.4.2 to the latest released one however i got an error that it cannot be upgraded unless i update my php version from 8.1 to 8.2 and above. However, something went wrong and even before upgrading the espo version i am getting error 500 on the home page and nothing is loading. I have switched back to the older version of php but it is still not working..
  • novastream
    Member
    • May 2021
    • 65

    #2
    Hi Ali,

    Who is the owner of:
    /var/www/html/espocrm

    And who is the webserver user? (usally it is www-data)

    Lets say www-data is the owner of /var/www/html/espocrm then you can run sudo -u www-data php command.php upgrade

    Now If you instead have vhosts for multiple users you need to execute the sudo -u [insert-username] php command.php upgrade

    Please do also check the logs in /var/logs/nginx or /var/logs/apache2, here you should find an error log with some more information.

    Comment

    Working...