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.
[SOLVED] Backups fails on mysql
[SOLVED] Backups fails on mysql
The automatic backups are failing, and keeps trying to create a new backup, causing high server load. I see this in the log:
-- DB --
2017-04-17 00:22:17 admin_foo (mysql)
2017-04-17 00:22:18 admin_bar (mysql)
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
exim: can't get the current working directory: No such file or directory
Error: dump admin_bar failed
(anonymised using 'foo' and 'bar')
I googled the problem and found some answers pointing to viewtopic.php?f=40&t=9694#p34401. But I don't understand how that is supposed to help.
Help is much appreciated.
-- DB --
2017-04-17 00:22:17 admin_foo (mysql)
2017-04-17 00:22:18 admin_bar (mysql)
sh: 0: getcwd() failed: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
sh: 0: getcwd() failed: No such file or directory
exim: can't get the current working directory: No such file or directory
Error: dump admin_bar failed
(anonymised using 'foo' and 'bar')
I googled the problem and found some answers pointing to viewtopic.php?f=40&t=9694#p34401. But I don't understand how that is supposed to help.
Help is much appreciated.
Last edited by aximus on Sat Apr 22, 2017 7:12 am, edited 1 time in total.
Re: Backups fails on mysql
This is the environment variables which help with paths to executable files
Re: Backups fails on mysql
Solved the problem:
The mysql backup failed for `admin_bar`. In order to fix it, I logged in to phpmyadmin and noticed something was wrong in the `admin_bar` database. After repairing all tables (and in my case, dropping one weird table), all was good.
The mysql backup failed for `admin_bar`. In order to fix it, I logged in to phpmyadmin and noticed something was wrong in the `admin_bar` database. After repairing all tables (and in my case, dropping one weird table), all was good.
Re: [SOLVED] Backups fails on mysql
Nice catch, aximus
Thanks for your report.
Thanks for your report.