Posts by AustinML

    YES! Success! Here's what I did/learned:

    AT gderf 's suggestion I tried the trigus42/qbittorrentvpn image. The git page had some example yaml files so I decided to go the wireguard route instead based on BernH 's suggestion. The container started with no errors but I was still getting the super informative "Unauthorized" message. I went down that google path again and found this comment deep in this reddit thread:

    Kommentar von SoftwareCreatorzu „qbittorrent web ui running on docker says unauthorized“
    Entdecke dieses Gespräch und mehr aus der Community docker
    www.reddit.com

    So spun the container down, added 'WebUI\HostHeaderValidation=false' to the config file (this disables CSRF which apparently causes some of the webui port not matching issues) and I was finally able to get to the qbittorrent login screen and logged in.

    I then checked the ip address of my router and verified that it was different than inside the container using:

    docker exec qbittorrentvpn curl ifconfig.me/ip

    and they were different. Success!


    Thank you both for your help! I will probably still go down the gluetun route at some point though as I'd like to separate the qbittorrent and vpn images and possible route a few other things through it.


    Cool - I'll try that one next. Arch was a failure but not sure I nailed all those options around the VPN. Maybe it's time to finally go down the gluetun route. I keep hear it's simple but I watched a couple YT videos on it and it didn't seem that simple to me. But I'm pretty much a caveman with a chainsaw over here...

    Yeah I tried both of those and that makes sense - thank you. I am now trying this image:

    binhex/arch-qbittorrentvpn

    which has similar options to the base non-vpn image I tried. Fingers crossed.

    And what are these line items you have tried?


    If you are editing the qbittorrent.conf file while the container is running that will not work.

    I'd have to go back and find the but I've since removed them. Something along the lines of webauthenabled=true/false or similar. I was keeping relatively decent track of changes initially but then started throwing everything against the wall to see if I could get anything to stick. And I did spin down the containers before editing the conf file thanfully.


    But now that I can get the non-vpn base image running I at least know that part is possible. So I'm happy to start from scratch again with a vpn image.

    OK, I did now get the base linuxserver/qbittorrent image to work. Yay! I read on that docker hub page:


    Quote
    WEBUI_PORT variable

    Due to issues with CSRF and port mapping, should you require to alter the port for the web UI you need to change both sides of the -p 8080 switch AND set the WEBUI_PORT variable to the new port.

    For example, to set the port to 8123 you need to set -p 8123:8123 and -e WEBUI_PORT=8123

    So once I changed all the ports to 8990, I could get it running on omv:8990 and was able to log in with the temp password I found in the container logs.


    But of course, at least so far, non of the qbittorrentvpn images seem to work that way. I'd be happy to move my other service to another port though if I have to. And it seems I can use either a wireguard config or openvpn config with my VPN. So what is my best path forward now?

    Yeah I can't even get a login screen without VPN so I think I have simpler issues. Even if I shut down my service on 8080 and don't try to change the qbittorrent webui ports (leaving them at 8080), the best I get is that single word "Unauthorized". I've tried adding some line items to the config to supposedly get round the login check but that hasn't helped.


    My VPN is IPVanish so I use their openvpn files. Basically I spin up the container to create the folder structure, spin it down, add the ovpn files/certs, then spin it back up.

    I think that makes sense but I can't even get to a login screen where I would even enter a password - on either a plain qbittorrent install or any that I've tried with vpn. I'm not sure I get how to use my VPN with the hotio link you have there but happy to try if I can.


    In looking through the logs on my latest attempt I got this error around my opvenvpn setup (I use IPVanish for VPN):

    No idea what to do with that - I got that opvn file directly from their site.

    Long story short - my drive I ran all my docker stuff on failed and I've been rebuilding it mostly easily and quickly. However I am now trying to get my qbittorrentvpn docker back and up and running and have been beating my head against the wall for ~4 hours now. I remember this being a huge pain when I originally set it up as well and of course have completely forgotten exactly how I did that. I vaguely remember the webui port being pain point but not sure - I do have a container already running on 8080 but I suppose I could adjust that if needed.

    So far I've tried buidling files off of the following on dockerhub:

    • markusmcnugen/qbittorrentvpn
    • dyonr/qbittorrentvpn
    • trigus42/qbittorrentvpn

    I also tried just the vanile bittorrent (without vpn):

    • linuxserver/qbittorrent

    using the following

    I've messed with the webui port defined here as well but the closest I've gotten to anything actually running is a simple 'Unauthorized' message when the container is running. This happened whether the "external" port was set to 8990 as shown above or left as 8080. If the webui port is defined as anything other than 8080 I just get the basic "This site can't be reached" error message.


    I dug through several threads on this forum as well but none of what was tried in those got me any further. I'd be happy to try routing through wireguard if that is somehow easier as I have that up and running through the plugin. I just know I had it working through my vpn previously.


    I'd also be happy to provide any logs/etc. Here is the main docker log from the container when it is running:


    Thank you in advance for any help you can give!

    Sorry, was out of town for a few days. But unfortunately, none of that fixed it. Here is my current file:

    It did create the /sabnzb/confg directory but the result was the same error and same log (this one for the service but same error):

    Code
    sabnzbd  | s6-rc-compile: fatal: invalid /etc/s6-overlay/s6-rc.d/init-sabnzbd-config/type: must be oneshot, longrun, or bundle

    I wonder if the unpacking of the download from dockerhub is bad? I can't seem to force it to redownload, unpack, etc. It just keeps recreating the container from the current one.

    Since losing my config share folder which ran all my docker containers, I've decided to rebuild them all in the built in GUI (they were all previously built in Portainer). I have had zero issues with any of them so far except for sabnzb. For some reason, I can not get this one to work at all. Here is my docker compose file:

    This is just the listed example file on docker hub with my edits for env and vol stuff. I also tried NZBGet and that worked fine with almost the exact same variables (I just prefer Sabnzb). The file creates the container but when I try to go to the GUI, it just times out and says the site can't be reached. It also doesn't create any config files in the linked share folder. It DOES create the folders listed above, it just doesn't populate them with anything. It's possible nothing will be created until I go through a setup script?


    The only log created when I try to create the container is:

    s6-rc-compile: fatal: invalid /etc/s6-overlay/s6-rc.d/init-sabnzbd-config/type: must be oneshot, longrun, or bundle

    I googled all over the place for this error and tried things like re-pulling the image, deleting all created folders, etc. etc. but I get the same result every time.


    Thank you in advance for any help!

    I had a feeling this would not be simple, but not for the actual reason(s) it won't be. Thank you both for your help. It's not the worst thing to rebuild my handful of containers and it's an excuse to finally move it all into the compose GUI vs. Portainer. And I can probably pull a few config files here and there to try to speed the process of tweaking it back to where I had it. I'll probably use it as an excuse to upgrade my drive pool as well as I'm actually running out of space there.


    Thank you both for your help!

    Ahhh, got it, I see what you're getting at.

    Code
        volumes:
          - /srv/dev-disk-by-label-work/appdata/radarr:/config
          - /srv/dev-disk-by-label-data1/movies:/movies
          - /srv/dev-disk-by-label-data2/download:/download

    So for this one since :/config is app data I'd change that to the new drive but since the other 2 are mapped to my drive pool (which is fine for now), those stay the same. Does that label for the new SSD drive hold however if I move it from the usb enclosure to the internal?

    I would also recommend that once you get things back in order, you should have a look at the usb drive, and perhaps change the filesystem to something a little more linux native, like ext4 or xfs to ensure it is properly mountable in the future and will carry correct ownership and permissions.

    Good call - my guess is it was pre-formatted fat32 or something and I just didn't change it. I'll definitely do that.

    Great question - I'm not entirely sure to be honest and without portainer, apparently I can't even see any of them. Once compose was built into the GUI I switched over to using that (actually much easier) but I only have one "file" I built out in that interface. That just simply points ':/config' volumes to individual folders on my 'appdata' share. In Compose-->Settings I point to my 'compose' share and Docker config points to my 'docker' share. All 3 shares are actually on this SSD. And then of course I map whatever other volumes I'm using to their respective shared folders, normally on my large drive pool.


    I pulled the USB backup drive and am pulling the appdata folders off of that now. I'll then try to format the new SSD, create the 3 shares, and then move all the files over to the new drive. I'm guessing I can't just point the existing shares to the new locations as the new drive will still be connected by a USB enclosure. I'm confused about how I will be able to open up the server, pull the old drive, install the new one, and get everything running again.


    I know OMV has a File Viewer built in but it's pretty limited. I normally use Cloud Commander for moving everything around but that is, of course, in a currently non-working docker container. I suppose it's time to dust off my CLI skills to move these files now?

    Well I thought I could figure this out but I'm having some trouble. Long story short, my containers all "disappeared" this morning. After much help from chente over in the Docker forum, I was able to determine my ssd that contains all my docker folders was failing. Specifically, my docker and compose share folders are still fine but my appdata share folder is no longer available, I assume from the SMART error I'm seeing on that drive.


    The good news is I back up my 3 docker share folders to a usb drive attached to the server. I honestly don't remember setting it up long ago but I sure am glad I did. However, the file system on that drive is VFAT which for some reason I can't mount or see within the OMV GUI. I'm at best a CLI amateur but I have a general understanding and can follow basic directions. So what is my best path to move the 2 good share folders (docker and compose) plus the backup of the bad share folder (appdata) to a new SSD. Not sure if this matters but the failing SSD is 250Gb and I have a 2Tb drive collecting dust I can use to replace it.


    Please let me know if there is further context or info I can provide. I can absolutely set up all my docker containers again on a new drive but I've done TONS of tweaking to some of them that would be hard to replicate. So I'm really hoping it is relatively simple to move the 2 good folders to the new drive and restore the appdata folder from backup.


    Thank you in advance for your help!

    I have appdata being backed up to a usb drive so hopefully this is a relatively simple fix but not sure what the best process is to replace the drive. I also have a USB SSD enclosure so should be able to do it all on the server?

    I think we've hit the issue. Docker storage is in:

    /srv/dev-disk-by-label-work/docker

    which is on an SSD that is throwing up occasional SMART errors about bad sectors. My "docker" and "compose" shares are showing fine and available but my "appdata" share is showing unavailable.


    Starting to smell a lot like a failing SSD or at least enough bad sectors to bork appdata. I know this is not docker related but any advice on capturing as much as possible off that drive before I replace it?

    The system showed uptime of several weeks and we haven't had any power outages thankfully. Honestly the system has been working perfectly for months if not years at this point.


    Outputs (sorry, not sure how to format):

    systemctl status docker -

    systemctl status compose -

    Code
    Unit compose.service could not be found.

    Seems like a problem :)


    docker ps -a -

    Code
    CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

    There should be 10ish containers listed there