Post Reply 
Content loss after power cut
16-11-2019, 15:27
Post: #7
RE: Content loss after power cut
(16-11-2019 15:05)simoncn Wrote:  This should be fine. The library files should all be in the path /mnt/netmusic/.... and the cache file should contain entries for this path. If you have startupScan set to false, MinimServer should load the library file information from the cache file when you restart the Pi3 after the power cut and should not attempt to scan the library files. You would see the "modified or deleted" message for any files that were loaded from the cache and don't match the real files on the network mount.

You might have problems (for example, seeing folder view only) if you have startupScan set to true and the /mnt/netmusic directory is not available at the time that MinimServer starts. You can use the delayStart setting to ensure that MinimServer doesn't start scanning until the network mount is available.

As the above doesn't explain what you are seeing, in order to investigate this further I would need to see a debug log from the failed startup after a power cut. Please set the logging level to debug and run with this until the next power cut. After the failed restart, please make a copy of the minimserver.log file and inform me by PM or a post here. I will send you instructions for getting the minimserver.log file to me so that I can look at it.

I think you might be right with the delay between the server re-starting and the Pi restarting. What do I enter in the delayStart to delay for a few minutes?
I have set startupScan to false

I run an auto mount
sudo nano /etc/fstab
//192.168.0.nnn/Music /mnt/netmusic cifs username=x,password=y 0 0

and a 20 second delay
sudo crontab -e
@reboot (sleep 20;/bin/mount -a)&

Or is this doubling up?

I have set logging level to debug and can provoke a power cut
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Content loss after power cut - Alan Robinson - 16-11-2019 15:27

Forum Jump:


User(s) browsing this thread: 1 Guest(s)