Cannot Upgrade to RC1- nothing happens....
When I press the UPDATE button, it tells me that it will be done in a minute or two, but nothing actually happens....I have tried this 3 times already....
-
-
·
Alex T⚜️
- ·
New version requires PHP 8.1 or newer, please check PHP version you are using.
-
·
Alex T⚜️
-
- · sfraden
-
·
In reply to Alex T⚜️
- ·
using 8.3, always have. so what now?
-
- · sfraden
-
·
In reply to Alex T⚜️
- ·
-
- · Brian
- ·
I've got the same issue. I'm on PHP 8.2.18
-
I rolled back my install.
I should have learnt from Dolphin; and wait until the bugs are ironed out.
Some times developers move ahead of their user base too fast, then people give up; especially when not enough communication is shared ahead of time,
---------
-
- · Wise
- ·
I was on B1 still waiting for some other fixes, now going to RC1 is failing, and I can't seem to get it to update to B2, so I can go RC1. Something isn't right.
-
using 8.3, always have. so what now?
If you have PHP 8.1 or newer then check if UNA cron jobs are setup properly, to check it, go to Studio > Dashboard > Host Tools > Server Audit > Last cron jobs execution, it should be within a minute from now.
-
- · sfraden
-
·
In reply to Alex T⚜️
- ·
And yes, It was....
-
- · Brian
- ·
Yes. Cron running every minute.
-
- · Jethro
- ·
I'm running into the same issue - cannot update to RC1. I have PHP 8.2 and cron job is setup correctly and hasn't changed. Definitely something is amiss in the update.
-
- · PavelS
- ·
I installed version 14.0.0-RC1 ( PHP 8.2.17) two days ago without problems ... if you have any changes in the code, check Force auto-update in the settings, even if some files were modified and then check for module updates.
-
- · sfraden
-
·
In reply to PavelS
- ·
I have had that option on forever. Made no difference, still wont update.
-
- · PavelS
-
·
In reply to sfraden
S
- ·
so look in the server log and UNA logs, you will surely find the reason why this is happening
-
- · sfraden
-
·
In reply to PavelS
- ·
Sorry, I have no idea where to find those logs, even if I did, I would have no idea what any of it means. The main reason I chose UNA is due to it's plug n play nature, requiring little to no coding necessary.....
-
- · PavelS
-
·
In reply to sfraden
S
- ·
see screen...There is no need to code anything, but you will find out the reason why it is not updated, I think there will be a problem with CRON
For example in UNA logs- upgrade.log should be this if there is an update:
--------- 2024-09-11T19:25:01+00:00
14.0.0.B2-14.0.0.RC1 upgrade will be applied
Files permissions are ok and can be overwritten
Files copying successfully completed
Deprecated files were successfully deleted or there is no files to delete
System files hash was successfully updated
System SQL script was successfully executed
The following languages will be affected for system:
- No languages will be affected
System after update custom script was successfully executed
Look on your server folder Log /zzzzzz.zzz/web/log/ error.log to see what errors there are
-
- · sfraden
-
·
In reply to PavelS
- ·
Thanks, I found all the logs, and read them. Most I did not understand, but there is nothing in the logs that indicate any sort of failure related to upgrading. The una log you show states all the prior updates done successfully, but nothing about RC1 at all.
-
-
·
LeonidS
-
·
In reply to sfraden
S
- ·
Hello @sfraden !
Could you please provide us the upgrade logs?
-
·
LeonidS
-
You clearly state that cron is running on PHP 7.4. Change the cron version to PHP 8.1 or newer and everything will be updated.
-
It is important that PHP version 8.1 or newer is not only for the site, but also for the cron job.
-
-
- · sfraden
- ·
Perfect! I never noticed the version the actual cron was executing under. Thanks @Ivan Mishchenko for figuring out the answer. I had to actually manually edit my cron task (See Below) on my CPanel, and now it works and I was able to upgrade to RC1 :)
-
- · Brian
- ·
My cron does not specify a PHP version?
* * * * * /usr/bin/php -q /home/*****.com/public_html/periodic/cron.php
It runs successfully every minute, but I am not able to update to RC1.
-
- · Brian
- ·
Ok -- so that totally fixed it. My cron was pointing to an alias "php" which went to an older version. I changed it to:
* * * * * /usr/local/lsws/lsphp82/bin/php -q /home/*****.com/public_html/periodic/cron.php
and the upgrade went fast and smooth.
Note... after the update, the site would not load. I followed the instructions, upgraded the modules, and boom. Everything looks great.
-
Nice to know the cron job solution needs to be changed as well.
This really should be mentioned in release notes.