Reply To: Rescanning

#16013
rpedde
Participant

@macpanda wrote:

Hmm – the problem I have with this is that the button isn’t attached to a URL, it runs the following java function…

new Ajax.Request(‘xml-rpc’,{method:’post’,parameters: ‘method=rescan’,onComplete: Updater.rsStartScan});

My attempts to convert this to a URL have lead me to variances of

http://localhost:9999/xlm-rpc&method=rescan

but none of these actually force the server to rescan.

That should be:

http://localhost:9999/xml-rpc?method=rescan

(or, for a full rescan)

http://localhost:9999/xml-rpc?method=rescan&full=1

If you are doing it from a remote system, you may need to use username and password as well:

http://user:password@localhost:9999?xml-rpc?method=rescan

— Ron