Hi, I’m on latest Dietpi version on an Odroid HC4, and this morning without touching anythin, transmission stop working.
I try restarting the service, reboot, and the latest, reinstalling transmission, but nothing, I can`t start the services.
This is the output of journal:
root@DietPi:~# journalctl -u transmission-daemon
-- Journal begins at Tue 2022-12-27 15:07:38 CET, ends at Tue 2022-12-27 15:48:1
4 CET. --
Dec 27 15:07:51 DietPi systemd[1]: Starting Transmission BitTorrent Daemon...
Dec 27 15:09:51 DietPi systemd[1]: transmission-daemon.service: start operation timed out. Terminating.
Dec 27 15:11:21 DietPi systemd[1]: transmission-daemon.service: State 'stop-sigterm' timed out. Killing.
Dec 27 15:11:21 DietPi systemd[1]: transmission-daemon.service: Killing process 1445 (transmission-da) with signal SIGKILL.
Dec 27 15:11:21 DietPi systemd[1]: transmission-daemon.service: Killing process 1453 (transmission-da) with signal SIGKILL.
Dec 27 15:11:21 DietPi systemd[1]: transmission-daemon.service: Main process exited, code=killed, status=9/KILL
Dec 27 15:11:21 DietPi systemd[1]: transmission-daemon.service: Failed with result 'timeout'.
Dec 27 15:11:21 DietPi systemd[1]: Failed to start Transmission BitTorrent Daemon.
Dec 27 22:48:31 DietPi systemd[1]: Starting Transmission BitTorrent Daemon...
Dec 27 22:50:01 DietPi systemd[1]: transmiss
ion-daemon.service: start operation timed out. Terminating.
Dec 27 22:51:32 DietPi systemd[1]: transmiss
ion-daemon.service: State 'stop-sigterm' timed out. Killing.
Dec 27 22:51:32 DietPi systemd[1]: transmission-daemon.s
ervice: Killing process 37390 (transmission-da) with signal SIGKILL.
Dec 27 22:51:32 DietPi systemd[1]: transmission-daemon.s
ervice: Killing process 37394 (transmission-da) with signal SIGKILL.
Dec 27 22:51:32 DietPi systemd[1]: transmission-daemon.s
ervice: Killing process 37397 (transmission-da) with signal SIGKILL.
Dec 27 22:51:32 DietPi systemd[1]: transmiss
ion-daemon.service: Main process exited, code=killed, status=9/KILL
Dec 27 22:51:32 DietPi systemd[1]: transmiss
ion-daemon.service: Failed with result 'timeout'.
Dec 27 22:51:32 DietPi systemd[1]: Failed to start Trans
mission BitTorrent Daemon.
Then I have to kill both process with sigkill, because stopping the services doesn’t do anything.
the timeout was there all the time. Issue is transmission process not starting, resulting in a timeout within the systemd process. Already happend today afternoon
That’s correct. Stopping a service will have no effect if a process was started on command line manually. Usually, you could stop it by hitting crtl+c on the session you started the process on.
Ok, now I got working the command you post it earlier:
root@DietPi:~# sudo -u root transmission-daemon -f --log-error
[2022-12-27 23:07:29.091] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:97)
[2022-12-27 23:07:29.092] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:105)
I saw a post https://bbs.archlinux.org/viewtopic.php?id=248924 talking about almost the same, and a user says something about an stale process, and I got one, always changing pid, and I can’t kill it.
This I got on my test as well and transmission was accessible afterwards.
But you already rebooted the system. This should have cleaned all stale processes. Can you try to start transmission manually. Is it available afterwards?
403: Forbidden
Unauthorized IP Address.
Either disable the IP address whitelist or add your address to it.
If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.
If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
I discover that I have this folder on /root, /root/.config/transmission-daemon/settings.json with what it appears as a default config file, it doesn’t have my settings, but if I try to put for example my port for transmission, and restart the process, it says an error, that “that port is already in use” is another installation of transmission running?
That change just makes systemd recording a success when the process has just been started, instead of waiting for it to send a notification when it reached a certain startup stage. So it doesn’t fix but only masks the problem in systemd status, while obviously startup still hangs at some point before the web UI is accessible.
It didn’t start from console as debian-transmission user either, right? Probably we can get some more logs:
If I uninstall it and reinstall could be an option? or restore a backup I have from 10 days ago.
EDIT: Maybe can be some permissions with user debian-transmission? Because running: sudo -u root transmission-daemon -f --log-error is the only way it starts.
I don’t know why I did it, but I move rootfs back to the SD from the ssh, and now that command lists all my active torrents, and it seems I can access web ui from the Odroid, but from another pc of the local network of my home, it says the 403 forbidden, is it very strange…
The only thing I can read from the long list is:
RPC Server Unable to bind to 0.0.0.0:9091, retrying in 20 seconds