Deleted /var/log

Hi!
I have completely deleted the /var/log folder. As a result, hestia does not work for me, it does not turn on.
Can I somehow fix this error that I made?

[email protected]:~# systemctl status hestia.service
● hestia.service - LSB: starts the hestia control panel
     Loaded: loaded (/etc/init.d/hestia; generated)
     Active: failed (Result: exit-code) since Tue 2022-04-19 14:30:24 CEST; 8min ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2267 ExecStart=/etc/init.d/hestia start (code=exited, status=1/FAILURE)

Apr 19 14:30:24 xxx  systemd[1]: Starting LSB: starts the hestia control panel...
Apr 19 14:30:24 xxx  hestia[2267]:  * Starting hestia-nginx hestia-nginx
Apr 19 14:30:24 xxx  hestia[2271]: nginx: [emerg] open() "/var/log/hestia/nginx-error.log" failed (2: No such file or directory)
Apr 19 14:30:24 xxx  systemd[1]: hestia.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 14:30:24 xxx systemd[1]: hestia.service: Failed with result 'exit-code'.
Apr 19 14:30:24 xxx  systemd[1]: Failed to start LSB: starts the hestia control panel.

Recreate

/var/log/
/var/log/hestia
And so on…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.