gibxxi wrote:The update works mafredri, but it won't autostart on the new ADM 2.5 Beta. Just a heads-up. Need to stop and restart the service to get it to run.
Does this happen during a reboot as well, or just when you updated the app?
It is currently Sun Jan 17, 2021 11:39 am
All times are UTC + 8 hours
gibxxi wrote:The update works mafredri, but it won't autostart on the new ADM 2.5 Beta. Just a heads-up. Need to stop and restart the service to get it to run.
gibxxi wrote:Definitely a problem with the add-on starting. Upon install it starts fine, but post-reboot on 2.5.0 Beta, nothing. Not using any SSL or anything like that yet. In fact the only change made to the config was changing the admin password. Waited a good 5 minutes before attempting to launch it, after the reboot.
Stopping the add-on via AppCenter and immediately restarting it, it starts straight away. I did notice in the Beta thread, it mentioned that downgrade back to 2.4.2 was not possible due to "file system changes". Is it possible that this is the cause? However Subsonic and NZBGet (the only other add-ons installed thus far) start without issue.
gibxxi wrote:Is there a log I can check to see why it's failing to start?
# ls -1 /volume1/home/admin/.config/deluge/*.log
/volume1/home/admin/.config/deluge/deluge-web.log
/volume1/home/admin/.config/deluge/deluged.log
# grep info /usr/local/AppCentral/deluge/CONTROL/start-stop.sh
DELUGED_LOGLEVEL=info
DELUGE_WEB_LOGLEVEL=info
gibxxi wrote:Also having issues with blocklist download stalling and can't seem to connect via the desktop Deluge app even though remote connections are enabled. worked OK in the previous version. Something pretty strange going on with net connectivity since Asustor started messing with Python.
BTW: The deluged.log file is completely empty. Nothing, no info lines, no errors, nothing. Same goes for the webui log.
start-stop-daemon -S --quiet
start_daemon() {
# Set umask to create files with world r/w
umask 0
start-stop-daemon -S --quiet --pidfile "${DELUGED_PID}" --chuid "${CHUID}" \
--user "${USER}" --exec "${DELUGED}" -- \
--quiet --pidfile "${DELUGED_PID}" --config "${DELUGED_CONF}" \
--logfile "${DELUGED_LOG}" --loglevel "${DELUGED_LOGLEVEL}"
start-stop-daemon -S --quiet --background --pidfile "${DELUGE_WEB_PID}" \
--make-pidfile --chuid "${CHUID}" --user "${USER}" \
--exec "${DELUGE_WEB}" -- \
--quiet --config "${DELUGED_CONF}" --logfile "${DELUGE_WEB_LOG}" \
--loglevel "${DELUGE_WEB_LOGLEVEL}"
}
/volume1/home/admin/.config/deluge
gibxxi wrote:Right. I took a chance and removed the "--quiet" statement for both the daemon (deluged) and the web-ui sections in start-stop.sh. I then rebooted the NAS which necessitated a manual stop/start of the addon as previously reported. I then checked the logs located at:
- Code: Select all
/volume1/home/admin/.config/deluge
Both the files (deluged.log and deluge-web.log) remain empty. File permissions for both are: 666. Folder permissions for the folder they reside in are: 7777. The folder / file structure has not been modified in any way by me. the deluge folder under admin is correctly deleted on an uninstall and correctly recreated on an install.
start-stop-daemon -S --quiet --pidfile "${DELUGED_PID}" --chuid "${CHUID}" \
--user "${USER}" --exec "${DELUGED}" -- \
--pidfile "${DELUGED_PID}" --config "${DELUGED_CONF}" \
--logfile "${DELUGED_LOG}" --loglevel "${DELUGED_LOGLEVEL}"
start-stop-daemon -S --quiet --background --pidfile "${DELUGE_WEB_PID}" \
--make-pidfile --chuid "${CHUID}" --user "${USER}" \
--exec "${DELUGE_WEB}" -- \
--config "${DELUGED_CONF}" --logfile "${DELUGE_WEB_LOG}" \
--loglevel "${DELUGE_WEB_LOGLEVEL}"
/usr/local/AppCentral/deluge/CONTROL/start-stop.sh stop
su - admin
/volume1/.@plugins/AppCentral/deluge/bin/python /usr/local/AppCentral/deluge/bin/deluged --loglevel info -d --pidfile /volume1/home/admin/.config/deluge/deluged.pid --config /volume1/home/admin/.config/deluge
start_daemon() {
# Set umask to create files with world r/w
umask 0
start-stop-daemon -S --pidfile "${DELUGED_PID}" --chuid "${CHUID}" \
--user "${USER}" --exec "${DELUGED}" -- \
--quiet --pidfile "${DELUGED_PID}" --config "${DELUGED_CONF}" \
--logfile "${DELUGED_LOG}" --loglevel "${DELUGED_LOGLEVEL}"
start-stop-daemon -S --background --pidfile "${DELUGE_WEB_PID}" \
--make-pidfile --chuid "${CHUID}" --user "${USER}" \
--exec "${DELUGE_WEB}" -- \
--quiet --config "${DELUGED_CONF}" --logfile "${DELUGE_WEB_LOG}" \
--loglevel "${DELUGE_WEB_LOGLEVEL}"
}
[INFO ] 17:03:39 configmanager:70 Setting config directory to: /volume1/home/admin/.config/deluge
[INFO ] 17:03:41 daemon:124 Deluge daemon 1.3.11
[INFO ] 17:03:41 configmanager:70 Setting config directory to: /volume1/home/admin/.config/deluge
[INFO ] 17:03:41 core:80 Starting libtorrent 1.0.6.0 session..
[INFO ] 17:03:41 rpcserver:367 Starting DelugeRPC server :58846
[WARNING ] 17:03:41 preferencesmanager:497 Unable to find GeoIP database file!
[INFO ] 17:03:41 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO ] 17:03:41 pluginmanagerbase:158 Plugin Execute enabled..
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin Blocklist enabled..
[WARNING ] 17:03:42 core:113 EXTRACTOR: unrar not found, disabling support for .rar
[WARNING ] 17:03:42 core:113 EXTRACTOR: 7zr not found, disabling support for .7z
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin Extractor enabled..
[INFO ] 17:03:42 core:97 *** Start Label plugin ***
[WARNING ] 17:03:42 config:361 Unable to open config file /volume1/home/admin/.config/deluge/label.conf: [Errno 2] No such file or directory: '/volume1/home/admin/.config/deluge/label.conf'
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin Label enabled..
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin Notifications enabled..
[WARNING ] 17:03:42 config:361 Unable to open config file /volume1/home/admin/.config/deluge/web_plugin.conf: [Errno 2] No such file or directory: '/volume1/home/admin/.config/deluge/web_plugin.conf'
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin WebUi enabled..
[INFO ] 17:03:42 pluginmanagerbase:158 Plugin Scheduler enabled..
[WARNING ] 17:03:42 torrentmanager:650 Unable to update state file to a compatible version: list index out of range
[WARNING ] 17:03:42 torrentmanager:753 Unable to load fastresume file: [Errno 2] No such file or directory: '/volume1/home/admin/.config/deluge/state/torrents.fastresume'
Users browsing this forum: No registered users and 1 guest