[12:07:25]
<philientaylor> Bye 😆
[17:47:15]
<miro5001> Un article de juin 2012
https://korben.info/une-distribution-linux-speciale-auto-hebergement.html
[17:49:50]
<Aleks (he/him/il/lui)> can't wait to try it !!
[18:00:52]
<Helix> Hi all, I have some issues with my Yunohost 12 Server. After crash during installation of OnlyOffice Server, I can't access the webadmin UI. Several reboots ddin't help. NGINX failed to start
[emerg] 2152#2152: open() "/etc/nginx/conf.d/ds.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:59
Line 59 include /etc/nginx/conf.d/*.conf;
has someone an Idea what I could do to at least get yunohost back to life?
[18:03:34]
<Helix> ds.conf is there in the directory, but is empty
[22:11:31]
<Paprika> Well, the issue is probably either permissions on the `ds.conf` file or the fact that it is empty. You could consider executing `yunohost app list` and see if OnlyOffice Server is still present. If it is, consider executing `yunohost app remove INSERTAPPNAMEHERE` to delete the application as a last resort. You could consider `yunohost tools regen-conf nginx --force` to recreate nginx configuration if you don't have any modified nginx configs that need to be kept as they are.
If it was caused due to OnlyOffice Server, I would probably just consider removing the app, running `systemctl restart nginx` and checking if you can access the webUI.
[22:30:23]
<Helix> Thanks für your hint.
I've changed to root with sudo su and it is a link and that linked directory doesn't have this ds.conf in it.
root root 44 Feb 17 11:07 ds.conf -> /etc/onlyoffice/documentserver/nginx/ds.conf
The app was still there and removing it failed. At least there were lots of errors, although, it's not listed anymore as installed. Still, nginx won't start because of the missing ds.conf file (even after running dpkg --configure -a . Maybe I should simply create the file and nginx will be happy.
full log https://paste.yunohost.org/raw/eweyohicuv
[Error] dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Warning: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Info: '/etc/nginx/conf.d/office.stargate9.nohost.me.d/onlyoffice.conf' wasn't deleted because it doesn't exist.
Warning: Job for nginx.service failed because the control process exited with error code.
Warning: See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details.
Warning: [Error] Feb 18 17:52:42 systemd[1]: nginx.service: Failed with result 'exit-code'.
Warning: Feb 18 17:52:42 systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
Warning: Feb 18 17:56:54 systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
Warning: Feb 18 17:56:54 nginx[2152]: 2025/02/18 17:56:54 [emerg] 2152#2152: open() "/etc/nginx/conf.d/ds.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:59
Info: WARNING - E: The package onlyoffice-documentserver needs to be reinstalled, but I can't find an archive for it.
Info: DEBUG - + ynh_exit_properly
Warning: Failed to deprovision apt : The operation 'Remove the 'onlyoffice' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250218-221855-app_remove-onlyoffice' to get help
[22:32:12]
<Helix> hm, that directory doesn't exist anymore, after removing the package, so I can't create that file anymore
/etc/onlyoffice/documentserver/nginx
[22:32:14]
<Aleks (he/him/il/lui)> can you check `sudo ls -l /etc/nginx/conf.d/ds.conf` ? sounds like a broken symlink
[22:32:21]
<Helix> I could only delete the ds.conf
[22:32:54]
<Helix> lrwxrwxrwx 1 root root 44 Feb 17 11:07 /etc/nginx/conf.d/ds.conf -> /etc/onlyoffice/documentserver/nginx/ds.conf
[22:33:39]
<Helix> deleting the symlink ds.conf?
[22:34:11]
<Paprika> Yes, as it most likely is trying to load the nginx config in `/etc/onlyoffice/documentserver/nginx/ds.conf`, but since it isn't present, it fails
[22:35:37]
<Helix> hurray 🎉 nginx and I are happy 😃
[22:35:51]
<Helix> Thanks so much both
[22:38:38]
<Helix> still, it strange that the community server app doesn't install properly and not removing properly. I guess I should open an issue for that.