Coder Social home page Coder Social logo

Comments (9)

jaymoulin avatar jaymoulin commented on May 29, 2024 1

Yep, rights problem. Your cfg directory has write rights for root but you're running your container with your own user. Either change owner of your cfg directory or use a container without the -u XXXX param, but you'll probably have to recreate your container

from docker-jdownloader.

jaymoulin avatar jaymoulin commented on May 29, 2024

Looks like you have a permission error on your volume + you seems to use docker with docker rights instead of your own user. What command did you use to create your container?

from docker-jdownloader.

amrazi avatar amrazi commented on May 29, 2024

I used:

docker run -d --restart=always -v ~/Downloads:/root/Downloads -v ~/jdownloader/cfg:/opt/JDownloader/cfg --name jdownloader -u $(id -u):$(id -g) jaymoulin/jdownloader

from docker-jdownloader.

jaymoulin avatar jaymoulin commented on May 29, 2024

with or without sudo ?

Could you check that the rights for ~/jdownloader/cfg matches the user for $(id -u):$(id -g)

from docker-jdownloader.

amrazi avatar amrazi commented on May 29, 2024

I initially used without sudo, although with it gives the same message.

Running ls -l in ~/jdownloader/cfg returns drwxr-xr-x 2 root root 4096 Jan 28 15:06 cfg

from docker-jdownloader.

amrazi avatar amrazi commented on May 29, 2024

That was it! Started fresh by removing all containers, running docker run -d --restart=always -v ~/Downloads:/root/Downloads -v ~/jdownloader/cfg:/opt/JDownloader/cfg --name jdownloader -u $(id -u):$(id -g) jaymoulin/jdownloader, and running sudo docker exec jdownloader configure [email protected] password with no error.

However, the JDownloader website does not recognize any running JDownloader2 instances.

from docker-jdownloader.

amrazi avatar amrazi commented on May 29, 2024

Spoke too soon, the website sees it. Thank you for the help and making this container!

from docker-jdownloader.

amrazi avatar amrazi commented on May 29, 2024

I am actually working with a reinstall of this on a fresh OS, and I am running into this again, however, taking ownership does not seem to help. What insight does drwxr-xr-x 2 root root 4096 Jan 28 15:06 cfg lend and what user:group should I aim for?

I have used rock64:docker, rock64:rock64, and rock64:root to no avail (where rock64 is my user). I have the docker group created and rock64 is in it.

from docker-jdownloader.

jaymoulin avatar jaymoulin commented on May 29, 2024

Your cfg folder is created as root (only user that can write file into it) and you created your container with -u XXX parameter which mean run with user rights.

  • Delete your container
  • start without -u parameter OR give correct rights permissions to your folders

from docker-jdownloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.