Page 1 of 1

Backup error

Posted: Sun Jun 04, 2023 8:43 am
by Phlander
Hi,

My server is not backing up.
I have the following error:

grep: /home/admin/conf/web/sapache2.conf: No such file or directory
Error: can't parse config /home/admin/conf/web/sapache2.conf

What can I do ?

Best Regards,

Re: Backup error

Posted: Sun Jun 04, 2023 11:22 am
by myVesta
is apache installed there?

Re: Backup error

Posted: Sun Jun 04, 2023 11:24 am
by myVesta
try:

Code: Select all

v-rebuild-web-domains admin

Re: Backup error

Posted: Sun Jun 04, 2023 5:37 pm
by Phlander
root@hosting:~# v-rebuild-web-domains admin
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.crt': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.key': No such file or directory
cp: cannot stat '/usr/local/vesta/data/users/admin/ssl/ral.info.ro.pem': No such file or directory
Error: apache2 restart failed
root@hosting:~#

Re: Backup error

Posted: Sun Jun 04, 2023 5:39 pm
by myVesta
run:

Code: Select all

v-install-unsigned-ssl ral.info

Re: Backup error

Posted: Sun Jun 04, 2023 6:10 pm
by Phlander
root@hosting:~# v-install-unsigned-ssl ral.info.ro
Error: apache2 restart failed
root@hosting:~# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-06-04 19:09:33 EEST; 17s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 28724 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Starting The Apache HTTP Server...
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: AH00526: Syntax error on line 26 of /home/admin/conf/web/ral.info.ro.apache2.ssl.conf:
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: SSLCertificateChainFile: file '/home/admin/conf/web/ssl.ral.info.ro.ca' does not exist or is empty
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: Action 'start' failed.
Jun 04 19:09:33 hosting.ral.info.ro apachectl[28724]: The Apache error log may have more information.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: apache2.service: Failed with result 'exit-code'.
Jun 04 19:09:33 hosting.ral.info.ro systemd[1]: Failed to start The Apache HTTP Server.
root@hosting:~#

Re: Backup error

Posted: Sun Jun 04, 2023 6:55 pm
by Phlander
From the Web, I reinstated Lets Encrypt Support for the ral.info.ro domain and now everything is ok.

Re: Backup error

Posted: Sun Jun 04, 2023 8:49 pm
by myVesta
and backup now works?

Re: Backup error

Posted: Sun Jun 04, 2023 9:47 pm
by Phlander
Yes, admin → backup has been completed
admin.2023-06-04_22-46-33.tar