Can't connect to Transmission webui (haugene/transmission-openvpn)

  • Hello,


    I'm trying to set up my omv with Transmission and OpenVPN, using the haugene/transmission-openvpn docker. So far, everything seems to work, except actually connecting to the webui. If I use the container's console, and curl it (curl localhost:9091), it says "Permanently moved", which is correct according to the documentation. I'm only running this container (next to portainer, which uses port 9000), all stock omv installation, nothing crazy. Here are the logs:


    Edit: Added info. DELETED--- km0201. I got it working (so far) using this video and the mentioned documentation above.

  • KM0201

    Approved the thread.
    • Official Post

    It looks like you're using PIA... I've used this stack/docker-compose for years... works just fine for PIA... the main thing you need to check is


    openvpn_config= make sure you're pointing at a PIA server that is availalble (I'll put the list at the end)


    openvpn_username= make sure your username is right. I believe PIA still give syou two user names (one starts with a p, the other with an x.. make sure you're using the one with the p)


    openvpn_password= again make sure your VPN password is right.


    This is the current list of PIA servers that haugene has built in...


  • KM0201

    Approved the thread.
    • Official Post

    Forg6


    Pay attention when posting pics like that. You posted your PIA username and password. I'm guessing you're not trying to share your account w/ anyone who happens to see that pic. I went ahead and removed it in case you don't see this for a while


    2nd. Your PUID as 998. This has been discussed on this forum so often I almost get tired of saying it. That user is not designed for this and shouldn't be used for it. I didn't even watch the video and am already 99% certain it was dbtech just because of that.


    Create a user (an unprivileged one) and add use the PUID for that user.

  • Thank for the quick reply, and the removal of the pic. I've checked the vpn; the username, password and server are all correct. I didn't know about the user, I'm still new to linux. I've made a new one within the container (as I should?), it should have less privileges.

    If I add the user to Advanced container settings > command & logging > user, it says password found in password file. I'm trying to fix it.

    Furthermore, without the new user and using your environment it still doesn't seem to work unfortunately.


    • Official Post

    Thank for the quick reply, and the removal of the pic. I've checked the vpn; the username, password and server are all correct. I didn't know about the user, I'm still new to linux. I've made a new one within the container (as I should?), it should have less privileges.

    If I add the user to Advanced container settings > command & logging > user, it says no matching users are found.

    Furthermore, without the new user and using your environment it still doesn't seem to work.

    No, that's not what I'm referring to.... (I would delete what you did there)


    The user I'm referring to, is an OMV user....


    In the OMV web panel, click on Access Right Management/User/Add


    Add a username/passwrd

    At the bottom set your shell to "/bin/bash"

    Save.


    Now, click one of the columns and enable the UID/GID columns, and it will show you the PUID/PGID for that user... use those numbers (probably 1000/100 if it's your first users)... See pic for an example of what I'm saying..


    After you fix your user... can you post a pic of your volume mappings.


  • Transmission will run as
    -------------------------------------
    User name: abc
    User uid: 998
    User gid: 100
    -------------------------------------

    [EDIT]This is not linuxserver image but the principle used on ALPINE based images, it equals www-data on a host.

    && useradd -u 911 -U -d /config -s /bin/false abc \

    [/EDIT]

    This is the user that linuxserver uses inside the container, NOT a user on the host.

    It's correct.


    What you need to show is the stack/YML that you used to launch the container (namely, this setting):

    Code
        environment:
            - PUID=1000
            - PGID=100
    • Official Post

    This is the user that linuxserver uses inside the container, NOT a user on the host.

    It's correct.


    What you need to show is the stack/YML that you used to launch the container (namely, this setting):

    Code
        environment:
            - PUID=1000
            - PGID=100

    He posted a pic of his container environments a few minutes ago before I deleted it because it had his passwords, etc.. but he was using 998/100 just like every other person who watches a dbtech video.. :)

  • He posted a pic of his container environments a few minutes ago before I deleted it because it had his passwords, etc.. but he was using 998/100 just like every other person who watches a dbtech video.. :)

    Isn't that, the log from the running container?!? On post #1

    • Official Post

    Isn't that, the log from the running container?!? On post #1

    Yes.


    I don't believe he's changed it yet.

    I've made a new user with PUID=1000, PGID=100. I've also changed that in the environment. Here are my volumes link.

    Well there's part of your problem (maybe entirely).. you need to map /data somewhere.


    So.. create a folder under Shared Folders.. say.. "Torrents"

    After you add the share, click the Columns and enable the "absolute path" column... then you need to add that path to your volumes as a "bind".. it will look something like this (this is a lot easier to do w/ a stack or docker-compose, but since this is where we are...).. Your config folder is fine... your /data folder is the problem... so change that to "bind" and then put the absolute path to your Torrents folder, in the host box.. It will look something like this...


  • Hi,


    I tried lscr.io/linuxserver/transmission:latest and it worked. Then I tried transmission with openvpn but can't make it work with nordvpn:



    Output log:

    It looks like it can connect to nordvpn but doesn't set up transmission.


    LOCAL_NETWORK was wrongly configured.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!