Project

General

Profile

Bug #2301

transmission error: "Service Unavailable"

Added by nagybal over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Apps
Target version:
Start date:
01/07/2018
Due date:
% Done:

0%


Description

I have started my HDA without one of the hard disks. The disk is back in my HDA and all the files are there. I can access them fine. The transmission config file seems to be damaged:

[bigb@localhost ~]$ systemctl status amahi-transmission.service
‚óŹ amahi-transmission.service - SYSV: This is a daemon which runs on the server to download torrents
   Loaded: loaded (/etc/rc.d/init.d/amahi-transmission)
   Active: failed (Result: exit-code) since Sun 2018-01-07 21:14:41 CET; 18s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6015 ExecStart=/etc/rc.d/init.d/amahi-transmission start (code=exited, status=1/FAILURE)

Jan 07 21:14:39 localhost.localdomain systemd[1]: Starting SYSV: This is a daemon which runs on the server to download torrents...
Jan 07 21:14:41 localhost.localdomain runuser[6039]: pam_unix(runuser:session): session opened for user transmission by (uid=0)
Jan 07 21:14:41 localhost.localdomain transmission-daemon[6041]: transmission-daemon Error loading config file -- exiting. (daemon.c:693)
Jan 07 21:14:41 localhost.localdomain amahi-transmission[6015]: [49B blob data]
Jan 07 21:14:41 localhost.localdomain systemd[1]: amahi-transmission.service: Control process exited, code=exited status=1
Jan 07 21:14:41 localhost.localdomain systemd[1]: Failed to start SYSV: This is a daemon which runs on the server to download torrents.
Jan 07 21:14:41 localhost.localdomain systemd[1]: amahi-transmission.service: Unit entered failed state.
Jan 07 21:14:41 localhost.localdomain systemd[1]: amahi-transmission.service: Failed with result 'exit-code'.

[bigb@localhost ~]$ apaste --sysinfo

Gathering system info ..............................Uploading (10.8KiB)...
https://da.gd/nNJ7k -> https://paste.fedoraproject.org/paste/9izklL1sSuB69gWXr2v1Gw/

History

#1 Updated by nagybal over 2 years ago

  • Assignee set to cpg

#2 Updated by nagybal over 2 years ago

The /var/lib/transmission/.config/transmission-daemon/settings.json file is emptry. How to recreate it?

#3 Updated by cpg over 2 years ago

  • Status changed from New to Feedback
  • Assignee changed from cpg to nagybal

If it's empty (zero size), maybe try to remove it and see if transmission itself can create a fresh one?

#4 Updated by cpg over 2 years ago

included mine here, in case it helps. I changed the two rpc-password.

it's owned by transmission group transmission and permission 600

{
    "alt-speed-down": 1200,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/var/hda/files/torrents",
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 2,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/var/lib/transmission/Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": true,
    "message-level": 1,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 49400,
    "peer-limit-per-torrent": 4600,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 1,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-host-whitelist": "",
    "rpc-host-whitelist-enabled": true,
    "rpc-password": "{000",
    "rpc-password": "{111",
    "rpc-port": 9091,
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-url": "/transmission/",
    "rpc-username": "",
    "rpc-username": "",
    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist": "127.0.0.1",
    "rpc-whitelist-enabled": true,
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "speed-limit-down": 6150,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 200,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 0,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
}

#5 Updated by nagybal over 2 years ago

  • Status changed from Feedback to Resolved
su
service amahi-transmission stop
rm /var/lib/transmission/.config/transmission-daemon/settings.json
service amahi-transmission start

removing the settings file indeed solved the issue

#6 Updated by bigfoot65 over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom