transmission-daemon-service-type not serving web interface

  • Done
  • quality assurance status badge
Details
3 participants
  • Alan Manuel Gloria
  • Clément Lassieur
  • elaexuotee
Owner
unassigned
Submitted by
elaexuotee
Severity
normal
E
E
elaexuotee wrote on 1 Oct 2023 11:00
(address . bug-guix@gnu.org)
3EHCD3J6USL24.3RGU720OF61V9@wilsonb.com
The documentation for transmission-daemon-service-type makes it sound like the
web interface should be up and running:

Once the service is started, users can interact with the daemon
through its Web interface (at ‘http://localhost:9091/’)...

However, the daemon throws 404 when accessing said url:

404: Not Found

Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.

Anyone else seeing this?

Just for good measure, here is my config:

(transmission-daemon-configuration
(rpc-authentication-required? #t)
(rpc-username "transmission")
(rpc-password "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
(rpc-whitelist-enabled? #t)
(rpc-whitelist '("::1" "127.0.0.1" "192.168.*"))
(encryption 'require-encrypted-connections)
(alt-speed-down (* 1024 1)) ; 1MB/s
(alt-speed-up 512)
(alt-speed-time-enabled? #t)
(alt-speed-time-day 'weekdays)
(alt-speed-time-begin (* 60 8))
(alt-speed-time-end (* 60 19))
(watch-dir-enabled? #t)
(watch-dir "/var/lib/transmission-daemon/torrents"))
A
A
Alan Manuel Gloria wrote on 26 Nov 2023 00:39
(address . 66290@debbugs.gnu.org)
CAF+kUQVCifUzwadSeePam4yXHr9b37H_KPHnWn_dow2moYgnAA@mail.gmail.com
I am seeing the same thing once I updated Guix. This was not broken a year
ago. Unfortunately, Guix maintainers are slow enough that your best bet is
to simply downgrade to a Guix commit from a year ago.
Attachment: file
A
A
Alan Manuel Gloria wrote on 26 Nov 2023 01:16
(address . 66290@debbugs.gnu.org)(name . Clément Lassieur)(address . clement@lassieur.org)
CAF+kUQWkUZnYSyPzLJAHiuErSJTVxrVoPtJpnO-XBzy3nF_E4w@mail.gmail.com
The necessary files are in the "gui" output, with a relative path of
"/share/transmission/public_html". It seems to have been fixed by Clément
Lassieur <clement@lassieur.org> in commit
27ec9eeceb971afe11aae4f24ceb8764f1735634 (who I CCed to this) which
predates this bug report and my own experience, which is weird, implying
that the fix has somehow gotten broken again afterwards somehow.

On Sun, Nov 26, 2023 at 7:39?AM Alan Manuel Gloria <almkglor@gmail.com>
wrote:

Toggle quote (4 lines)
> I am seeing the same thing once I updated Guix. This was not broken a year
> ago. Unfortunately, Guix maintainers are slow enough that your best bet is
> to simply downgrade to a Guix commit from a year ago.
>
Attachment: file
C
C
Clément Lassieur wrote on 29 Nov 2023 17:50
Re: bug#66290: transmission-daemon-service-type not serving web interface
(name . Alan Manuel Gloria)(address . almkglor@gmail.com)(address . 66290@debbugs.gnu.org)
871qc8qz9y.fsf_-_@lassieur.org
On Sun, Nov 26 2023, Alan Manuel Gloria wrote:

Toggle quote (9 lines)
> The necessary files are in the "gui" output, with a relative path of "/share/transmission/public_html". It seems to have been fixed by Clément
> Lassieur <clement@lassieur.org> in commit 27ec9eeceb971afe11aae4f24ceb8764f1735634 (who I CCed to this) which predates this bug report
> and my own experience, which is weird, implying that the fix has somehow gotten broken again afterwards somehow.
>
> On Sun, Nov 26, 2023 at 7:39?AM Alan Manuel Gloria <almkglor@gmail.com> wrote:
>
> I am seeing the same thing once I updated Guix. This was not broken a year ago. Unfortunately, Guix maintainers are slow enough that
> your best bet is to simply downgrade to a Guix commit from a year ago.

Hi, does it work if you just run `transmission-daemon -f` (and maybe you
can try `guix shell -CN transmission -- transmission-daemon -f` to be
sure the correct one is used) and browse http://localhost:9091?

Also, on which guix commit are you?

Thanks,
Clément
A
A
Alan Manuel Gloria wrote on 30 Nov 2023 03:44
(name . Clément Lassieur)(address . clement@lassieur.org)(address . 66290@debbugs.gnu.org)
CAF+kUQVO6p3EbOcysnn+Q==2_H8qWnQs+SVo0kq+aK0TyWLufw@mail.gmail.com
Just did a `guix pull` and rebuilt the system with `guix system
reconfigure` (which took a few days, seems there was a lot of changes), and
now the transmission web UI is working. So probably I was just before that
change.

Can probably close this bug.


On Thu, Nov 30, 2023 at 12:51?AM Clément Lassieur <clement@lassieur.org>
wrote:

Toggle quote (26 lines)
> On Sun, Nov 26 2023, Alan Manuel Gloria wrote:
>
> > The necessary files are in the "gui" output, with a relative path of
> "/share/transmission/public_html". It seems to have been fixed by Clément
> > Lassieur <clement@lassieur.org> in commit
> 27ec9eeceb971afe11aae4f24ceb8764f1735634 (who I CCed to this) which
> predates this bug report
> > and my own experience, which is weird, implying that the fix has somehow
> gotten broken again afterwards somehow.
> >
> > On Sun, Nov 26, 2023 at 7:39?AM Alan Manuel Gloria <almkglor@gmail.com>
> wrote:
> >
> > I am seeing the same thing once I updated Guix. This was not broken a
> year ago. Unfortunately, Guix maintainers are slow enough that
> > your best bet is to simply downgrade to a Guix commit from a year ago.
>
> Hi, does it work if you just run `transmission-daemon -f` (and maybe you
> can try `guix shell -CN transmission -- transmission-daemon -f` to be
> sure the correct one is used) and browse http://localhost:9091?
>
> Also, on which guix commit are you?
>
> Thanks,
> Clément
>
Attachment: file
C
C
Clément Lassieur wrote on 30 Nov 2023 11:17
(name . Alan Manuel Gloria)(address . almkglor@gmail.com)(address . 66290-done@debbugs.gnu.org)
edd4da01-16de-4a29-b998-a4a21234595d@app.fastmail.com
On Thu, Nov 30, 2023, at 2:44 AM, Alan Manuel Gloria wrote:
Toggle quote (3 lines)
> Just did a `guix pull` and rebuilt the system with `guix system reconfigure` (

> which took a few days,
!!

Toggle quote (4 lines)
> seems there was a lot of changes), and now the transmission web UI is working. So probably I was just before that change.
>
> Can probably close this bug.

Alright, closed!
Closed
?