My setup is, that my NAS and my Rapsberry Pi are switched off at night. A script on my NAS calls the URL to shutdown max2play, then the NAS shuts down via job and the power from the Pi is cut via power timer. In the morning the timer supplies the Pi with power again after the NAS has booted via job.
The problem is: In this setup max2play won’t boot reliably. Sometimes max2play and it’s webinterface are just not running in the morning. All i have to do is to unplug and replug the Pi, then max2plax is running.
Any ideas what the reason might be? I already swapped the power timer. Any other ideas how I could debug? Are there any logs?
You can find the logs for all plugins in the debug info window. you can also check the active autostarts of your services and try removing ones you do not need to see if it solves the issue.
I can’t see anything special in the logs. Everything I don’t need is deactivated (what I need NAS is mount and Squeezebox Server). Any other ideas or something I could try? The only idea that comes to my mind is to start over and resetup my card.
Look at the health checker to see if there are any problematic stats.
Also, if you have another SD card, burn a copy of your setup and see if it behaves the same way to rule out the SD card as a source of error. (Is it Class 10 or higher)