Sickbeard permissions

  • Hi,


    I'm installing sickbeard.
    I'm configuring it to search my tv shows. That's ok. It found it.


    But when I try to search an episode. I have an error "Problem setting permissions or writing file to: /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d/seedbox/torrents/Homeland.S03E01.FRENCH.LD.HDTV.XviD-MiND.torrent"



    My system:
    OMV 2.2.2
    2 x 3TB WD REDSnapraid + AUFS (An another disk of 3TB go to WD, it was KO :( )


    a4e489c6-f650-4663-ba6d-74dc0e14b23d : Disk Data of aufs


    I can't configure sickbeard with the pool. I don't know why. Probably an another problem with permissions.

  • Let's see if I understand correctly.

    Zitat

    /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d

    is the AUFS mountpoint where your 2 WD RED are pooled?


    For what I can guess, your torrent client is configured in blackhole mode, right?



    Can you ssh on your server and give us the output of the following command :

    Code
    ls -al /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d/seedbox/torrents


    Use pastebin to post the output.


    Zitat

    I can't configure sickbeard with the pool. I don't know why. Probably an another problem with permissions.


    You mean the root directory for sickbeard? What repo are you using? You might consider using a more recent/active fork like sickrage or sickgear.

  • Zitat

    Let's see if I understand correctly./media/a4e489c6-f650-4663-ba6d-74dc0e14b23d
    is the AUFS mountpoint where your 2 WD RED are pooled?


    No, /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d is the data of aufs


    Code
    http://pastebin.com/usCM5dhJ



    The pool is /media/7737fd82-2283-45db-a9c9-9d8efe0078d3/


    Code
    http://pastebin.com/EUsVj5Vv


    I put here the same command for this folder.


    Zitat

    For what I can guess, your torrent client is configured in blackhole mode, right?


    I just want download the torrent in blackhole mode. I push the torrents after to my torrent client.


    Zitat

    You mean the root directory for sickbeard? What repo are you using? You might consider using a more recent/active fork like sickrage or sickgear.


    I use this https://github.com/SickRage/SickRage.git

  • Ok, thats effectively a permissions problem on the first path. Your directories are owned by root:root, and so only root as write access.
    Could you pastebin the result of this command :

    Code
    cat /etc/fstab


    so I can fully help you out.

  • Zitat

    Ok, thats effectively a permissions problem on the first path. Your directories are owned by root:root, and so only root as write access.Could you pastebin the result of this command


    Code
    cat /etc/fstab


    so I can fully help you out.



    I try to connect with my user but. I can't access nothing


    Thanks for you help.

  • Ok, I get it know.
    First, I strongly suggest you to change your aufs for a mergerfs pool. mergerfs is more recent and active, and more reliable.


    Then for it to work properly, permissions are to be corrected.
    You may have to do this for the other 2 drives that are pooled in aufs (/media/92e9708e-952d-468d-9384-4c37403576c6
    and /media/b0b8c166-3284-4724-bff2-3843146f1713[/code]


    Following commands are to be executed as root.
    First we will correct ownership to root:users, as it should be for all your data drive for OMV to work correctly.

    Code
    chown -R root:users /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d


    This change ownership recursively (-R flag)


    Then we will fix permissions as follow :

    Code
    find /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d -type d -exec chmod 775 '{}' \;
    find /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d -type d -exec chmod g+s '{}' \;
    find /media/a4e489c6-f650-4663-ba6d-74dc0e14b23d -type f -exec chmod 664 '{}' \;


    1st : Directories are set to rwx for root, rwx for group users and rx only for others.
    2nd : We set the groupuid bit for all directories, to ensure that future files are owned by group users.
    3rd :Files are set to rwx for root, rw for group users and r only for others.

  • Waouh!!!!


    Great snow3461!!


    Thanks a lot!


    I try your solutions and it's ok!


    I go to the mergerfs forum to find out what "mount option" is the best.


    Thank you very much snow3461.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!