Upgrades on Cpanel hosting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tayling
    Member
    • Apr 2023
    • 45

    Upgrades on Cpanel hosting

    Hi
    I am hosting EspoCRM on a a cpanel account. Am I able to do update by running the upgrade.php script ffom a browser?

    Thanks

    Tony AYling
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1603

    #2
    This depends on the possibilities, which cPanel offers and what your provider allows. In general (following the cPanel manual: https://support.cpanel.net/hc/en-us/...a-file-in-cron) this should be possible (the same way it works in Plesk, I guess).

    1. go to the cron job section and create a new job.
    2. There you should see something like "run script"
    3. to upgrade espoCRM search the file command.php in your installation and type in: upgrade -y
    4. run only once, don`t save

    I use Plesk and there this works without problems. The command.php gets the upgrade file (upgrade.php), the -y means, that all possible dialogues are answered with "yes".

    If you succeed, come back here to confirm (as I do not have cPanel), for other users to help.
    Last edited by shalmaxb; 04-28-2024, 09:24 AM.

    Comment


    • esforim
      esforim commented
      Editing a comment
      Using CRON, this is genius... I think. Personally I use putty and SSH in.
Working...