I'm getting the same problem with a simple backup.sh Script, which I tried to run with the default admin client to backup my website automatically.
So I went through the Cron-Menu in ISPConfig adding a record which contains:
Code:
0 0 * * 0 web5 /var/www/clients/client0/web5/BackupScript.sh
I created previously a shell user for the concerned website, who has "none" for the Chroot Shell option.
When I looked into /var/log/ispconfig/cron.log, there was no output and some errors are shown:
Code:
/usr/local/ispconfig/server/scripts/create_jailkit_chroot.sh: line 24: jk_init: command not found
mkdir: cannot create directory `/var/www/clients/client0/web5/var': File exists
mkdir: cannot create directory `/var/www/clients/client0/web5/var/run': File exists
mkdir: cannot create directory `/var/www/clients/client0/web5/var/run/mysqld': File exists
ln: creating hard link `/var/www/clients/client0/web5/var/run/mysqld/mysqld.sock': File exists
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_programs.sh: line 20: jk_cp: command not found
/usr/local/ispconfig/server/scripts/create_jailkit_user.sh: line 25: jk_jailuser: command not found
usermod: no changes
When I run manually the script with the user "web5", everything works out of the box.
So what's missing?
Recent comments
4 hours 46 min ago
14 hours 14 min ago
15 hours 3 min ago
18 hours 36 min ago
23 hours 53 sec ago
23 hours 22 min ago
1 day 1 hour ago
1 day 11 hours ago
1 day 16 hours ago
1 day 17 hours ago