Transmission headless issue on fedora 23 after update

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
SimonFili
Posts: 5
Joined: Tue Jan 17, 2017 12:40 pm

Transmission headless issue on fedora 23 after update

Post by SimonFili »

Hi all,

I did the usual, searched the web, this forum, wiki, fedora forum... did not find anything useful. So here I am

I was running transmission + web gui successfully for years on my fedora server. Then last week after a "dnf update" and reboot.

I was getting this:

Code: Select all

[root@localhost ~]# systemctl status transmission-daemon.service
● transmission-daemon.service - Transmission BitTorrent Daemon
   Loaded: loaded (/usr/lib/systemd/system/transmission-daemon.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2017-01-11 18:45:08 EST; 3 days ago
  Process: 29432 ExecStart=/usr/bin/transmission-daemon -f --log-error (code=exited, status=1/FAILURE)
 Main PID: 29432 (code=exited, status=1/FAILURE)

Jan 11 18:45:08 localhost.localdomain systemd[1]: Starting Transmission BitTorrent Daemon...
Jan 11 18:45:08 localhost.localdomain transmission-daemon[29432]: [2017-01-11 18:45:08.202] transmission-daemon Error loading config file -- exiting. (daemon.c:693)
Jan 11 18:45:08 localhost.localdomain systemd[1]: transmission-daemon.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 18:45:08 localhost.localdomain systemd[1]: Failed to start Transmission BitTorrent Daemon.
Jan 11 18:45:08 localhost.localdomain systemd[1]: transmission-daemon.service: Unit entered failed state.
Jan 11 18:45:08 localhost.localdomain systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.
Then, I did check to find the config file: settings.json but the file was empty. Something broke so I decided to remove everything and do a re-install.

So I did those steps:
1) dnf remove transmission-daemon-2.92-1.fc23.x86_64
2) removed the folder tree under /var/lib/transmission (probably where everything went wrong!)
3) dnf install transmission
- Here I got issue with dnf, missing to lib : libidn.so.11
- So found the rpm of that file and installed it.
- dnf worked after that, so did a dnf update... that lib and couple of things updated
4) dnf install transmission-2.84-8.fc23.x86_64

Code: Select all

Last metadata expiration check: 0:12:48 ago on Sun Jan 15 09:58:24 2017.
Dependencies resolved.
==========================================================================================================================================================================================================================
 Package                                                      Arch                                            Version                                              Repository                                        Size
==========================================================================================================================================================================================================================
Installing:
 transmission                                                 x86_64                                          2.84-8.fc23                                          fedora                                            23 k
 transmission-cli                                             x86_64                                          2.92-1.fc23                                          updates                                          270 k
 transmission-common                                          x86_64                                          2.92-1.fc23                                          updates                                          784 k
 transmission-gtk                                             x86_64                                          2.92-1.fc23                                          updates                                          830 k

Transaction Summary
==========================================================================================================================================================================================================================
Install  4 Packages

Total download size: 1.9 M
Installed size: 6.7 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): transmission-2.84-8.fc23.x86_64.rpm                                                                                                                                                 80 kB/s |  23 kB     00:00
(2/4): transmission-cli-2.92-1.fc23.x86_64.rpm                                                                                                                                            866 kB/s | 270 kB     00:00
(3/4): transmission-gtk-2.92-1.fc23.x86_64.rpm                                                                                                                                            2.1 MB/s | 830 kB     00:00
(4/4): transmission-common-2.92-1.fc23.x86_64.rpm                                                                                                                                         2.5 MB/s | 784 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                     522 kB/s | 1.9 MB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                1/4
  Installing  : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                   2/4
  Installing  : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                   3/4
  Installing  : transmission-2.84-8.fc23.x86_64                                                                                                                                                                       4/4
  Verifying   : transmission-2.84-8.fc23.x86_64                                                                                                                                                                       1/4
  Verifying   : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                   2/4
  Verifying   : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                   3/4
  Verifying   : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                4/4

Installed:
  transmission.x86_64 2.84-8.fc23                   transmission-cli.x86_64 2.92-1.fc23                   transmission-common.x86_64 2.92-1.fc23                   transmission-gtk.x86_64 2.92-1.fc23

Complete!
So far so good I told myself!

5) systemctl status transmission-daemon.service

Code: Select all

● transmission-daemon.service
   Loaded: not-found (Reason: No such file or directory)
   Active: failed (Result: exit-code) since Sun 2017-01-15 09:59:21 EST; 12min ago
 Main PID: 13142 (code=exited, status=1/FAILURE)

Jan 15 09:59:21 localhost.localdomain systemd[1]: Starting Transmission BitTorrent Daemon...
Jan 15 09:59:21 localhost.localdomain systemd[1]: transmission-daemon.service: Main process exited, code=exited, status=1/FAILURE
Jan 15 09:59:21 localhost.localdomain systemd[1]: Failed to start Transmission BitTorrent Daemon.
Jan 15 09:59:21 localhost.localdomain systemd[1]: transmission-daemon.service: Unit entered failed state.
Jan 15 09:59:21 localhost.localdomain systemd[1]: transmission-daemon.service: Failed with result 'exit-code'.
Jan 15 10:02:45 localhost.localdomain systemd[1]: Stopped Transmission BitTorrent Daemon.
6) systemctl start transmission-daemon.service

Code: Select all

Failed to start transmission-daemon.service: Unit transmission-daemon.service failed to load: No such file or directory.
7) Check to find the transmission files...
- /var/lib/transmission does not exist
- under /etc/ nothing transmission* is found

So the question is...
1) why is the install process does not create the file/folder structure?
2) Any recommendations to fix this?

Thanks

Simon
SimonFili
Posts: 5
Joined: Tue Jan 17, 2017 12:40 pm

Re: Transmission headless issue on fedora 23 after update

Post by SimonFili »

Looks like I already have 2.92-1.fc23

dnf info transmission

Code: Select all

Last metadata expiration check: 1:19:44 ago on Tue Jan 17 10:09:18 2017.
Installed Packages
Name        : transmission
Arch        : x86_64
Epoch       : 0
Version     : 2.92
Release     : 1.fc23
Size        : 0.0
Repo        : @System
From repo   : updates
Summary     : A lightweight GTK+ BitTorrent client
URL         : http://www.transmissionbt.com
License     : MIT and GPLv2
Description : Transmission is a free, lightweight BitTorrent client. It features a
            : simple, intuitive interface on top on an efficient, cross-platform
            : back-end.
rpm -q transmission

Code: Select all

transmission-2.92-1.fc23.x86_64
dnf list transmission

Code: Select all

Last metadata expiration check: 1:20:54 ago on Tue Jan 17 10:09:18 2017.
Installed Packages
transmission.x86_64                                                                                                          2.92-1.fc23                                                                                                          @updates
transmission-show -V

Code: Select all

transmission-show 2.92 (14714)
SimonFili
Posts: 5
Joined: Tue Jan 17, 2017 12:40 pm

Re: Transmission headless issue on fedora 23 after update

Post by SimonFili »

Could I create the file/dir structure manually? If so, where can I find what's needed?
SimonFili
Posts: 5
Joined: Tue Jan 17, 2017 12:40 pm

Re: Transmission headless issue on fedora 23 after update

Post by SimonFili »

Tried a couple of things...

systemctl -l status transmission-daemon.service

Code: Select all

● transmission-daemon.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
So this tells me something is wrong!

dnf install transmission

Code: Select all

Last metadata expiration check: 2:36:05 ago on Tue Jan 17 10:09:18 2017.
Package transmission-2.92-1.fc23.x86_64 is [b]already installed[/b], skipping.
Dependencies resolved.
Nothing to do.
Complete!
dnf remove transmission (see the size of the main package! 0 Byte... So removing it)

Code: Select all

Dependencies resolved.
==========================================================================================================================================================================================================================================================
 Package                                                             Arch                                                   Version                                                        Repository                                                Size
==========================================================================================================================================================================================================================================================
Removing:
 transmission                                                        x86_64                                                 2.92-1.fc23                                                    @updates                                                   0
 transmission-cli                                                    x86_64                                                 2.92-1.fc23                                                    @updates                                                 549 k
 transmission-common                                                 x86_64                                                 2.92-1.fc23                                                    @updates                                                 3.0 M
 transmission-gtk                                                    x86_64                                                 2.92-1.fc23                                                    @updates                                                 3.1 M

Transaction Summary
==========================================================================================================================================================================================================================================================
Remove  4 Packages

Installed size: 6.7 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Erasing     : transmission-2.92-1.fc23.x86_64                                                                                                                                                                                                       1/4
  Erasing     : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                                                   2/4
  Erasing     : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                                                   3/4
  Erasing     : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                                                4/4
  Verifying   : transmission-2.92-1.fc23.x86_64                                                                                                                                                                                                       1/4
  Verifying   : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                                                   2/4
  Verifying   : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                                                3/4
  Verifying   : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                                                   4/4

Removed:
  transmission.x86_64 2.92-1.fc23                           transmission-cli.x86_64 2.92-1.fc23                           transmission-common.x86_64 2.92-1.fc23                           transmission-gtk.x86_64 2.92-1.fc23

Complete!
Then rebooted and installed again: Size seems ok now
dnf install transmission

Code: Select all

Last metadata expiration check: 2:44:04 ago on Tue Jan 17 10:09:18 2017.
Dependencies resolved.
==========================================================================================================================================================================================================================
 Package                                                      Arch                                            Version                                              Repository                                        Size
==========================================================================================================================================================================================================================
Installing:
 transmission                                                 x86_64                                          2.92-1.fc23                                          updates                                           23 k
 transmission-cli                                             x86_64                                          2.92-1.fc23                                          updates                                          270 k
 transmission-common                                          x86_64                                          2.92-1.fc23                                          updates                                          784 k
 transmission-gtk                                             x86_64                                          2.92-1.fc23                                          updates                                          830 k

Transaction Summary
==========================================================================================================================================================================================================================
Install  4 Packages

Total size: 1.9 M
Total download size: 1.1 M
Installed size: 6.7 M
Is this ok [y/N]:y
Downloading Packages:
[SKIPPED] transmission-common-2.92-1.fc23.x86_64.rpm: Already downloaded
(2/4): transmission-2.92-1.fc23.x86_64.rpm                                                                                                                                                 73 kB/s |  23 kB     00:00
(3/4): transmission-cli-2.92-1.fc23.x86_64.rpm                                                                                                                                            596 kB/s | 270 kB     00:00
(4/4): transmission-gtk-2.92-1.fc23.x86_64.rpm                                                                                                                                            1.4 MB/s | 830 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                     742 kB/s | 1.1 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                1/4
  Installing  : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                   2/4
  Installing  : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                   3/4
  Installing  : transmission-2.92-1.fc23.x86_64                                                                                                                                                                       4/4
  Verifying   : transmission-2.92-1.fc23.x86_64                                                                                                                                                                       1/4
  Verifying   : transmission-cli-2.92-1.fc23.x86_64                                                                                                                                                                   2/4
  Verifying   : transmission-gtk-2.92-1.fc23.x86_64                                                                                                                                                                   3/4
  Verifying   : transmission-common-2.92-1.fc23.x86_64                                                                                                                                                                4/4

Installed:
  transmission.x86_64 2.92-1.fc23                   transmission-cli.x86_64 2.92-1.fc23                   transmission-common.x86_64 2.92-1.fc23                   transmission-gtk.x86_64 2.92-1.fc23

Complete!

Still nothing in /var/lib/transmission... or /etc/

systemctl | grep transmission : gives nothing... so not registered by the installer... like previous versions where doing

transmission-show -V

Code: Select all

transmission-show 2.92 (14714)
I am stuck... any hints?
SimonFili
Posts: 5
Joined: Tue Jan 17, 2017 12:40 pm

Re: Transmission headless issue on fedora 23 after update

Post by SimonFili »

x190 wrote:viewtopic.php?t=17053#p71269


dnf install transmission transmission-daemon
That was easy!!! Wow, I missed that! Thanks
Post Reply