MinimServer Forum
Synology - Rescan with command line - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Synology - Rescan with command line (/showthread.php?tid=3003)



Synology - Rescan with command line - lyapounov - 27-03-2016 08:11

Hello

I must be blind or tired, but I don't figure how I can launch a rescan on my synology using command line ?

I am stuck here : http://minimserver.com/ug-control.html#Controlling%20MinimServer%20using%20console%20commands

If I understand, I have to type
<minimserverdirectory>/minimserver/bin/rescan

But I don't know where is the minimserver directory on my synology ? I could not figure it out.

Thx for help !
Best


RE: Synology - Rescan with command line - simoncn - 27-03-2016 22:12

With the current 0.8.3.4 version of MinimServer, you can do the following:

echo rescan >/volume1/@tmp/minimstdinpipe

This will change in the next MinimServer version.


RE: Synology - Rescan with command line - lyapounov - 28-03-2016 09:57

Thank you Simon !!!

I have appended this to my .sh file which contains all my symbolic links.

BTW I could not reproduce the issue of self looping symbolic links...

Bravo anyway for this beautiful server


RE: Synology - Rescan with command line - lyapounov - 13-04-2016 06:39

Hello Simon

What is the command line in the new version ?

Thank you
Serge


RE: Synology - Rescan with command line - simoncn - 13-04-2016 07:06

(13-04-2016 06:39)lyapounov Wrote:  Hello Simon

What is the command line in the new version ?

Thank you
Serge

I will post this information when the new version is available. Smile


RE: Synology - Rescan with command line - lyapounov - 13-04-2016 13:57

Ah, sorry.

I tought API were published first ;-)

Will wait


RE: Synology - Rescan with command line - simoncn - 13-04-2016 21:11

(13-04-2016 13:57)lyapounov Wrote:  Ah, sorry.

I tought API were published first ;-)

Will wait

No documentation for a new version is published until the new version is available. This is because anything can change at any time until the new version is publicly released.


RE: Synology - Rescan with command line - simoncn - 23-04-2016 21:30

Here is the new scripted rescan command for MinimServer 0.8.4:

echo rescan | /var/packages/MinimServer/target/bin/mscript

You need to have update 82 installed for this to work correctly.


RE: Synology - Rescan with command line - lyapounov - 24-04-2016 18:09

Thank you Simon !
Interestingly, DSM6 did not detect there was an update to minimserver; I was still at 0.8.3.4 and I had to install by hand (maybe I was too fast ?)

Best