Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77471 - [transmission-cli] 4.0.0-1 missing web files

Attached to Project: Arch Linux
Opened by Sebastiaan Lokhorst (lonaowna) - Sunday, 12 February 2023, 16:58 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 26 February 2023, 13:50 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Florian Pritz (bluewind)
Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

After installing transmission-cli 4.0.0-1 from [testing], starting transmission.service, and navigating to the web interface, it says:

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.

Comparing the package files from transmission-cli 3.00-6 and transmission-cli 4.0.0-1, it seems that the /usr/share/transmission/web/ directory is missing from the package.
This task depends upon

Closed by  Florian Pritz (bluewind)
Sunday, 26 February 2023, 13:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  transmission 4.0.1-2
Comment by loqs (loqs) - Sunday, 12 February 2023, 19:47 GMT
What if you rebuild the package with the attached diff applied?
Comment by John Doe (hillbicks) - Sunday, 12 February 2023, 20:49 GMT
I rebuild the package and then had to set
Environment="TRANSMISSION_WEB_HOME=/usr/share/transmission/web"
in the transmission.service file for the web interface to work.
Comment by loqs (loqs) - Sunday, 12 February 2023, 21:28 GMT
So the path has to end /transmission/public_html/ for auto detection to find it.
Does this updated diff allow the service to work without needing to specify TRANSMISSION_WEB_HOME?
Comment by John Doe (hillbicks) - Monday, 13 February 2023, 10:28 GMT
Yup, that looks good on my side. transmission is running and the web interface is reachable.

Thanks!
Comment by Sebastiaan Lokhorst (lonaowna) - Wednesday, 15 February 2023, 19:18 GMT
The second patch fixes the problem for me, too. Thanks!

Loading...