MinimServer Forum
MinimServer stuck at restarting - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: MinimServer stuck at restarting (/showthread.php?tid=3588)



MinimServer stuck at restarting - jacobacci - 20-09-2016 10:24

I installed MinimServer on a Synology DS411+ii. First installed Java 8. The installation did not report any problems. Setting up the contentDir worked fine.
Then I installed MinimWatch on my PC, and started rescan. Since then MinimWatch is yellow and shows "Starting MinimServer" in the mouse over.
The log reads as follows:

Error: java.nio.channels.ClosedByInterruptException at offset 0 in file 2a 44.1/Anda, Geza/Schumann, Robert - Etudes Symphoniques, Carnaval, Kreisleriana/33-etudes Symphoniques, Op13 - etude 9 (Presto possibile).flac (length 6322904)
stopping MinimServer[DS411PlusII]
MinimServer[DS411PlusII] is stopped
Language setting is 'enu'
Current time is Tue Sep 20 11:16:15 CEST 2016 in time zone Europe/Amsterdam
starting MinimServer[DS411PlusII]

UPDATE: MinimServer has since turned green and all seems to be well


RE: MinimServer stuck at restarting - simoncn - 20-09-2016 13:53

I think the message means that you restarted MinimServer while it was scanning your library. The initial scan takes a long time because it is building the MinimServer cache.


RE: MinimServer stuck at restarting - jacobacci - 20-09-2016 14:18

(20-09-2016 13:53)simoncn Wrote:  I think the message means that you restarted MinimServer while it was scanning your library. The initial scan takes a long time because it is building the MinimServer cache.

That's probably what it was. The java line in the log threw me ....
Smile


RE: MinimServer stuck at restarting - simoncn - 20-09-2016 16:04

I understand that users might be surprised/alarmed by this message. In the next update, the message won't appear unless debug logging is enabled.


RE: MinimServer stuck at restarting - jacobacci - 20-09-2016 16:49

Thanks Simon, that would help.
Could the mouse over also be adapted to something like "initial scan in progress"?


RE: MinimServer stuck at restarting - simoncn - 20-09-2016 19:37

(20-09-2016 16:49)jacobacci Wrote:  Thanks Simon, that would help.
Could the mouse over also be adapted to something like "initial scan in progress"?

This isn't quite as simple as it sounds. The long delay is caused by a full scan (i.e., not using the cache) and this can occur on a rescan as well as on the initial scan. Also, if there are multiple content directories, it is possible for some of these to require a full scan while others don't. I will add this to the list of requested enhancements and think about how it might be implemented.


RE: MinimServer stuck at restarting - jacobacci - 08-10-2016 12:17

just noticed that the "starting MinimServer" mouse over bubble also appears when I initiate a rescan (instead of a "scanning" bubble.


RE: MinimServer stuck at restarting - simoncn - 08-10-2016 12:40

(08-10-2016 12:17)jacobacci Wrote:  just noticed that the "starting MinimServer" mouse over bubble also appears when I initiate a rescan (instead of a "scanning" bubble.

This is because the rescan process currently also requires a restart.


RE: MinimServer stuck at restarting - jacobacci - 08-10-2016 12:42

(08-10-2016 12:40)simoncn Wrote:  
(08-10-2016 12:17)jacobacci Wrote:  just noticed that the "starting MinimServer" mouse over bubble also appears when I initiate a rescan (instead of a "scanning" bubble.

This is because the rescan process currently also requires a restart.

Aha, got it .....