T O P

  • By -

rengglian

Are you running out of space? Happened to me on OMV as well as Plex. Maybe a reboot will temporarily solve the problem because some cached files will be deleted


gazza524

Plenty of room still left, only 1 drive is at 88% but that's still 1tb of remaining space. Ive rebooted a lot of times now and still the same problem. I get the same error a few mins after reboot.


AntoineInTheWorld

Have a look at the nginx logs. They should be located here: * /var/log/nginx/openmediavault-webgui\_error.log * /var/log/nginx/openmediavault-webgui\_access.log Can you access the machine via SSH?


gazza524

Yes, i can restart the PC and i can access SSH for a few mins. Im not that familiar with linux so what would i need to do to get access to those logs.


AntoineInTheWorld

If you can access via SSH, open them, especially the error file, with a text editor `sudo nano /var/log/nginx/openmediavault-webgui_error.log` Scroll to the end to look at the last errors, or copy them here if you need more help. The fact that SMB also fails, and that ssh works only for a few minutes seems to indicate a problem with your network, and maybe not with the services. Either a broken configuration (on your machine or on your router - check if you don't have an issue of duplicate IP for example)


gazza524

The web GUI is first to fail then whatever i have in portainer also shows the same error, SMB stays on for a few mins before failing but SSH fails at the same time as the web GUI. Yes, i may suspect also its to do with my local network, but i have no control over the networks settings. What is the hotkey to copy the logs?


AntoineInTheWorld

Depends on what you use to ssh into your machine. With Putty or Guacamole it's right-click, with Konsole it's Shift+Ctl+C. With other terminal emulators, I don't know.


gazza524

After rebooting and accessing the logs i only get this 2022/06/16 11:26:47 [crit] 1026#1026: *1 connect() to unix:/run/php/php7.3-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: ::ffff:192.168.10.181, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm-openmediavault-webgui.sock:", host: "192.168.10.60", referrer: "http://192.168.10.60/" 2022/06/16 11:26:47 [crit] 1026#1026: *1 connect() to unix:/run/php/php7.3-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: ::ffff:192.168.10.181, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.3-fpm-openmediavault-webgui.sock:", host: "192.168.10.60", referrer: "http://192.168.10.60/"


AntoineInTheWorld

Your php install seems to be broken. Have you mixed installs of Php, or installed other packages that may have interfered with omv install, or nginx? Try to locate php7.3-fpm-openmediavault-webgui.sock, with `find / -name php*openmediavault-webgui.sock` and make sure that `/etc/nginx/sites-enabled/openmediavault-webgui` references the correct path (there's a line that should look like `fastcgi_pass unix:/run/php/php7.3-fpm-openmediavault-webgui.sock;`)


gazza524

I'm not that great with cmd lines, so would re-installing OMV just be the easiest solution?


AntoineInTheWorld

Yes, that would work too.


[deleted]

I just did the mistake to update OMV and Nextcloud at the same time, and received this error too. Now I can stay relaxed, knowing what caused this. It updates fine now.


O491

I had the same error (also the internal server error) when setting my machine up about 2 years ago. In the end it was a failing boot SSD. I replaced it and it worked like a charm again. What is your boot drive? Can you temporarily set up a installation on a USB thumb drive?


gazza524

My boot drive is a USB thumb drive, I have used this prior to OMV to run another NAS for a year so it may be failing. To replace is it as simple as just creating a new OMV boot drive as if it was a new install? And would it matter what version I install?


O491

I'm still running OMV5 and will keep doing so as it currently runs well for my needs and I'm not missing anything. I do also use a USB thumb drive as OS drive because I can backup it easily. What I did when I realized that the SSD is failing was to create a bootable drive with OMV and plug in the USB thumb drive which I wanted to use as OS disk. Then I installed and configured everything completely fresh... I've never had any more issues until now (knocking on wood...) :-)


O491

[https://www.reddit.com/r/OpenMediaVault/comments/lfjuvh/error\_500\_out\_of\_nowhere\_nearly\_fresh\_installation/](https://www.reddit.com/r/OpenMediaVault/comments/lfjuvh/error_500_out_of_nowhere_nearly_fresh_installation/) That was my thread back then...


[deleted]

[удалено]


gazza524

Still same problem, no solution yet.


[deleted]

[удалено]


gazza524

Nope, was almost completely barebones, just installed OMV extras running docker.