Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Error updating system queue - Disk
Error updating system queue - Disk
Hello,
Posted on Github but nothing has been said.
Everytime cron runs
I get an email with error codes, same as when I run it manually via SSH.
I've checked the main.sh file (lines below are 483-487, bold is 485)
Cannot update disk usage because of this error, any help appreciated.
Posted on Github but nothing has been said.
Everytime cron runs
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue disk
Code: Select all
sudo /usr/local/vesta/bin/v-update-sys-queue disk
sed: -e expression #1, char 3: unknown command: `
'
sed: -e expression #1, char 3: unknown command: `
'
/usr/local/vesta/func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta/func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
/usr/local/vesta/func/main.sh: line 485: 1
1: syntax error in expression (error token is "1")
Code: Select all
fi
usage=$(grep "U_DISK_DIRS='" $USER_DATA/user.conf | cut -f 2 -d \')
[b]u_usage=$((u_usage + usage))[/b]
old=$(grep "U_DISK='" $USER_DATA/user.conf | cut -f 2 -d \')
sed -i "s/U_DISK='$old'/U_DISK='$u_usage'/g" $USER_DATA/user.conf
Re: Error updating system queue - Disk
the same error, how to fix?