Post Reply 
Auto Rescan package for Synology users (formerly known as Auto Restart package)
07-01-2013, 08:52
Post: #7
RE: Auto Restart package for Synology users
(06-01-2013 23:23)alegend Wrote:  Sab moves files to a public available music dir with full access for the minimserver user. So i dont understand why it says permission denied....

I'm not sure yet under which circumstances inotifywait throws a permission denied error. I will try to reproduce this the next days.

Quote:I recognized that I have to refresh the dir. but i know it hasnt been restartet because my UPNP client (bubble upnp on android) doesnt show the new files.


when i copy a mp3 file into another dir the restart log shows this:

/volume1/Music/==-2012-==/-=New=-/ CLOSE_WRITE,CLOSE 06 Freak.mp3
Resetting 20 seconds timeout to restart...
/volume1/Music/==-2012-==/-=New=-/ CLOSE_WRITE,CLOSE 06 Freak.mp3
/volume1/Music/==-2012-==/-=New=-/ CLOSE_WRITE,CLOSE 06 Freak.mp3
/volume1/Music/==-2012-==/-=New=-/ CLOSE_WRITE,CLOSE 06 Freak.mp3


but the files doesnot show up on my upnp client

Please answer the following questions:
1) Which Synology DS model do you use and which version of DSM does it run?
2) How large is your music library? More specifically: how many files and directories does it contain?
3) When you did copy this mp3 file, how did you do that? Are you on a Windows machine?

I own a Synology DS211 and I have extensively tested the Auto restart package. However, the Minimserver status retrieving method may not be as robust as I thought. To help me sorting out this issue, please do the following:

1) Create a test directory (e.g. /volume1/Music/test) and put just one file into it.
2) Set the MinimServer contentDir property to this directory.
3) Stop MinimServer, the Auto Restart package and SABnzbd using the Synology package center. Reboot your NAS.
4) Start MinimServer and the Auto Restart package. Wait a few seconds.
5) Manually copy one file into the test directory and wait at least 2 minutes.
6) Post the full file restart.log (located in /homes/minimserver/autorestart) and the full file minimserver.log (located in /homes/minimserver/appData) here as an attachment.

Additionally, if you are familiar with it

7) Logon to your DS via SSH as root. Type
Code:
echo restart > /volume1/@tmp/minimstdinpipe
and see if MinimServer restarts.

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Auto Restart package for Synology users - winxi - 07-01-2013 08:52

Forum Jump:


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