LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2020, 06:54 AM   #1
Johantonissen
Member
 
Registered: Dec 2019
Posts: 36

Rep: Reputation: Disabled
Question systemctl transmission-daemon fails to load config file


Hi there,

I'm having problems with my debian transmission web client.
I've checked the systemctl status and i get the following error:

Code:
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2020-03-23 12:21:06 CET; 9min ago
  Process: 9965 ExecStart=/usr/bin/transmission-daemon -f --log-debug --logfile /home/username/Desktop/trans.log (code=exited, status=1/FAILURE)
 Main PID: 9965 (code=exited, status=1/FAILURE)

cat /home/username/Desktop/trans.log 
[2020-03-23 12:21:06.505] transmission-daemon Error loading config file -- exiting. (daemon.c:693)
So apparently my config file is wrong. I've checked the file with the standard features on the github of the daemon but have not found the problem https://github.com/transmission/tran...guration-Files.

I've checked for missing commas, and if requested statements are also complimentary (e.g. when a Boolean is requested that i also give a Boolean and not a string.)

I've also set the settings.json file to 777 to check if maybe the file is not accessible but that did not change anything.

My settings.json file looks like this:
Code:
cat /etc/transmission-daemon/settings.json
{
    "alt-speed-down": 2000,
    "alt-speed-enabled": true,
    "alt-speed-time-begin": 60,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 450,
    "alt-speed-up": 500,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/media/kist/Torrent-Complete",
    "download-limit": 100,
    "download-limit-enabled": true,
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 1,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/media/kist/Torrent-Incomplete",
    "incomplete-dir-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 1,
    "peer-congestion-algorithm": "",
    "peer-id-ttl-hours": 6,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 50,
    "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": true,
    "preallocation": 1,
    "prefetch-enabled": true,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-host-whitelist": "192.168.*.*",
    "rpc-host-whitelist-enabled": true,
    "rpc-password": "{652d470d74d65b0004387656a1098f4349ceb8008MT8nxuO",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "username",
    "rpc-whitelist": "127.0.0.1, 192.168.*.*",
    "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": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": false,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": false,
    "upload-slots-per-torrent": 14,
    "utp-enabled": true
}
Can anyone please assist me in how i should go from here ? or am i missing something ?

thank you in advance!
 
Old 03-23-2020, 08:28 AM   #2
Johantonissen
Member
 
Registered: Dec 2019
Posts: 36

Original Poster
Rep: Reputation: Disabled
I've noticed that there are a lot of different locations of the settings.json file could it be the problem that i'm editing the wrong one ? unfortunately systemctl does not say which file it's loading.
 
Old 03-23-2020, 08:41 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I've never used any torrent client where I specifically set it up using the config file, but instead used their interface for this.

My suggestion is that you run it default, get the default config file, or even make some settings changes that you can do using the GUI and then check that config file against what you intend to use.
 
Old 03-24-2020, 06:14 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Also check the journal.

Last edited by ondoho; 03-24-2020 at 06:15 AM.
 
Old 03-24-2020, 06:23 AM   #5
Johantonissen
Member
 
Registered: Dec 2019
Posts: 36

Original Poster
Rep: Reputation: Disabled
I've found the solution!

Apparently the settings.json file located in $HOME/.config/transmission folder was loaded rather than the /etc/transmission-daemon/settings.json location. The settings file there turned out to be corrupt. Overwriting it with the /etc/transmission-daemon/settings.json solved the issue!
 
  


Reply

Tags
debian, json, transmission



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restart systemctl*daemon​ - systemctl command not found cjosephl Linux - Newbie 7 11-11-2017 04:53 PM
transmission-daemon on Raspbian - Queue order randomizes on daemon restart ToniCipriani Linux - Software 3 03-02-2016 02:07 PM
Transmission Client and Transmission-Daemon on Ubuntu lorisarvendu Linux - Software 0 02-27-2016 06:44 PM
How can I transmit image in NS2? Is video transmission similar to image transmission? linuxuday Linux - Networking 4 03-21-2013 09:29 AM
No transmission circlesdisplayed for wirless transmission in ns2 susanthomas Linux - Newbie 2 05-23-2012 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration