You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A recent update on a server that uses this role led to the following cron errors:
/etc/cron.daily/logrotate:
error: Ignoring osad because of bad file mode - must be 0644 or 0444.
/etc/cron.daily/mysql-backup:
/usr/bin/mysqldump: Can't create/write to file '/xxx-Wed.mysqldump.tmp' (Errcode: 2 "No such file or directory")
stat: cannot stat ‘xxx-Wed.mysqldump.tmp’: No such file or directory
/etc/cron.daily/mysql-backup: line 8: [: -lt: unary operator expected
mv: cannot stat ‘xxx-Wed.mysqldump.tmp’: No such file or directory
change the permissions on /etc/cron.daily/mysql-backup
Add set -eu to the script
The text was updated successfully, but these errors were encountered:
A recent update on a server that uses this role led to the following cron errors:
/etc/cron.daily/mysql-backup
set -eu
to the scriptThe text was updated successfully, but these errors were encountered: