- Server operating system version
- debian 12
- Plesk version and microupdate number
- 18.0.61
Hi,
my root server with Ubuntu 20.04. crashed this weekend and I had to move to another server where I installed Debian 12.
Luckily I have a backup ... so I thought. I tried for many hours now but I can't make it work.
First of all: How do I get my User on the linux system? I always logged in to console with ssh [email protected] and used sudo if necessary.
I ask because the permission of the files seem to be messed up and when I try to fix them once the ownership got messed up too.
But now the output of the restoring:
I had some tries were the domains didn't even show up in ui but this time it did but without showing used space
![1716554831569.png 1716554831569.png](https://talk.plesk.com/data/attachments/25/25008-d8d1cb7f8fbf51ef84976adf8edb7ace.jpg)
even though the files are there.
![1716554862217.png 1716554862217.png](https://talk.plesk.com/data/attachments/25/25009-5311bcb270eb38beaec7809930d73470.jpg)
my root server with Ubuntu 20.04. crashed this weekend and I had to move to another server where I installed Debian 12.
Luckily I have a backup ... so I thought. I tried for many hours now but I can't make it work.
First of all: How do I get my User on the linux system? I always logged in to console with ssh [email protected] and used sudo if necessary.
I ask because the permission of the files seem to be messed up and when I try to fix them once the ownership got messed up too.
But now the output of the restoring:
XML:
<?xml version="1.0" encoding="UTF-8"?>
<restore status="warnings" log-location="/opt/psa/PMM/rsessions/20240523091636313/restore-result.xml" custom-log-dir="/var/log/plesk/PMM/restore-2024-05-23-09-12-49-102">
<conflict-resolve status="warnings">
<message severity="warning" code="resolver">
<description>The component AntiVirus is not installed. It will be unavailable for the following objects: admin, proton, sarah, ebay, info, rivaan</description>
</message>
</conflict-resolve>
<deploy status="warnings">
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
<object type="Restore server" name="">
<object type="Restore domain" name="mydomain.com">
<message severity="warning" code="ExecCmd::ExFailed">
<description>Execution of /opt/psa/admin/sbin/httpdmng --reconfigure-domains home.mydomain.com,mydomain.com,next.mydomain.com,nextcloud.mydomain.com,openhab.mydomain.com -skip-broken failed with return code 1.
Stderr is
[2024-05-23 09:43:46.836] 791672:664ef3af866b0 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:43:47.913] 791672:664ef3af866b0 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:43:47.918] 791672:664ef3af866b0 ERR [panel] Apache config (17164502230.63566200) generation failed: Template_Exception: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
Last error is
Resource temporarily unavailable
</description>
</message>
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
<object type="Restore domain" name="nextcloud.mydomain.com">
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
</object>
<object type="Restore domain" name="home.mydomain.com">
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
</object>
<object type="Restore domain" name="openhab.mydomain.com">
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
</object>
<object type="Restore domain" name="next.mydomain.com">
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
</object>
</object>
<object type="Restore domain" name="otherdomain.com">
<message severity="warning" code="ExecCmd::ExFailed">
<description>Execution of /opt/psa/admin/sbin/httpdmng --reconfigure-domains otherdomain.com -skip-broken failed with return code 1.
Stderr is
[2024-05-23 09:46:40.113] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:46:40.313] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:46:40.317] 797233:664ef45dac383 ERR [panel] Apache config (17164503990.95339800) generation failed: Template_Exception: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
[2024-05-23 09:46:40.916] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx_control' '--restart'] with exit code [1]
Can not reload proxy server: /opt/psa/admin/sbin/nginx-config execution failed:
nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
Last error is
Resource temporarily unavailable
</description>
</message>
<message severity="warning" code="">
<description>New configuration files were not created. Error: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
</description>
</message>
<object type="Restore hosting" name="otherdomain.com">
<message severity="warning" code="ExecCmd::ExFailed">
<description>Execution of /opt/psa/admin/sbin/httpdmng --reconfigure-domains otherdomain.com -skip-broken failed with return code 1.
Stderr is
[2024-05-23 09:46:40.113] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:46:40.313] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx-config' '-t'] with exit code [1]
[2024-05-23 09:46:40.317] 797233:664ef45dac383 ERR [panel] Apache config (17164503990.95339800) generation failed: Template_Exception: nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
[2024-05-23 09:46:40.916] 797233:664ef45dac383 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/nginx_control' '--restart'] with exit code [1]
Can not reload proxy server: /opt/psa/admin/sbin/nginx-config execution failed:
nginx: [emerg] unknown directive "passenger_enabled" in /etc/nginx/plesk.conf.d/vhosts/openhab.mydomain.com.conf:53
nginx: configuration file /etc/nginx/nginx.conf test failed
Last error is
Resource temporarily unavailable
</description>
</message>
</object>
</object>
<object type="Restore user account" name="[email protected]">
<message severity="warning" code="ExecCmd::ExFailed">
<description>Execution of /opt/psa/admin/plib/api-cli/user.php --update [email protected] -cname proton\ myname -passwd '' -passwd_type sym -status enabled -domain-admin false -email [email protected] -role Admin -im-type 0 -country DE -legacy-user false -for-all-subscriptions -ignore-nonexistent-options failed with return code 500.
Stderr is
Error during user update: User [email protected] does not exist
</description>
</message>
</object>
</object>
</deploy>
</restore>
I had some tries were the domains didn't even show up in ui but this time it did but without showing used space
![1716554831569.png 1716554831569.png](https://talk.plesk.com/data/attachments/25/25008-d8d1cb7f8fbf51ef84976adf8edb7ace.jpg)
even though the files are there.
![1716554862217.png 1716554862217.png](https://talk.plesk.com/data/attachments/25/25009-5311bcb270eb38beaec7809930d73470.jpg)