I have a NAS DS114 with latest firmware and I use PMS also latest release.
I realize that my NAS wakes up exactly every hour since I started using PLEX.
If I stop the server the sleep mode works correctly, so I’m sure it comes from PLEX.
I tried to deactivate everything I could in the options but it doesn’t change anything.
In the logs I can see this every hour:
[1897448304] DEBUG - [ViewStateSync] Starting
[1897448304] DEBUG - [ViewStateSync] No user tokens found; stopping
I think this is the start of the solution but I don’t know what to do.
Apparently there are other people having the same problem but no one can find a solution.
Can you help me?
Plex has internal tasks which run. Of importance is the tasking to ‘ping’ plex.tv and confirm Remote Access is still working / your WAN IP has not changed.
NAS HDDs are intended to keep running. Wear and tear occurs every time the heads park / retract. There is more damage from thermal changes and park/retract than constant spinning at a stable temperature.
Each HDD typically uses 12 watts of power when spinning idle.
They draw max power at spin-up and head loading.
NAS systems stage HDD spin up because of the power supply size for this reason.
The NAS is not easily accessible, it must wake up on its own.
Anyway, I don’t have any problems with the NAS, the problem is PLEX which wakes up the NAS every hour.
Plex can’t change because what you want is part of the fundamental design.
What I can suggest, which works with both my Synology and QNAP nas systems as well as all those in our HQ Lab – Wake-On-LAN (WOL)
I have two machines which go into full standby . They wake when I ping them.
I also have the Syno’s wake up for backup.
Here’s the on-demand script I use for WOL
root@glockner:/home/chuck/bin# cat WakeSyno
#!/bin/bash
echo 'Waking up Moesern'
wakeonlan 00:11:32:35:B7:4F >& /dev/null
sleep 3
wakeonlan 00:11:32:35:B7:4F >& /dev/null
# Now wait until date returns a value and error code is zero
Waiting=1
while [ $Waiting -gt 0 ]; do
Date="$(ssh admin@moesern date 2> /dev/null)"
if [ "$Date" != "" ] ; then
Waiting=0
echo "Moesern is awake"
else
# Sleep a little while longer
sleep 30
fi
done
# Wait 3 minutes for all services to start
sleep 180
# All done
root@glockner:/home/chuck/bin#