The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
http parameter to trigger rescan?
08-12-2022, 16:13
Post: #1
http parameter to trigger rescan?
Hello. Long term user here. I just upgraded from 0.8 to the 2.x version. Previously on an Asustor NAS that died, and now setting up a new Synology NAS.

My PC runs Ubuntu and has scripts running daily backups to the folder on the NAS that MinimServer scans.

The last command in the backup script includes an http request using curl from my PC to MinimServer on the NAS, that triggered a rescan after the backup completed, so MinimServer picked up any changes in the files on the NAS.

The trigger for the rescan was:

Code:
curl -s --data "sub=Rescan&dir=" http://xxx.xxx.xxx.xxx:9790 > /dev/null

That no longer seems to work on the 2.x version. Is there an equivalent http request for MinimServer 2.x that I can use instead?

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


Messages In This Thread
http parameter to trigger rescan? - el6e7 - 08-12-2022 16:13

Forum Jump:


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