We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Backups for admin user dont work
Backups for admin user dont work
I have local backups enabled and work for all users except admin user which has the largest volume.When i try to start the backup manually i get a
"An existing backup is already running. Please wait for that backup to finish".
This just carries on forever, even if i delete the backup.pipe file contents and try agin still i dont see the backup running for admin user.
also in the backup folder i get a lot of tmp folders generated
drwx------ 5 root root 4.0K Sep 9 07:14 tmp.A3HG5tFlYx
drwx------ 5 root root 4.0K Sep 9 08:05 tmp.dilDOqONgj
drwx------ 5 root root 4.0K Sep 9 08:10 tmp.DztgBINe4K
drwx------ 5 root root 4.0K Sep 9 07:40 tmp.hXH93rcjZI
drwx------ 5 root root 4.0K Sep 9 08:00 tmp.M1Di0bUKic
drwx------ 5 root root 4.0K Sep 9 07:45 tmp.QD8Xc6rnFa
drwx------ 5 root root 4.0K Sep 9 07:10 tmp.RECFnEtaBi
drwx------ 5 root root 4.0K Sep 9 07:55 tmp.THDQT0FKcQ
drwx------ 5 root root 4.0K Sep 9 07:25 tmp.VgtDqjvFF2
drwx------ 5 root root 4.0K Sep 9 07:05 tmp.VuNfX1gmdr
drwx------ 5 root root 4.0K Sep 9 07:30 tmp.y2qxZvdveA
drwx------ 5 root root 4.0K Sep 9 07:35 tmp.yfzXev1HDu
drwx------ 5 root root 4.0K Sep 9 07:50 tmp.yLok5jqTTA
drwx------ 5 root root 4.0K Sep 9 07:15 tmp.YUnrQhVjhy
in /usr/local/vesta/log/backup.log i see the following
Error: can't parse template /usr/local/vesta/data/templates/web/nginx/.stpl
commenting pout the following in bin/v-backup-user seemed to allow me to run backup for user manually
# Backup ssl proxy config
echo -e "$(date "+%F %T") $domain Backup ssl proxy config "
if [ ! -z "$PROXY_SYSTEM" ] && [ "$SSL" = 'yes' ]; then
tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.stpl"
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
get_web_config_lines $tpl_file $conf
sed -n "$top_line,$bottom_line p" $conf > conf/s$PROXY_SYSTEM.conf
fi
Any help would be appriciated
"An existing backup is already running. Please wait for that backup to finish".
This just carries on forever, even if i delete the backup.pipe file contents and try agin still i dont see the backup running for admin user.
also in the backup folder i get a lot of tmp folders generated
drwx------ 5 root root 4.0K Sep 9 07:14 tmp.A3HG5tFlYx
drwx------ 5 root root 4.0K Sep 9 08:05 tmp.dilDOqONgj
drwx------ 5 root root 4.0K Sep 9 08:10 tmp.DztgBINe4K
drwx------ 5 root root 4.0K Sep 9 07:40 tmp.hXH93rcjZI
drwx------ 5 root root 4.0K Sep 9 08:00 tmp.M1Di0bUKic
drwx------ 5 root root 4.0K Sep 9 07:45 tmp.QD8Xc6rnFa
drwx------ 5 root root 4.0K Sep 9 07:10 tmp.RECFnEtaBi
drwx------ 5 root root 4.0K Sep 9 07:55 tmp.THDQT0FKcQ
drwx------ 5 root root 4.0K Sep 9 07:25 tmp.VgtDqjvFF2
drwx------ 5 root root 4.0K Sep 9 07:05 tmp.VuNfX1gmdr
drwx------ 5 root root 4.0K Sep 9 07:30 tmp.y2qxZvdveA
drwx------ 5 root root 4.0K Sep 9 07:35 tmp.yfzXev1HDu
drwx------ 5 root root 4.0K Sep 9 07:50 tmp.yLok5jqTTA
drwx------ 5 root root 4.0K Sep 9 07:15 tmp.YUnrQhVjhy
in /usr/local/vesta/log/backup.log i see the following
Error: can't parse template /usr/local/vesta/data/templates/web/nginx/.stpl
commenting pout the following in bin/v-backup-user seemed to allow me to run backup for user manually
# Backup ssl proxy config
echo -e "$(date "+%F %T") $domain Backup ssl proxy config "
if [ ! -z "$PROXY_SYSTEM" ] && [ "$SSL" = 'yes' ]; then
tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.stpl"
conf="$HOMEDIR/$user/conf/web/s$PROXY_SYSTEM.conf"
get_web_config_lines $tpl_file $conf
sed -n "$top_line,$bottom_line p" $conf > conf/s$PROXY_SYSTEM.conf
fi
Any help would be appriciated