Cron errors since latest CyberPanel update

Hi All,

Just curious if anyone else has been getting these errors on 1.8 build 2?
Have a site still on 1.8 build 1 and do not have these issues

Apr 12 11:26:00 : cyberpanel : user NOT in sudoers ; TTY=unknown ; PWD=/usr/local/CyberCP/CyberCP ; USER=root ; COMMAND=/bin/chown -R cyberpanel:cyberpanel /home/cyberpanel

/usr/local/CyberCP/plogical/upgradeCritical.py
/bin/bash: /usr/local/CyberCP/plogical/upgradeCritical.py: Permission denied

/usr/local/CyberCP/postfixSenderPolicy/client.py hourlyCleanup
/bin/bash: /usr/local/CyberCP/postfixSenderPolicy/client.py: Permission denied

Anacron job ‘cron.daily’
/etc/cron.daily/logrotate:
a/usr/bin/mysqladmin: connect to server at ‘localhost’ failed
error: ‘Access denied for user ‘root’@‘localhost’ (using password: NO)’
error: error running non-shared postrotate script for /var/lib/mysql/mysqld.log of '/var/lib/mysql/mysqld.log ’

Fresh install yesterday
Centos 7 Latest @ vultr

Hello

Give these file 700. Such as

chmod 700 /usr/local/CyberCP/plogical/upgradeCritical.py

PS. This is fixed in upgrade and installation.

Hi, thanks for the info, will apply the fix manually as I ran the upgrade today and still had same problem. also just fixed the php timezone error noted on update as /var/tmp/ had noexec

This was from a fresh centos 7 install on new vps yesterday at Vultr.
The other 3 vps with no errors had been installed a few months ago, 1 on Vultr and 2 on DigitalOcean

I meant that this is fixed in upgrades and new installation from now onwards. After you have pointed out the issue in this thread. :slight_smile: