Sonarr Radarr in Docker to Move to Seperate TrueNAS

  • Hello...


    I have started running an upgraded server for running my Plex instance. It is running on a better computer that can handle the hardware encoding of Plex. It is on a TrueNAS scale server at my house. I have all of my other Sonarr, Radarr, Ect Dockers running on my OMV instance and see no need to move them. I just need to figure out how to make each of the dockers running Sonarr and Radarr be able to move the finished files to the TrueNAS folders.


    I am starting with my Shows and using Sonarr. Here is the docker file used to make it. I have added



    With the above code I get the warning below when I try to add it to Sonarr. I can't figure out how to change the user ID's to make it work. User 998 is already used by TrueNAS with some internal user. I have a user at 1000 and one at 3000 on my TrueNAS. all of my OMV is set up like the code above and works flawlessly.


     


    Can someone help me figure this out? I have spent most of my Christmas FTO trying all sorts of things and almost get there and then NOTHING. I need some real world help in semi simple language.


    Someone said to add the following to the docker file, but I can't figure out any combination to make it compile and run. I know the username needs to be changed but I don't know where to put it in my above docker file

    Code
    RUN usermod -u 1000 www-data
    RUN usermod -G staff www-data
    • Official Post

    Not really an OMV problem since your docker container can't write to a TrueNAS samba share...


    One issue I see is that you are using user 998 which likely doesn't exist on OMV or is a bad choice because it is a system user (omv starts regular users at 1000).


    Did you install cifs-utils on the OMV system? It is required for docker to mount a samba share as a volume.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.7 | compose 7.6.9 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    Edited once, last by ryecoaaron ().

  • On my amd64 OMV, 998 is username admin the WebGUI administrator.


    The source of using PUID=998 in dockers on OMV is from the DB Tech YouTube videos. It never ends.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


    • Official Post

    On my amd64 OMV, 998 is username admin the WebGUI administrator.

    Mine is systemd-network. I guess I worded my statement wrong. The user might exist but it is bad choice. I fixed my comment.

    The source of using PUID=998 in dockers on OMV is from the DB Tech YouTube videos. It never ends.

    Never watched any and that tells me I shouldn't lol.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.7 | compose 7.6.9 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I can not resist.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • you are exactly correct. He had some of the most straight forward videos that were easy to follow.


    Quote

    Did you install cifs-utils on the OMV system? It is required for docker to mount a samba share as a volume.

    Yes I did. I can get the share to work on the OMV machine. I even tried then just mapping it to the docker container like I would my regular shares on my OMV but I got the same warning.


    the problem is permissions, but I don't know what to fix where. everything shows up and is viewable, just not writeable within the containers.

    • Official Post

    the problem is permissions, but I don't know what to fix where. everything shows up and is viewable, just not writeable within the containers.

    You need to run the container as the same uid as the samba share's owner. Whether that means changing the uid of the container and/or changing the owner of the files/share permissions on the truenas side is hard to say. I can't tell you anything about how to do that on truenas.

    omv 7.7.9-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.7 | compose 7.6.9 | cterm 7.8.5 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.2


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • you are exactly correct. He had some of the most straight forward videos that were easy to follow.

    Perhaps you didn't get the hint, but using PUID=998 with dockers in OMV is bad advice.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Perhaps you didn't get the hint, but using PUID=998 with dockers in OMV is bad advice.

    OK. so if I want to change the ownership and all of my dockers to a new user and PUID... how do I get OMV to make it so that it is the admin owner?


    if I make the user in OMV how to I change the ownership of all of the existing data on the server?

    • Official Post

    OK. so if I want to change the ownership and all of my dockers to a new user and PUID... how do I get OMV to make it so that it is the admin owner?


    if I make the user in OMV how to I change the ownership of all of the existing data on the server?

    Here you can find the answers to your questions. https://wiki.omv-extras.org/doku.php?id=omv7:docker_in_omv

  • He guys. As always thanks for your help.


    I stumble across this post and read you comments about 998. When I did my past omv 6 install and did a id check puid came in as 998. On omv 5 it was 1000. The 998 stayed when I did the conversion to OMV 7.



    Things are working but is this something I need to fix? I can change all the dockers easily but how do you change it in the operating system. Did a little research and didn't look that easy.


    Thanks ML

  • Just curious eubyfied : why did you create a volume inside your yml (driver_opts)? I am using Radarr and Sonarr and created a shared disk like this:

    Code
        volumes:
          - $DOCKER/radarr:/config
          - $VIDEOS:/video
          - $VIDEOS/usenet:/usenet

    I wonder what the difference is?

    Asus P42 Intel N100 | OMV 7 latest

Participate now!

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