Update don't apply
Can't get no (satisfaction) update on my test site(s)
To test it even more better, I did the next:
1. Clean installation of RC3, no mods (only those coming with installation), no changes, jast outta boks - check.
2. Cron job - as described in installation - check.
3. Server audit all-green - check.
4. Nice red announcement about RC4 in Dash & Update button - check.
5. Long time (I mean LONG TIME) showing "Site will be upgraded within a minute" and no update - check.
What now?:)
-
-
·
Alex T⚜️
- ·
You can check logs/upgrade.log file for any error or success message during update.
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
there is nothing there except .htaccess
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
As I already noted: there are no logs @Logs folder.
meanwhile I've find @Temp folder the patch to RC4, it's downloaded, not executed.
permissions on BxDolUpgradeCron.php was 666, changing to 755 did not affect.
-
-
·
Alex T⚜️
- ·
It looks like cron job isn't setup or it isn't properly setup.
-
·
Alex T⚜️
-
-
·
Alex T⚜️
- ·
By the way you can check if cronjob is running by going to Studio > Dashboard > Host tools > Server Audit > Last cron jobs execution
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
There is now "Last cron jobs execution" there/
There is Cron jobs - and there are the very same line, as described above:
* * * * * MAILTO=admin@mysite.com * * * * * /usr/bin/php -q /home/myuser/mysite.com/periodic/cron.php
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
cronjob setted up by copy of command from installation list
MAILTO=admin@mysite.com * * * * * /usr/bin/php -q /home/myserver/mysite.com/periodic/cron.php
-
-
·
Alex T⚜️
- ·
"Last cron jobs execution" line will appear after update.
Please check
1) Make sure that MAILTO is on separate line:
MAILTO=admin@mysite.com
* * * * * /usr/bin/php -q /home/myserver/mysite.com/periodic/cron.php2) patch to PHP (/usr/bin/php) and your cron.php (/home/myserver/mysite.com/periodic/cron.php) is correct
3) cron is setup under the same user which owns files
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
Hi Alex
Thanx for answer.
It kinda not helps because:
1. I'm unable to make thees line separated. All I can do - to copy "two lined" text (exactly as UNA installation suggests) and to paste it into "Command" line in cron-job editor. And it became one line finally. If it SO important - dose it mean that UNA installation and cPanel cron-job editor are working on different protocols?
2. Can't locate (/usr/bin/php) on my server (cPanel File menager). (/home/myserver/mysite.com/periodic/cron.php) -is correct.
3. There is only one user on the server' for files, for administration, for DB.
Once more - I've installed UNA CORRECT as described in installation, and i wonder why this can be a problem.
What next?
-
-
·
Alex T⚜️
- ·
1. Then insert only one line, the one which starts with * * * *
2. Please ask your hosting provider support to provide path to php binary
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
There is no possibility to enter the line starts with "*****"
see proof pic
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
2. My host supporter says that correct path is /usr/bin/LOCAL/php
it changed in cronjob file, no affect, still no update
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
UPDATED!!!!
as my hoster says:
1. correct path is /usr/local/bin/php
2. no need in "MAILTO" AND "*****" in line
-
- · vavilon
- ·
Upgrade strikes back:
- now once again unable to upgrade - to RC6.
- needless to say that from RC3 to RC4 site was updated after cron fixing (so cron can't be the reason
- can't choose both "enable auto-update" and "force auto-update even..." - site saves it, but after trying to update brings back "force" unchecked.
-
-
·
Alex T⚜️
- ·
Could you please describe in more details on which step upgrade failed ?
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
--------- 2018-02-09T03:01:02+00:00
9.0.0.RC5-9.0.0.RC6 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 executedIt's says that site will be updated with a minute, and nothing changes.
-
-
·
Alex T⚜️
- ·
This log shows that 9.0.0.RC5-9.0.0.RC6 updates was successfully applied.
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
But it does not. Still can see update anouncement and can't update apps due to "old" version. Yes, casche was cleaned. Many times.
-
-
·
Alex T⚜️
- ·
It maybe you are trying to check log files from another site ? please make sure that the log file belongs to the site you are checking.
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
This is the only site i have in una for now.
it was another site, test one, auto-updated to RC6. now it's deleted, with its cron and DB as well. but still can't upgrade.
On my site update log says :
--------- 2017-12-26T12:03:14+00:00
9.0.0.RC3-9.0.0.RC4 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 -
-
·
Alex T⚜️
- ·
If there is nothing about this update in the log, then Cron isn't setup properly.
What is in Studio > Dashboard > Host tools > Server audit > Last Cron execution time
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
Cron was stetted up well after conversation with you here and worked ok in RC4 update, look up :))
- Last cron jobs execution - 12 Feb 2018 10:51:01 am
Last try was just a cpl of minutes before this very comment
-
-
·
Alex T⚜️
- ·
Please could you send access to your Studio and your site cPanel to investigate this problem ?
-
·
Alex T⚜️
-
- · vavilon
-
·
In reply to Alex T⚜️
- ·
in PM, within 4 hrs from now. thanx, Alex
-
-
- · vavilon
- ·
Hi guys:)
in administrative mail there is repeated message about updating problem:
The following files can't be written:
/home/myuser/mysite.com/modules/base/general/classes/BxBaseModGeneralMenuSnippetMeta.php, /home/myuser/mysite.com/modules/base/groups/classes/BxBaseModGroupsMenuSnippetMeta.php.Both files have 0644 permissions. What are my next steps? thanx in advance:)
-
-
·
Alex T⚜️
- ·
Cron must be run under the same user which owns UNA files.
You need to make sure that user which runs cron can write to these files.
-
·
Alex T⚜️