Post Reply 
 
Thread Rating:
  • 4 Votes - 3.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto Rescan package for Synology users (formerly known as Auto Restart package)
07-01-2013, 22:00
Post: #11
RE: Auto Restart package for Synology users
(07-01-2013 21:38)alegend Wrote:  Of course I installed the right bootstrap for my syno :_ ) i got a lot of other things running very well....
The installation procedure returned the error "please try again later" or anything like this - "currently not possible....)
so i opened putty and did
ipkg install gcc
ipkg install make
but the curious thing was - after the ipkg installs the package was already there?!?
i didnt reinstall it was in the packages center!

Thanks for the log-files. The restart log-file shows clearly that inotifywait works fine (at least in the case of manually copying a file), but obviously there is a problem with the Auto Restart package retrieving the status from MinimServer.

It would be very interesting now if
Code:
echo restart > /volume/@tmp/minimstdinpipe
from the console works in that it restarts the running MinimServer. Please do this test, too. Thanks!

Quote:ps: are you german?

I'm from Austria, but please keep the public conversation in English so that other users are able to benefit.
Find all posts by this user
Quote this message in a reply
07-01-2013, 22:12
Post: #12
RE: Auto Restart package for Synology users
(07-01-2013 22:00)winxi Wrote:  It would be very interesting now if
Code:
echo restart > /volume/@tmp/minimstdinpipe
from the console works in that it restarts the running MinimServer. Please do this test, too. Thanks!

It should be
Code:
echo restart > /volume1/@tmp/minimstdinpipe
Find all posts by this user
Quote this message in a reply
07-01-2013, 22:14 (This post was last modified: 07-01-2013 22:15 by alegend.)
Post: #13
RE: Auto Restart package for Synology users
echo restart > /volume1/@tmp/minimstdinpipe

now the files is visible! and i see it on my android device!
but the autorestart.log shows nothing new
Find all posts by this user
Quote this message in a reply
07-01-2013, 22:45
Post: #14
RE: Auto Restart package for Synology users
(07-01-2013 22:14)alegend Wrote:  echo restart > /volume1/@tmp/minimstdinpipe

now the files is visible! and i see it on my android device!
but the autorestart.log shows nothing new

Thanks for doing these tests. I think that the problem is due to a race condition which comes into effect with the weak hardware of your NAS.
I will provide you with a test build which attempts to fix this soon.
Find all posts by this user
Quote this message in a reply
07-01-2013, 23:47
Post: #15
RE: Auto Restart package for Synology users
i have to say thx - i appreciate every help I can get!!
a test build would be great !
Find all posts by this user
Quote this message in a reply
07-01-2013, 23:54 (This post was last modified: 08-01-2013 15:49 by winxi.)
Post: #16
RE: Auto Restart package for Synology users
Please try it with the attached package. This is a quick fix and it may not work. If it doesn't work, I will make a redesign of the status request part.
Please do the following:
1) Uninstall the 0.1 Auto Restart package.
2) Reboot your NAS.
3) Install the 0.1a Auto Restart package.
4) Repeat the test with one file in the test directory.

EDIT: Please note that I've updated the first post of this thread. Please download the 0.1b package for your tests from there.
Find all posts by this user
Quote this message in a reply
08-01-2013, 10:16
Post: #17
RE: Auto Restart package for Synology users
(07-01-2013 21:38)alegend Wrote:  Of course I installed the right bootstrap for my syno :_ ) i got a lot of other things running very well....
The installation procedure returned the error "please try again later" or anything like this - "currently not possible....)
so i opened putty and did
ipkg install gcc
ipkg install make
but the curious thing was - after the ipkg installs the package was already there?!?
i didnt reinstall it was in the packages center!

This sounds like you initialized the package installation and then bypassed the DSM lock screen during installation by a browser refresh. The installation would then have been continued in background and a newly initialized installation aborts with an error message like you mentioned. Please note that the installation can take up to a few minutes, especially installing gcc needs some time.
The fact that the package appeared in the package center indicates that your firstly initialized installation succeeded.
Find all posts by this user
Quote this message in a reply
08-01-2013, 22:24 (This post was last modified: 08-01-2013 22:25 by alegend.)
Post: #18
RE: Auto Restart package for Synology users
so...
habe die neue version installiert
Ergebnis gem. log anhängend....

wobei ich es ein paar mal probiert habe nach neustart usw
1mal hat es funktioniert, das habe ich auch gesehen weil minimwatch aus und wieder anging (grün wurde)


Attached File(s)
.zip  restart.zip (Size: 526 bytes / Downloads: 2)
Find all posts by this user
Quote this message in a reply
08-01-2013, 22:32
Post: #19
RE: Auto Restart package for Synology users
(08-01-2013 22:24)alegend Wrote:  so...
habe die neue version installiert
Ergebnis gem. log anhängend....

wobei ich es ein paar mal probiert habe nach neustart usw
1mal hat es funktioniert, das habe ich auch gesehen weil minimwatch aus und wieder anging (grün wurde)

Please translate this into English, so that it can be read by all forum users. Thanks!
Find all posts by this user
Quote this message in a reply
08-01-2013, 22:41
Post: #20
RE: Auto Restart package for Synology users
ooops
i didnt think when i posted this...sorry

you see the log included for details...
still not working.
I tried multiple times and also did some restarts...
one time when i copied a file to the watched dir it worked, i could see this because the minimwatch icon turned bright and green again - indicating minimserver did a restart...
and the file also popped up on my android client..
i dont know whats the problem...
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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