Backup error

Post Reply
User avatar
Phlander
Posts: 9
Joined: Sat Apr 01, 2023 11:34 am

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,
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

is apache installed there?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

try:

Code: Select all

v-rebuild-web-domains admin
User avatar
Phlander
Posts: 9
Joined: Sat Apr 01, 2023 11:34 am

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:~#
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

run:

Code: Select all

v-install-unsigned-ssl ral.info
User avatar
Phlander
Posts: 9
Joined: Sat Apr 01, 2023 11:34 am

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:~#
User avatar
Phlander
Posts: 9
Joined: Sat Apr 01, 2023 11:34 am

From the Web, I reinstated Lets Encrypt Support for the ral.info.ro domain and now everything is ok.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

and backup now works?
User avatar
Phlander
Posts: 9
Joined: Sat Apr 01, 2023 11:34 am

Yes, admin → backup has been completed
admin.2023-06-04_22-46-33.tar
Post Reply