Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux: Improve web root path detection or/and better document how to specify it #624

Open
colemar opened this issue Apr 21, 2023 · 0 comments

Comments

@colemar
Copy link

colemar commented Apr 21, 2023

  • Transmission version: transmission-daemon 4.0.3 (6b0e49bbb2)
  • Transmission Web Control Installation script version: 1.2.3

I got transmission from
https://github.com/transmission/transmission/releases/download/4.0.3/transmission-4.0.3.tar.xz
then proceeded to build it as explained in
https://github.com/transmission/transmission#building-a-transmission-release-from-the-command-line
After make install the web root was /usr/local/share/transmission/public_html/ (notice no web folder).
Downloaded latest install-tr-control.sh and immediately noticed that at line 109 it assumes that transmission web root path ends in web: WEB_FOLDER="$ROOT_FOLDER/web"

My workaround was

cd /usr/local/share/transmission
ln -s public_html web

root@pih:/usr/local/share/transmission# ls -l
total 12
drwxr-xr-x 3 root root 4096 Apr 21 14:20 ./
drwxr-xr-x 7 root root 4096 Apr 20 14:55 ../
drwxr-xr-x 3 root root 4096 Apr 21 14:19 public_html/
lrwxrwxrwx 1 root root   11 Apr 21 14:20 web -> public_html/
@colemar colemar changed the title Improve web root path detection or/and better document how to specify it Linux: Improve web root path detection or/and better document how to specify it Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant