GithubHelp home page GithubHelp logo

Init Loop about docker-nzbget HOT 9 CLOSED

linuxserver avatar linuxserver commented on August 11, 2024
Init Loop

from docker-nzbget.

Comments (9)

sparklyballs avatar sparklyballs commented on August 11, 2024

just built latest version from git and no issues with init loop with ubuntu 14.04 as docker host.

will try docker create method pulling directly from hub next.

from docker-nzbget.

flqw avatar flqw commented on August 11, 2024

I use the image on my Synology NAS and just pulled the newest images from the hub. Before that everything worked great.

from docker-nzbget.

sparklyballs avatar sparklyballs commented on August 11, 2024

running from the exec command line within the nzbget docker itself.

test="$(cat /downloads/nzbget.lock)" && echo $test
77

i'm wondering whether your PGID/PUID settings don't have permissions to write to the folder where the lock file is being placed.

from docker-nzbget.

flqw avatar flqw commented on August 11, 2024

Permissions look ok. When should the lock-file be created? If I create the lock-file manually in the mapped /downloads folder, it gets deleted by the script in 30_remove_lockfile.sh and then again runs into the file not found exception.

from docker-nzbget.

sparklyballs avatar sparklyballs commented on August 11, 2024

the remove script cleans up any old lockfiles that may be present from last shutdown.
the lockfile is then created by nzbget itself when it runs.
the tail to the log is to stop nzbget relaunching itself because it's running in daemon mode.

can you run ls -lah on the downloads folder and ls -lah on the parent folder for downloads and tell me your PGID/PUID settings and how those relate to users on your synology please.

from docker-nzbget.

flqw avatar flqw commented on August 11, 2024

PID and UID of the downloads and config folders do match with the host system and the user has full permissions. Attaching to the container and starting nzbget in server mode does work. However, if i try to start it in daemon mode with the command copied from the start script
/sbin/setuser abc /app/nzbget -D -c /config/nzbget.conf
it won't start and the nzbget.log file contains the following error:
Starting daemon failed: could not create lock-file /var/run/nzbget.lock

from docker-nzbget.

flqw avatar flqw commented on August 11, 2024

Ok found it. The config file contained the wrong lock file location. Might be because i came from a version that did not have the lock file in the download folder yet.

from docker-nzbget.

sparklyballs avatar sparklyballs commented on August 11, 2024

we will look at this

from docker-nzbget.

flqw avatar flqw commented on August 11, 2024

Ok thanks for the fast support. Love your docker images.

from docker-nzbget.

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.