Post Reply 
Auto Rescan package for Synology users (formerly known as Auto Restart package)
11-08-2013, 14:58
Post: #61
RE: Auto Restart package for Synology users
The Auto restart package detects folder\file changes properly but never restarts. It says after each change detected; " Awaiting 5 seconds timeout to restart. MinimServer seems not to be running. MinimServer status could not be retrieved. Do nothing.

I am running on a Synology DS411+. DSM version 4.2-3211

I have attached the log file.

Thanks


Attached File(s)
.zip  restart.zip (Size: 33.2 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
11-08-2013, 19:14 (This post was last modified: 11-08-2013 19:26 by winxi.)
Post: #62
RE: Auto Restart package for Synology users
(11-08-2013 14:58)pdf1964 Wrote:  The Auto restart package detects folder\file changes properly but never restarts. It says after each change detected; " Awaiting 5 seconds timeout to restart. MinimServer seems not to be running. MinimServer status could not be retrieved. Do nothing.

Hi, thanks for the report! Please confirm the following points:

1) Are you running the latest Version of MinimServer (0.72)?
2) Does the problem persist when you manually restart MinimServer and the Auto Restart package in the Synology package center?
3) Do you have MinimServer and/or the Auto Restart package installed on another volume than volume1 (which is the default)?

Edit: Please also confirm whether you did install Java using the official Synolgy package 'Java Manager'.
Find all posts by this user
Quote this message in a reply
11-08-2013, 20:17
Post: #63
RE: Auto Restart package for Synology users
(11-08-2013 14:58)pdf1964 Wrote:  The Auto restart package detects folder\file changes properly but never restarts. It says after each change detected; " Awaiting 5 seconds timeout to restart. MinimServer seems not to be running. MinimServer status could not be retrieved. Do nothing.

I am running on a Synology DS411+. DSM version 4.2-3211

I have attached the log file.

Thanks

I've produce a test package to fix a bug which may cause your specific problem when using MinimServer in combination with the Synology 'Java Manager'.
Please download 0.4a from this post and report back how it works. Thanks!


Attached File(s)
.spk  AutoRestart-0.4a.spk (Size: 56 KB / Downloads: 8)
Find all posts by this user
Quote this message in a reply
13-08-2013, 01:47
Post: #64
RE: Auto Restart package for Synology users
(11-08-2013 19:14)winxi Wrote:  
(11-08-2013 14:58)pdf1964 Wrote:  The Auto restart package detects folder\file changes properly but never restarts. It says after each change detected; " Awaiting 5 seconds timeout to restart. MinimServer seems not to be running. MinimServer status could not be retrieved. Do nothing.

Hi, thanks for the report! Please confirm the following points:

1) Are you running the latest Version of MinimServer (0.72)?
2) Does the problem persist when you manually restart MinimServer and the Auto Restart package in the Synology package center?
3) Do you have MinimServer and/or the Auto Restart package installed on another volume than volume1 (which is the default)?

Edit: Please also confirm whether you did install Java using the official Synolgy package 'Java Manager'.

1) Yes, version 0.72
2) Yes
3) Both are installed on Volume one. My NAS has a single volume

Yes, I used the Synology Java package
Find all posts by this user
Quote this message in a reply
13-08-2013, 01:49
Post: #65
RE: Auto Restart package for Synology users
(11-08-2013 20:17)winxi Wrote:  
(11-08-2013 14:58)pdf1964 Wrote:  The Auto restart package detects folder\file changes properly but never restarts. It says after each change detected; " Awaiting 5 seconds timeout to restart. MinimServer seems not to be running. MinimServer status could not be retrieved. Do nothing.

I am running on a Synology DS411+. DSM version 4.2-3211

I have attached the log file.

Thanks

I've produce a test package to fix a bug which may cause your specific problem when using MinimServer in combination with the Synology 'Java Manager'.
Please download 0.4a from this post and report back how it works. Thanks!

Version 0.4a works perfectly. Thank you for the quick reply and fix!

Paul
Find all posts by this user
Quote this message in a reply
13-08-2013, 19:18 (This post was last modified: 13-08-2013 19:22 by winxi.)
Post: #66
RE: Auto Restart package for Synology users
(13-08-2013 01:49)pdf1964 Wrote:  Version 0.4a works perfectly. Thank you for the quick reply and fix!

Thanks for your feedback! I've updated the first post with the Auto Restart package v0.5.
Find all posts by this user
Quote this message in a reply
05-09-2013, 22:36
Post: #67
RE: Auto Restart package for Synology users
Hey Winxi :-)
It is me again...
and I have to bother you with another problem I have since i finally upgraded to DSM 4.3.
As soon as I listen to a mp3 track which is in the minimserver database minimwatch tells me that minimserver is being restartet.
This happens always when I listen to a track without changing any names or so.
Im using your newest 0.5 version with newest minimserver version.
I tried with different versions with no luck...
Maybe you can help me out again :-)
Find all posts by this user
Quote this message in a reply
05-09-2013, 22:55
Post: #68
RE: Auto Restart package for Synology users
(05-09-2013 22:36)alegend Wrote:  Hey Winxi :-)
It is me again...
and I have to bother you with another problem I have since i finally upgraded to DSM 4.3.
As soon as I listen to a mp3 track which is in the minimserver database minimwatch tells me that minimserver is being restartet.
This happens always when I listen to a track without changing any names or so.
Im using your newest 0.5 version with newest minimserver version.
I tried with different versions with no luck...
Maybe you can help me out again :-)

How do you listen to these tracks and what does the Auto Restart log-file show when MinimServer restarts?
Find all posts by this user
Quote this message in a reply
06-09-2013, 23:34
Post: #69
RE: Auto Restart package for Synology users
Ok here is the log...
Situation was like this:
Startet minimautorestart package and renamed one directory as you can see in the log.
Then i opened one track of Da Youngsta´s album within windows 7 explorer and listened to it.
I could see that when I started to listen to this track the date of the log changed but minimwatch didnt´t tell me that the server started - this took some time! Then it restarted!
Curiously the restart process takes very very long - around 5min.
When I then listen to another track - server restarts again!


Attached File(s)
.zip  restart.zip (Size: 699 bytes / Downloads: 2)
Find all posts by this user
Quote this message in a reply
07-09-2013, 09:00
Post: #70
RE: Auto Restart package for Synology users
(06-09-2013 23:34)alegend Wrote:  Ok here is the log...
Situation was like this:
Startet minimautorestart package and renamed one directory as you can see in the log.
Then i opened one track of Da Youngsta´s album within windows 7 explorer and listened to it.

The log shows that the files Folder-Front.jpg and Folder-Inside.jpg have been written to the directory /volume1/Music/-=OldSkool=-/Da Youngsta's - The Aftermath-1993/
The Auto Restart package detected these file system changes and thus MinimServer has been restarted. These files are probably written by the program you are using to listen to the tracks in Windows 7.

Quote:I could see that when I started to listen to this track the date of the log changed but minimwatch didnt´t tell me that the server started - this took some time! Then it restarted!
Curiously the restart process takes very very long - around 5min.

With your current settings for the Auto Restart package, it will take at least 20 seconds (usually more) from the last file system event to the MinimServer restart. The Auto Restart package should not affect the amount of time which MinimServer needs to restart.

Quote:When I then listen to another track - server restarts again!

You can exclude a few of the most common image file types by setting the inotifyExclude property of the Auto Restart package to

Code:
@eaDir|Thumbs\.db|^.*\.(jpg|JPG|png|PNG|gif|GIF)$

You can change the setting of this property by manually editing the file /homes/minimautorestart/restart.config and restarting the Auto Restart package, please see the first post of this thread.
Another possibility would be to configure the program you are using to play the tracks in Windows 7 such that it doesn't write any file when just playing a track.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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