Page 1 of 1

Problems after upgrade

Posted: Mon Apr 20, 2009 1:55 am
by astjohn
I just upgraded to 1.52 (8229).

I noticed that immediately I was unable to connect to transmission-daemon (or clutch) through the web browser other than on the local computer.

Also, when I start transmission-daemon, i get the following error:

Code: Select all

[21:51:54.497] Couldn't read "/home/whatever/.config/user-dirs.dirs": Permission denied
but the server starts anyway.

When I try to connect to transmission-daemon using transmission-remote, I get the following error:

Code: Select all

[21:53:13.752] JSON parser failed at line 1, column 1: "<h1>401: Unautho"
[21:53:13.752] transmission-remote: Unable to parse response "<h1>401: Unauthorized</h1>Unauthorized User"
I never ran into any of these problems previously.
Any help is greatly appreciated.

Thanks.



Below is my settings file which worked without problems before.

Code: Select all

{
    "blocklist-enabled": 0,
    "download-dir": "whatever",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "max-peers-global": 200,
    "peer-port": 50000,
    "pex-enabled": 1,
    "port-forwarding-enabled": 0,
    "rpc-access-control-list": "*.*.*.*",
    "rpc-authentication-required": 0,
    "rpc-password": "whatever",
    "rpc-port": 9091,
    "rpc-username": "whatever",
    "rpc-whitelist": "*.*.*.*",
    "rpc-whitelist-enabled": 1,
    "upload-limit": 100,
    "upload-limit-enabled": 0
}


Re: Problems after upgrade

Posted: Tue Apr 21, 2009 12:08 am
by astjohn
I'm using Ubuntu.

I tried uninstalling and re-installing with apt.
I removed the directories "transmission" and "transmission-daemon" from "/home/whatever/.config/"

When re-installing, again the following error:

Code: Select all

[21:53:13.752] JSON parser failed at line 1, column 1: "<h1>401: Unautho"
[21:53:13.752] transmission-remote: Unable to parse response "<h1>401: Unauthorized</h1>Unauthorized User"
(The timestamp[?] is the same because I copied from below)

I also noticed that instead of placing files in .config properly, they were placed in:

Code: Select all

"/home/whatever/\ ~/.config/"
The directory was screwed up and started with a whitespace and then the tilde.

Any ideas?

Re: Problems after upgrade

Posted: Sat Apr 25, 2009 8:12 am
by navan
Hello!

I'm also using Ubuntu and have upgradet two times (from 8.04 to 8.10 and directly on to 9.04).
After installing the package "transmission", the web interface was only working from the local computer. I tried to reinstall the package (with removing config-files completely). The reinstallation worked, but after that, the problem was the same.

But on my laptop (my 2nd machine), mythweb worked correctly, so i checked the differences between the two computers.
On my HTPC (where it doesn't worked), there were the packages "transmission" and "transmission-common" installed
On my Laptop were "transmission-gtk" and "transmission-common" installed, but NOT "transmission"

I tried to remove both packages from my HTPC, and installed only "transmission-gtk" and "transmission-common". Now it works as it should!

Bye,
navan

Re: Problems after upgrade

Posted: Sat Apr 25, 2009 1:00 pm
by astjohn
Unfortunately, I re-installed everything (all transmission packages) and it didn't help.


What I did find out is that the new install placed a startup script in "/etc/init.d/" called "transmission-daemon."

This is great, but I already had my own startup script with the exact same name. For whatever reason, this new transmission-daemon startup script was not properly starting up the daemon correctly because I could not connect to it using transmission-remote.

Perhaps there were some new configuration options that I am unaware of for this new script. I don't really have the time or the patience at this point to investigate.

Instead, I copied my script back and all was fine.

Re: Problems after upgrade

Posted: Mon Apr 27, 2009 6:53 pm
by kab

Re: Problems after upgrade

Posted: Mon Apr 27, 2009 7:06 pm
by kab
Please note that that the packages in jaunty and Debian testing and unstable are installing a startup script. The default download dir for the daemon is set to

Code: Select all

/var/lib/transmission-daemon/downloads/
For the sake of easy packaging I have backported the new package with all the improvements and bad decissions :twisted:

The default password is transmission. Use

Code: Select all

transmission-remote --auth=transmission:transmission -l
for download listings.

The following error is annoying but not critical. The problem is that transmission since arround version 1.51 or 1.52, is honoring the XDG download direcotry variable which, according to the freedesktop.org spec, is located in /home/whatever/.config/user-dirs.dirs. The daemon user under debian and ubuntu is debian-transmission which has no home directory.

Code: Select all

[21:51:54.497] Couldn't read "/home/whatever/.config/user-dirs.dirs": Permission denied

Re: Problems after upgrade

Posted: Mon Feb 22, 2010 9:48 pm
by intuited
Just a note: It looks like it's getting the user wrong, too; on my machine, running 1.75 under Ubuntu Intrepid, it's looking under the home directory of the currently-logged-in user, rather than the non-existent home directory of the debian-transmission user. Well, at least that's what the error message says, ie in the example, the username that's running `/etc/init.d/transmission-daemon start` is 'whatever'.

Re: Problems after upgrade

Posted: Fri Oct 14, 2011 8:39 am
by Anubis72
Hi All!
I need some help about transmission. I’m running it on Dlink 323 something happened with the electricity shut down for a few second after that the transmission stopped.
I’ve tried to start again but there was not possible, so I upgrade it for the latest version and after I wanted to start trasnmision again and I got the next error massage :
JSON parser failed in /mnt/HD_a2/.transmission/settings.json at line 1, column 1: "d13:activity-dat"

Does anyone can help me what to check?
Thanks for your assistance in advance!
Anubis