OMV6 - Portainer - Jdownloader - problem with download path

  • Hi,


    I have a fresh instal after switchning for OMV4 to OMV6 on an PC build NAS setup.

    On OMV4 I have the Jdownloader as a plugin so the setup was in GUI (easy for me)

    After switching to OMV6 I was forced to use the Docker .. to be exact, I used Portainer plugin from the OMV/OMV-extras to run it.

    From DockerHub I used the definition Jaymoulin and I was able to run it. It`s nwt running. I did a test download and it was sucessfull (at least from JD perspective), but I don`t see the file in the folder I`ve chosen (see attached pictures).


    What do I do wrong? I don`t see the problem.


    Stack details looks like this:


    version: "2.15"

    services:

    jdownloader:

    image: jaymoulin/jdownloader

    container_name: jdownloader

    restart: always

    user: 1000:100

    volumes:

    - /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata/jdownloader:/opt/JDownloader/app/cfg

    - /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata/downloads:/opt/JDownloader/Downloads

    environment:

    MYJD_USER: "my credentials"

    MYJD_PASSWORD: "my credentials"

    MYJD_DEVICE_NAME: OMV

    ports:

    - 3129:3129

  • What file system is on the drive?

    With that UUID, pretty sure it's NTFS or FAT32/exFAT

  • you have permission problem, please post ls -la of your path to revise it.


    ls -la /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata

    I get such a response


    root@vmo:~# ls -la /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata

    total 5

    drwxrwxrwx 1 root root 456 Jan 8 18:12 .

    drwxrwxrwx 1 root root 4096 Jan 8 04:05 ..

    drwxrwxrwx 1 root root 0 Jan 8 06:00 downloads

    drwxrwxrwx 1 root root 0 Jan 8 05:48 Downloads

    drwxrwxrwx 1 root root 0 Jan 8 18:10 HA

    drwxrwxrwx 1 root root 400 Jan 8 18:12 Home-Assistant

    drwxrwxrwx 1 root root 752 Jan 8 08:57 jdownloader

    root@vmo:~#

  • Yes, it`s NTFS

    You can't use Linux permissions on a NTFS drive. You'll need to change it to ext4.

    This means format the drive and lose ALL DATA on it.


    And the output of:

    ls -la /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata/jdownloader

  • You can't use Linux permissions on a NTFS drive. You'll need to change it to ext4.

    This means format the drive and lose ALL DATA on it.


    And the output of:

    ls -la /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata/jdownloader

    I was using on OMV4, Jdownloader for the last two years but the diffrence was that the JD was a plugin on OMV so it was installed on the "system" disk with ext4.

    Can install the JD on the system disk and the download to the NTFS disk like previously?


    I`ve added screen shots from OMV (Disks and File System)

    BTW. Why I cant mount the system drive (ext4)?


    About the second output:


    root@vmo:~# ls -la /srv/dev-disk-by-uuid-80D6C972D6C9694C/appdata/jdownloader

    total 150

    drwxrwxrwx 1 root root 752 Jan 8 08:57 .

    drwxrwxrwx 1 root root 456 Jan 8 18:12 ..

    -rwxrwxrwx 1 root root 2 Jan 8 05:57 accountUsageRules.json

    -rwxrwxrwx 1 root root 1125 Jan 8 08:38 downloadList36.zip

    -rwxrwxrwx 1 root root 1124 Jan 8 08:43 downloadList37.zip

    -rwxrwxrwx 1 root root 1122 Jan 8 08:48 downloadList38.zip

    -rwxrwxrwx 1 root root 1124 Jan 8 08:53 downloadList39.zip

    -rwxrwxrwx 1 root root 1168 Jan 8 08:56 downloadList40.zip

    -rwxrwxrwx 1 root root 1168 Jan 8 08:57 downloadList41.zip

    -rwxrwxrwx 1 root root 16 Jan 8 06:07 jd.controlling.authentication.AuthenticationControllerSettings.list.ejs

    -rwxrwxrwx 1 root root 24 Jan 8 05:45 jd.controlling.captcha.CaptchaSettings.json

    -rwxrwxrwx 1 root root 267 Jan 8 04:53 jd.controlling.captcha.CaptchaSettings.qualityensurancerules.json

    -rwxrwxrwx 1 root root 50 Jan 8 05:45 jd.controlling.downloadcontroller.DownloadControllerConfig.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:45 jd.controlling.faviconcontroller.FavIconsConfig.failedhosts.json

    -rwxrwxrwx 1 root root 69 Jan 8 05:45 jd.controlling.faviconcontroller.FavIconsConfig.json

    -rwxrwxrwx 1 root root 38 Jan 8 05:45 jd.controlling.linkchecker.LinkCheckerConfig.json

    -rwxrwxrwx 1 root root 123 Jan 8 05:45 jd.controlling.linkcollector.LinkCollectorConfig.json

    -rwxrwxrwx 1 root root 48 Jan 8 06:07 jd.controlling.linkcrawler.LinkCrawlerConfig.autolearnextensionorigins.json

    -rwxrwxrwx 1 root root 104 Jan 8 05:45 jd.controlling.linkcrawler.LinkCrawlerConfig.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:45 jd.controlling.linkcrawler.LinkCrawlerConfig.linkcrawlerrules.json

    -rwxrwxrwx 1 root root 29 Jan 8 05:45 jd.controlling.reconnect.ReconnectConfig.json

    -rwxrwxrwx 1 root root 5707 Jan 8 05:59 linkcollector3.zip

    -rwxrwxrwx 1 root root 5707 Jan 8 06:01 linkcollector4.zip

    -rwxrwxrwx 1 root root 10792 Jan 8 06:06 linkcollector5.zip

    -rwxrwxrwx 1 root root 17161 Jan 8 06:07 linkcollector6.zip

    -rwxrwxrwx 1 root root 20071 Jan 8 06:07 linkcollector7.zip

    -rwxrwxrwx 1 root root 13702 Jan 8 06:07 linkcollector8.zip

    -rwxrwxrwx 1 root root 119 Jan 8 04:48 org.appwork.utils.logging2.LogConfig.json

    -rwxrwxrwx 1 root root 16 Jan 8 05:45 org.jdownloader.api.captcha.CaptchaMyJDownloaderRemoteSolverSettings.json

    -rwxrwxrwx 1 root root 4 Jan 8 05:45 org.jdownloader.api.myjdownloader.MyJDownloaderSettings.customdeviceips.json

    -rwxrwxrwx 1 root root 10 Jan 8 04:53 org.jdownloader.api.myjdownloader.MyJDownloaderSettings.deviceconnectports.json

    -rwxrwxrwx 1 root root 413 Jan 8 05:59 org.jdownloader.api.myjdownloader.MyJDownloaderSettings.json

    -rwxrwxrwx 1 root root 176 Jan 8 05:45 org.jdownloader.api.RemoteAPIConfig.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.antiCaptchaCom.AntiCaptchaComConfigInterface.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.captchasolutions.CaptchaSolutionsConfigInterface.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.cheapcaptcha.CheapCaptchaConfigInterface.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.dbc.DeathByCaptchaSettings.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.endcaptcha.EndCaptchaConfigInterface.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.imagetyperz.ImageTyperzConfigInterface.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:59 org.jdownloader.captcha.v2.solver.jac.JACSolverConfig.jacthreshold.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.solver9kw.Captcha9kwSettings.json

    -rwxrwxrwx 1 root root 20 Jan 8 05:45 org.jdownloader.captcha.v2.solver.twocaptcha.TwoCaptchaConfigInterface.json

    -rwxrwxrwx 1 root root 3617 Jan 8 05:57 org.jdownloader.controlling.filter.LinkFilterSettings.filterlist.json

    -rwxrwxrwx 1 root root 26 Jan 8 05:45 org.jdownloader.controlling.filter.LinkFilterSettings.json

    -rwxrwxrwx 1 root root 26 Jan 8 05:45 org.jdownloader.controlling.packagizer.PackagizerSettings.json

    -rwxrwxrwx 1 root root 6014 Jan 8 05:59 org.jdownloader.controlling.packagizer.PackagizerSettings.rulelist.json

    -rwxrwxrwx 1 root root 75 Jan 8 06:00 org.jdownloader.extensions.extraction.ExtractionExtension.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:45 org.jdownloader.gui.views.linkgrabber.addlinksdialog.LinkgrabberSettings.downloaddestinationhistory.json

    -rwxrwxrwx 1 root root 274 Jan 8 05:57 org.jdownloader.gui.views.linkgrabber.addlinksdialog.LinkgrabberSettings.json

    -rwxrwxrwx 1 root root 16 Jan 8 05:59 org.jdownloader.settings.AccountSettings.accounts.ejs

    -rwxrwxrwx 1 root root 85 Jan 8 05:59 org.jdownloader.settings.AccountSettings.json

    -rwxrwxrwx 1 root root 4 Jan 8 04:53 org.jdownloader.settings.GeneralSettings.browsercommandline.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:45 org.jdownloader.settings.GeneralSettings.crawlercrawlerpluginblacklist.json

    -rwxrwxrwx 1 root root 2 Jan 8 05:45 org.jdownloader.settings.GeneralSettings.crawlerhostpluginblacklist.json

    -rwxrwxrwx 1 root root 198 Jan 8 04:53 org.jdownloader.settings.GeneralSettings.domainrules.json

    -rwxrwxrwx 1 root root 1018 Jan 8 05:59 org.jdownloader.settings.GeneralSettings.json

    -rwxrwxrwx 1 root root 4 Jan 8 05:45 org.jdownloader.settings.GeneralSettings.urldisplayorder.json

    -rwxrwxrwx 1 root root 4 Jan 8 05:45 org.jdownloader.settings.GeneralSettings.urlorder.json

    -rwxrwxrwx 1 root root 137 Jan 8 05:45 org.jdownloader.settings.GraphicalUserInterfaceSettings.json

    -rwxrwxrwx 1 root root 270 Jan 8 05:59 org.jdownloader.settings.InternetConnectionSettings.customproxylist.json

    -rwxrwxrwx 1 root root 142 Jan 8 05:45 org.jdownloader.settings.InternetConnectionSettings.json

    -rwxrwxrwx 1 root root 56 Jan 8 05:45 org.jdownloader.settings.SilentModeSettings.json

    -rwxrwxrwx 1 root root 25 Jan 8 05:45 org.jdownloader.update.lastchance.LastChanceConfig.json

    -rwxrwxrwx 1 root root 250 Jan 8 05:59 org.jdownloader.updatev2.UpdateSettings.json

    drwxrwxrwx 1 root root 0 Jan 8 05:45 plugins

    -rwxrwxrwx 1 root root 4 Jan 8 04:48 ProxySelector.proxies.json

    -rwxrwxrwx 1 root root 64 Jan 8 06:07 subconf_fastclick.to.ejs

    -rwxrwxrwx 1 root root 80 Jan 8 04:53 subconf_imgur.com.ejs

    drwxrwxrwx 1 root root 0 Jan 8 04:48 updateclient

  • I was using on OMV4, Jdownloader for the last two years but the diffrence was that the JD was a plugin on OMV so it was installed on the "system" disk with ext4.

    Can install the JD on the system disk and the download to the NTFS disk like previously?


    I`ve added screen shots from OMV (Disks and File System)

    BTW. Why I cant mount the system drive (ext4)?

  • BTW. Why I cant mount the system drive (ext4)?

    use SharerootFS plugin.



    But correct way is to install jdownloader like a docker and format data disk uxing ext4.

  • use SharerootFS plugin.



    But correct way is to install jdownloader like a docker and format data disk uxing ext4.

    Thanks for the Tip I can see not the system drive.


    I got hands on external drives to temparary move the media file to be able to format the main drive for media file and transfer them back.


    A general question:

    1. Should I install dockers on the System drive or the media drive? (if by design I can not see it and I have to instal a plugin for that.

    2. I had now the docker running on the Media drive. If I format it and move the docker files back to the media drive should I run again the docker "instalation" or it will be working?

  • Not really OMV not working with OMV.


    I fact, Jdownloader permission not working with NTFS disk.


    And in generall, is best practise, to use ext4 or native Filesystem on Debian (base O.S. for OMV), and as you know NTFS is not a native Filesystem for Debian.

  • Damn, had this on draft and forgot to send it, :D

    Moving along.....

    You're reading/writing as root

    This is a major risk on Linux.

    Period.


    Writing to NTFS (acronym for Not The File System for Linux) will always sets the owner:group to root:root (like you're having)


    Even if you start your YML with an unpriviledge User, like you tried:

    Code
    user: 1000:100


    The permissions won't pass to the FS.

    And you can see it here, SSH logged by user pi and created a folder on the NTFS drive.

    The folder on a ext4 would be owned by pi:pi OR pi:users


    But on a NTFS, will be owned by root:root even when created by any other user:


    If you're accessing ALWAYS as root, you will be able to do whatever you want.

    But if you want to always use a SUPER USER (Windows users are always Administrators == root) then, keep it up.


    Only hope that you block all outside world really tight on your network.

    Well, if you're using jdownloader then your "doors" are already open.

Jetzt mitmachen!

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