·
Added a discussion

We resolved this a while back, but I figured I'd post the solution for everyone else's benefit. When the button to upgrade appeared, site wouldn't update to UNA 12. 

Suggested fix was to switch to php5.6 and to use cron job.

/opt/alt/php56/usr/bin/php -q /home/path_to_site/periodic/cron.php  

It's important to note that while this might work for UNA hosted sites, for TMD hosted sites, the php path is different.
Correct path and cronjob for TMD hosted sites (dedicated server, at least) is

/usr/local/bin/ea-php56 -q /home/path_to_site/periodic/cron.php

Also, after upgrading, you need to switch the PHP version back.

  • 2030
Comments
    • Hello Wesley Upchurch !

      Thank you for sharing your experience! It would be interesting to know some things:

      1) what is the current version of PHP now?

      2) do you have any records in your server's error log during the moments of Cron Jobs with upgrade running? It's better to find what error didn't allow to complete the process?

      • I didn't check the error logs, as I was able to get it to upgrade, even if I had to do a workaround. But, since you asked, I will say I am running PHP 7.2.

        Login or Join to comment.