I’ve been running 7.1.x for quite some time. Today I upgraded production to 7.7.2, and moved from Bitnami on AWS to a VPS/CPanel on InMotionHosting. I’m getting the following error in the logs:
Scheduler cannot write PID file. Please check permissions on cache/modules/Schedulers/lastrun
The permissions on said file are 644. Everytime I change them it fails. I’m wondering if it is something about the logged in user that the cron job is running under? Or possibly this in config.ini:
array (
'dir_mode' => 1533,
'file_mode' => 493,
'user' => '',
'group' => '',
),
Another idea I have is that it might be a problem with the owner/group of the files. I did not change to www-data:www-data, as directed… the default owner/group for files on the server already were a numeric 507:507, and these are the same.
So those are my three ideas, but I don’t know where to go from here. Please suggest/assist.
Another 2 peices of information…
- I noticed that my popup and loading messages just say undefined. I ran across some code that suggested those might access the cache directory as well??? Not sure if this is related.
- In Process Workflow, it does look like the cron job is successfully running, and shows the last run time accurately.
Sincerely,
sieberta