Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: nginx Bad Gateway after idle
#19
(11-23-2023, 08:52 AM)demian.smith Wrote: ...

This is a bog standard install, only changed the hostname via gui and set a static IP. I have 38379 tracks, so moode should be able to handle the e collection based on what I read here in the forum.The external disk does pass smartctl, so there's no problem there I believe.

Maybe I have to replace the SD Card?

Well, maybe, and it's easy enough to try another uSD card, but I'm wondering about your external disk and the music library on it. Have you tried your new installation with a smaller collection on, say, a USB memory stick? Does the 502 Bad Gateway problem still occur then?

A fundamental problem for us following your thread is that 1) none of us is a nginx/php expert (so can diagnose from first principles) and 2) none of us has been able to repro the situation based on what you report (so can diagnose based on experiences).

As an aside, I don't see any description in this thread of your physical setup. What is this external disk, how is it powered, and how is it connected (e.g., direct USB, USB hub)? You showed us the output from dh -h but apparently the external disk was not connected and its filesystem mounted. I'm particularly fond of the output from lsblk -f

You say the drive passes smartctl but that's a very low-level tool. What about filesystem-level checks? Also, have you looked at the MPD log to see if certain tracks/directories are giving it problems?

As you can see, I'm just blinding swinging at the piñata here but sometimes even a blind man manages to hit it;-)


Regards,
Kent
Reply


Messages In This Thread
nginx Bad Gateway after idle - by demian.smith - 08-10-2023, 08:53 AM
RE: nginx Bad Gateway after idle - by Tim Curtis - 08-10-2023, 12:55 PM
RE: nginx Bad Gateway after idle - by Tim Curtis - 08-16-2023, 10:42 AM
RE: nginx Bad Gateway after idle - by the_bertrum - 08-16-2023, 03:52 PM
RE: nginx Bad Gateway after idle - by DRONE7 - 08-16-2023, 08:55 PM
RE: nginx Bad Gateway after idle - by the_bertrum - 08-23-2023, 01:24 PM
RE: nginx Bad Gateway after idle - by TheOldPresbyope - 11-25-2023, 04:45 PM
RE: nginx Bad Gateway after idle - by Nutul - 11-23-2023, 10:05 AM
RE: nginx Bad Gateway after idle - by Nutul - 11-23-2023, 06:12 PM
RE: nginx Bad Gateway after idle - by the_bertrum - 11-24-2023, 10:45 AM
RE: nginx Bad Gateway after idle - by fdealexa - 11-25-2023, 12:04 AM
ginx Bad Gateway after idle - by demian.smith - 12-07-2023, 12:32 PM

Forum Jump: