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

404 Error when connecting to Web UI #1457

Closed
silentArtifact opened this issue Nov 4, 2020 · 1 comment
Closed

404 Error when connecting to Web UI #1457

silentArtifact opened this issue Nov 4, 2020 · 1 comment

Comments

@silentArtifact
Copy link

Describe the problem
When accessing the web UI, you land on the following error page:

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.

Add your docker run command
Using synology and portainer to build, using the following:

PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
OPENVPN_USERNAME username
OPENVPN_PASSWORD password
OPENVPN_PROVIDER PIA
GLOBAL_APPLY_PERMISSIONS true
TRANSMISSION_HOME /data/transmission-home
TRANSMISSION_RPC_PORT 9091
TRANSMISSION_DOWNLOAD_DIR /data/completed
TRANSMISSION_INCOMPLETE_DIR /data/incomplete
TRANSMISSION_WATCH_DIR /data/watch
CREATE_TUN_DEVICE true
ENABLE_UFW false
UFW_ALLOW_GW_NET false
UFW_EXTRA_PORTS  
UFW_DISABLE_IPTABLES_REJECT false
PUID 1026
PGID 101
DROP_DEFAULT_ROUTE  
WEBPROXY_ENABLED false
WEBPROXY_PORT 8888
WEBPROXY_USERNAME  
WEBPROXY_PASSWORD  
LOG_TO_STDOUT false
HEALTH_CHECK_HOST google.com
REVISION 1970f54
DEBIAN_FRONTEND noninteractive
TRANSMISSION_ALT_SPEED_DOWN 50
TRANSMISSION_ALT_SPEED_ENABLED false
TRANSMISSION_ALT_SPEED_TIME_BEGIN 540
TRANSMISSION_ALT_SPEED_TIME_DAY 127
TRANSMISSION_ALT_SPEED_TIME_ENABLED false
TRANSMISSION_ALT_SPEED_TIME_END 1020
TRANSMISSION_ALT_SPEED_UP 50
TRANSMISSION_BIND_ADDRESS_IPV4 0.0.0.0
TRANSMISSION_BIND_ADDRESS_IPV6 ::
TRANSMISSION_BLOCKLIST_ENABLED false
TRANSMISSION_BLOCKLIST_URL http://www.example.com/blocklist
TRANSMISSION_CACHE_SIZE_MB 4
TRANSMISSION_DHT_ENABLED false
TRANSMISSION_DOWNLOAD_LIMIT 100
TRANSMISSION_DOWNLOAD_LIMIT_ENABLED 0
TRANSMISSION_DOWNLOAD_QUEUE_ENABLED true
TRANSMISSION_DOWNLOAD_QUEUE_SIZE 5
TRANSMISSION_ENCRYPTION 1
TRANSMISSION_IDLE_SEEDING_LIMIT 30
TRANSMISSION_IDLE_SEEDING_LIMIT_ENABLED false
TRANSMISSION_INCOMPLETE_DIR_ENABLED true
TRANSMISSION_LPD_ENABLED false
TRANSMISSION_MAX_PEERS_GLOBAL 200
TRANSMISSION_MESSAGE_LEVEL 2
TRANSMISSION_PEER_CONGESTION_ALGORITHM  
TRANSMISSION_PEER_ID_TTL_HOURS 6
TRANSMISSION_PEER_LIMIT_GLOBAL 200
TRANSMISSION_PEER_LIMIT_PER_TORRENT 50
TRANSMISSION_PEER_PORT 51413
TRANSMISSION_PEER_PORT_RANDOM_HIGH 65535
TRANSMISSION_PEER_PORT_RANDOM_LOW 49152
TRANSMISSION_PEER_PORT_RANDOM_ON_START false
TRANSMISSION_PEER_SOCKET_TOS default
TRANSMISSION_PEX_ENABLED false
TRANSMISSION_PORT_FORWARDING_ENABLED true
TRANSMISSION_PREALLOCATION 1
TRANSMISSION_PREFETCH_ENABLED 1
TRANSMISSION_QUEUE_STALLED_ENABLED true
TRANSMISSION_QUEUE_STALLED_MINUTES 30
TRANSMISSION_RATIO_LIMIT 2
TRANSMISSION_RATIO_LIMIT_ENABLED false
TRANSMISSION_RENAME_PARTIAL_FILES true
TRANSMISSION_RPC_AUTHENTICATION_REQUIRED true
TRANSMISSION_RPC_BIND_ADDRESS 0.0.0.0
TRANSMISSION_RPC_ENABLED true
TRANSMISSION_RPC_HOST_WHITELIST  
TRANSMISSION_RPC_HOST_WHITELIST_ENABLED false
TRANSMISSION_RPC_PASSWORD password
TRANSMISSION_RPC_URL /transmission/
TRANSMISSION_RPC_USERNAME username
TRANSMISSION_RPC_WHITELIST 127.0.0.1
TRANSMISSION_RPC_WHITELIST_ENABLED false
TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED true
TRANSMISSION_SCRIPT_TORRENT_DONE_ENABLED true
TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME /etc/transmission_unrar.sh
TRANSMISSION_SEED_QUEUE_ENABLED false
TRANSMISSION_SEED_QUEUE_SIZE 10
TRANSMISSION_SPEED_LIMIT_DOWN 100
TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED false
TRANSMISSION_SPEED_LIMIT_UP 100
TRANSMISSION_SPEED_LIMIT_UP_ENABLED false
TRANSMISSION_START_ADDED_TORRENTS true
TRANSMISSION_TRASH_ORIGINAL_TORRENT_FILES false
TRANSMISSION_UMASK 2
TRANSMISSION_UPLOAD_LIMIT 100
TRANSMISSION_UPLOAD_LIMIT_ENABLED 0
TRANSMISSION_UPLOAD_SLOTS_PER_TORRENT 14
TRANSMISSION_UTP_ENABLED false
TRANSMISSION_WATCH_DIR_ENABLED true
TRANSMISSION_WATCH_DIR_FORCE_GENERIC false
TRANSMISSION_WEB_UI  
TRANSMISSION_WEB_HOME  
DOCKER_LOG false
LOCAL_NETWORK 192.168.0.0/24
OPENVPN_OPTS --inactive 3600 --ping 10 --ping-exit 60

Logs

Starting container with revision: 1970f54b88424bf92bc782c3df87310336adf8f4,
mknod: /dev/net/tun: File exists,
Using OpenVPN provider: PIA,
Provider PIA has a custom startup script, executing it,
Downloading OpenVPN config bundle openvpn-nextgen into temporary file /tmp/tmp.ccADCh,
Extract OpenVPN config bundle into PIA directory /etc/openvpn/pia,
Modify configs for this container,
No VPN configuration provided. Using default.,
Setting OpenVPN credentials...,
adding route to local network 192.168.0.0/24 via 172.17.0.1 dev eth0,
Wed Nov  4 05:17:20 2020 OpenVPN 2.4.9 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 20 2020,
Wed Nov  4 05:17:20 2020 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10,
Wed Nov  4 05:17:20 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts,
Wed Nov  4 05:17:20 2020 CRL: loaded 1 CRLs from file [[INLINE]],
Wed Nov  4 05:17:20 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]194.37.96.41:1198,
Wed Nov  4 05:17:20 2020 UDP link local: (not bound),
Wed Nov  4 05:17:20 2020 UDP link remote: [AF_INET]194.37.96.41:1198,
Wed Nov  4 05:17:22 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this,
Wed Nov  4 05:17:23 2020 [manchester410] Peer Connection Initiated with [AF_INET]194.37.96.41:1198,
Wed Nov  4 05:17:24 2020 OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options,
Wed Nov  4 05:17:24 2020 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3,
Wed Nov  4 05:17:24 2020 TUN/TAP device tun0 opened,
Wed Nov  4 05:17:24 2020 /sbin/ip link set dev tun0 up mtu 1500,
Wed Nov  4 05:17:24 2020 /sbin/ip addr add dev tun0 10.5.112.237/24 broadcast 10.5.112.255,
Wed Nov  4 05:17:24 2020 /etc/openvpn/tunnelUp.sh tun0 1500 1553 10.5.112.237 255.255.255.0 init,
Up script executed with tun0 1500 1553 10.5.112.237 255.255.255.0 init,
Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.5.112.237,
Updating Transmission settings.json with values from env variables,
Using existing settings.json for Transmission /data/transmission-home/settings.json,
Overriding alt-speed-down because TRANSMISSION_ALT_SPEED_DOWN is set to 50,
Overriding alt-speed-enabled because TRANSMISSION_ALT_SPEED_ENABLED is set to False,
Overriding alt-speed-time-begin because TRANSMISSION_ALT_SPEED_TIME_BEGIN is set to 540,
Overriding alt-speed-time-day because TRANSMISSION_ALT_SPEED_TIME_DAY is set to 127,
Overriding alt-speed-time-enabled because TRANSMISSION_ALT_SPEED_TIME_ENABLED is set to False,
Overriding alt-speed-time-end because TRANSMISSION_ALT_SPEED_TIME_END is set to 1020,
Overriding alt-speed-up because TRANSMISSION_ALT_SPEED_UP is set to 50,
Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.5.112.237,
Overriding bind-address-ipv6 because TRANSMISSION_BIND_ADDRESS_IPV6 is set to ::,
Overriding blocklist-enabled because TRANSMISSION_BLOCKLIST_ENABLED is set to False,
Overriding blocklist-url because TRANSMISSION_BLOCKLIST_URL is set to http://www.example.com/blocklist,
Overriding cache-size-mb because TRANSMISSION_CACHE_SIZE_MB is set to 4,
Overriding dht-enabled because TRANSMISSION_DHT_ENABLED is set to False,
Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed,
Overriding download-limit because TRANSMISSION_DOWNLOAD_LIMIT is set to 100,
Overriding download-limit-enabled because TRANSMISSION_DOWNLOAD_LIMIT_ENABLED is set to 0,
Overriding download-queue-enabled because TRANSMISSION_DOWNLOAD_QUEUE_ENABLED is set to True,
Overriding download-queue-size because TRANSMISSION_DOWNLOAD_QUEUE_SIZE is set to 5,
Overriding encryption because TRANSMISSION_ENCRYPTION is set to 1,
Overriding idle-seeding-limit because TRANSMISSION_IDLE_SEEDING_LIMIT is set to 30,
Overriding idle-seeding-limit-enabled because TRANSMISSION_IDLE_SEEDING_LIMIT_ENABLED is set to False,
Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete,
Overriding incomplete-dir-enabled because TRANSMISSION_INCOMPLETE_DIR_ENABLED is set to True,
Overriding lpd-enabled because TRANSMISSION_LPD_ENABLED is set to False,
Overriding max-peers-global because TRANSMISSION_MAX_PEERS_GLOBAL is set to 200,
Overriding message-level because TRANSMISSION_MESSAGE_LEVEL is set to 2,
Overriding peer-congestion-algorithm because TRANSMISSION_PEER_CONGESTION_ALGORITHM is set to ,
Overriding peer-id-ttl-hours because TRANSMISSION_PEER_ID_TTL_HOURS is set to 6,
Overriding peer-limit-global because TRANSMISSION_PEER_LIMIT_GLOBAL is set to 200,
Overriding peer-limit-per-torrent because TRANSMISSION_PEER_LIMIT_PER_TORRENT is set to 50,
Overriding peer-port because TRANSMISSION_PEER_PORT is set to 51413,
Overriding peer-port-random-high because TRANSMISSION_PEER_PORT_RANDOM_HIGH is set to 65535,
Overriding peer-port-random-low because TRANSMISSION_PEER_PORT_RANDOM_LOW is set to 49152,
Overriding peer-port-random-on-start because TRANSMISSION_PEER_PORT_RANDOM_ON_START is set to False,
Overriding peer-socket-tos because TRANSMISSION_PEER_SOCKET_TOS is set to default,
Overriding pex-enabled because TRANSMISSION_PEX_ENABLED is set to False,
Overriding port-forwarding-enabled because TRANSMISSION_PORT_FORWARDING_ENABLED is set to True,
Overriding preallocation because TRANSMISSION_PREALLOCATION is set to 1,
Overriding prefetch-enabled because TRANSMISSION_PREFETCH_ENABLED is set to False,
Overriding queue-stalled-enabled because TRANSMISSION_QUEUE_STALLED_ENABLED is set to True,
Overriding queue-stalled-minutes because TRANSMISSION_QUEUE_STALLED_MINUTES is set to 30,
Overriding ratio-limit because TRANSMISSION_RATIO_LIMIT is set to 2,
Overriding ratio-limit-enabled because TRANSMISSION_RATIO_LIMIT_ENABLED is set to False,
Overriding rename-partial-files because TRANSMISSION_RENAME_PARTIAL_FILES is set to True,
Overriding rpc-authentication-required because TRANSMISSION_RPC_AUTHENTICATION_REQUIRED is set to True,
Overriding rpc-bind-address because TRANSMISSION_RPC_BIND_ADDRESS is set to 0.0.0.0,
Overriding rpc-enabled because TRANSMISSION_RPC_ENABLED is set to True,
Overriding rpc-host-whitelist because TRANSMISSION_RPC_HOST_WHITELIST is set to ,
Overriding rpc-host-whitelist-enabled because TRANSMISSION_RPC_HOST_WHITELIST_ENABLED is set to False,
Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to Tr1umvir@te,
Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091,
Overriding rpc-url because TRANSMISSION_RPC_URL is set to /transmission/,
Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to ***,
Overriding rpc-whitelist because TRANSMISSION_RPC_WHITELIST is set to 127.0.0.1,
Overriding rpc-whitelist-enabled because TRANSMISSION_RPC_WHITELIST_ENABLED is set to False,
Overriding scrape-paused-torrents-enabled because TRANSMISSION_SCRAPE_PAUSED_TORRENTS_ENABLED is set to True,
Overriding script-torrent-done-enabled because TRANSMISSION_SCRIPT_TORRENT_DONE_ENABLED is set to True,
Overriding script-torrent-done-filename because TRANSMISSION_SCRIPT_TORRENT_DONE_FILENAME is set to /etc/transmission_unrar.sh,
Overriding seed-queue-enabled because TRANSMISSION_SEED_QUEUE_ENABLED is set to False,
Overriding seed-queue-size because TRANSMISSION_SEED_QUEUE_SIZE is set to 10,
Overriding speed-limit-down because TRANSMISSION_SPEED_LIMIT_DOWN is set to 100,
Overriding speed-limit-down-enabled because TRANSMISSION_SPEED_LIMIT_DOWN_ENABLED is set to False,
Overriding speed-limit-up because TRANSMISSION_SPEED_LIMIT_UP is set to 100,
Overriding speed-limit-up-enabled because TRANSMISSION_SPEED_LIMIT_UP_ENABLED is set to False,
Overriding start-added-torrents because TRANSMISSION_START_ADDED_TORRENTS is set to True,
Overriding trash-original-torrent-files because TRANSMISSION_TRASH_ORIGINAL_TORRENT_FILES is set to False,
Overriding umask because TRANSMISSION_UMASK is set to 2,
Overriding upload-slots-per-torrent because TRANSMISSION_UPLOAD_SLOTS_PER_TORRENT is set to 14,
Overriding utp-enabled because TRANSMISSION_UTP_ENABLED is set to False,
Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch,
Overriding watch-dir-enabled because TRANSMISSION_WATCH_DIR_ENABLED is set to True,
Overriding watch-dir-force-generic because TRANSMISSION_WATCH_DIR_FORCE_GENERIC is set to False,
sed'ing True to true,
Enforcing ownership on transmission config directories,
Applying permissions to transmission config directories,
Setting owner for transmission paths to 1026:101,
Setting permission for files (644) and directories (755),
Setting permission for watch directory (775) and its files (664),
,
-------------------------------------,
Transmission will run as,
-------------------------------------,
User name:   abc,
User uid:    1026,
User gid:    101,
-------------------------------------,
,
STARTING TRANSMISSION,
Provider PIA has a script for automatic port forwarding. Will run it now.,
If you want to disable this, set environment variable DISABLE_PORT_UPDATER=yes,
Transmission startup script complete.,
Wed Nov  4 05:17:25 2020 WARNING: OpenVPN was configured to add an IPv6 route over tun0. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected.,
Wed Nov  4 05:17:25 2020 Initialization Sequence Completed,
,
yes: Broken pipe,
,
,
port is 20683,
the port has been bound to 20683  Wed Nov  4 05:17:35 UTC 2020,
transmission auth required,
waiting for transmission to become responsive,
transmission became responsive,
    47   100%   632.7 MB  Done         0.0     0.0    7.2  Idle         [Erai-raws] Senyoku no Sigrdrifa - 05v2 [720p].mkv,
Sum:            303.4 GB               0.0     0.0,
setting transmission port to 20683,
localhost:9091/transmission/rpc/ responded: "success",
Checking port...,
Port is open: Yes,
,
initial setup complete!,
,
waiting for rebind loop.................,
token expiry 1609867306,
remaining = 5400238,

Host system:
Running on synology DSM

@haugene
Copy link
Owner

haugene commented Nov 8, 2020

For future reference #1452

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

2 participants