I deployed the EspoCRM TurnKey image a few weeks ago and I just noticed a message saying there was an upgrade.

The preferred way to upgrade does not work:

root@EspoCRM ~# php command.php upgrade -y
Could not open input file: command.php

Any help would be appreciated.  Thanks!

Forum: 
Jeremy Davis's picture

The error message you note suggests that it can't find the "command.php" file. My guess is that you weren't in the web root. Also, FYI, it's best to run those commands as the webserver user. You can do that like this:

runuser -l www-data -s /bin/bash -c "cd /var/www/espocrm && php command.php upgrade -y"

Hopefully that should do the job. Please post back if you hit any further issues.

That was it!  I'm a NOOB to running these images...thank you very much!!

Add new comment