LinHES Forums
http://forum.linhes.org/

Transmission
http://forum.linhes.org/viewtopic.php?f=14&t=24779
Page 1 of 1

Author:  caymann [ Fri Sep 07, 2018 7:23 pm ]
Post subject:  Transmission

Is there a compiled package for transmission ?
I see them in extra repository
I tar xvf that tansmission-cli
However, after i boot up the transmission daemon is not running
Neither can i see anything on - localhost:9091

Author:  brfransen [ Mon Sep 10, 2018 5:47 am ]
Post subject:  Re: Transmission

Anything in the repos can be installed with pacman.
Code:
sudo pacman -S transmission-cli

Author:  caymann [ Mon Sep 10, 2018 7:11 am ]
Post subject:  Re: Transmission

After i ran that command and then reboot

# sudo transmission-daemon
transmission-daemon: error while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

Author:  brfransen [ Mon Sep 10, 2018 7:49 am ]
Post subject:  Re: Transmission

You need to update to R8.5.2: viewtopic.php?f=20&t=24698#p142238

Author:  caymann [ Mon Sep 10, 2018 9:46 am ]
Post subject:  Re: Transmission

Ok, i upgraded to 8.5.2

I installed transmission

After i boot up, the transmission daemon is not running

I start it manually: sudo transmission-daemon

http://10.2.3.4:9091/transmission
I get this,

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 go to sudo nano ~/.config/transmission-daemon/settings.json
I change the rpc-whitelist to: "*.*.*.*"

I still get the same forbidden error

Author:  brfransen [ Mon Sep 10, 2018 10:05 am ]
Post subject:  Re: Transmission

You started transmission as root but then if you were logged in as the mythtv user you edited the /home/mythtv settings.json.

Don't start transmission with sudo. Use the runit service which start transmission as the mythtv user.
Code:
sudo add_service.sh transmissiond

Author:  caymann [ Mon Sep 10, 2018 11:21 am ]
Post subject:  Re: Transmission

Ok, i tried this...

open a file:
#sudo nano /etc/sv/transmissiond/run

Contents of file..

#!/bin/sh
echo "Starting Transmission Daemon"
/usr/bin/transmission-daemon


#sudo chmod +x /etc/sv/transmissiond/run

#sudo add_service.sh transmissiond

check to see if this is running
#sudo sv status transmissiond

#sudo reboot

After i reboot
#sudo sv status transmissiond
down: transmissiond: 1s, normally up, want up


Also, http://10.2.3.4:9091/transmission

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.

Author:  brfransen [ Mon Sep 10, 2018 1:10 pm ]
Post subject:  Re: Transmission

My bad. It looks like I never added the transmissiond service to runit-scripts.

Remove your /etc/sv/transmissiond/run
sudo pacman -Syu
sudo sv restart transmissiond

Author:  caymann [ Mon Sep 10, 2018 3:02 pm ]
Post subject:  Re: Transmission

Fantastic ! Works !!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/