Open skobkin opened 6 years ago
Restart the webui and your be able to search new torrents don't get pushed to search database until you restart the Web ui
@jackalblood Thanks!
So magneticow does not updates DB state at all? Or how often does it do it?
UPD: May be it can be set up via command line option (which I do not see)?
No I'm afraid the only option I've seen is to kill it and restart it
@jackalblood Also I don't understand why new torrents are showing when search request is blank if it only updates from DB when started?
And second question. Am I right that magneticow
is not communicating with magneticod
directly but uses same SQLite database file to get data from magneticod
? If so then I can write my own web interface which will not have this problems.
@skobkin yes you can write your own interface , I have a php interface i wrote for testing which you can see here https://github.com/donaldsteele/magnetico-php
Nice.
I'll probably write the PHP interface for it too. Bust more likely after at least beta of Go version with MySQL/PostgreSQL support.
Workaround for Linux-based systems: Execute "crontab -e" as the user you're currently logged in as and add this line:
00 /1 systemctl --user restart magneticow Even if you connect while it's restarting, since the restart should go by fast, there's no downtime for the server.
(additionally, you could even do this every minute instead of every hour, but I don't know if this wouldn't trigger unintended side-effects)
I've just set up
magneticod
andmagneticow
but looks like search is not working at all.I can get list of recent torrents using blank search text but if I try to search for anything results will be empty.