Open kopax opened 3 years ago
Hello @kopax. I ran the following to test out the issues you're pointing out.
$ docker run --rm \
-e FLEXGET_LOG_LEVEL=debug \
-e PUID=1000 \
-e PGID=1000 \
-e TORRENT_PLUGIN=transmission \
-e TZ=Europe/Paris \
-e WEB_PASSWD=itsa123secret \
-v /local/sandbox/docker-flexget/flexget-clean/:/config:rw \
--net bridge \
-p 31770:5050/tcp \
--name=flexget \
cpoppema/docker-flexget:latest
[..]
2020-09-28 08:43:00 DEBUG plugin Trying to load components from: ['/root/.flexget/components', '/usr/lib/python3.7/site-packages/flexget/components']
2020-09-28 08:43:00 DEBUG plugin Plugins took 1.13 seconds to load. 306 plugins in registry.
2020-09-28 08:43:00 DEBUG manager Connecting to: sqlite:////root/.flexget/db-config.sqlite
2020-09-28 08:43:01 DEBUG manager config_name: config
2020-09-28 08:43:01 DEBUG manager config_base: /root/.flexget
2020-09-28 08:43:01 DEBUG manager New config data loaded.
2020-09-28 08:43:01 DEBUG schema current flexget version already exist in db 3.1.71
2020-09-28 08:43:01 DEBUG parsing setting default movie parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7f3ffd7b7f50>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7f3ffd7bb190>})
2020-09-28 08:43:01 DEBUG parsing setting default series parser to internal. (options: {'internal': <flexget.components.parsing.parsers.parser_internal.ParserInternal object at 0x7f3ffd7b7f50>, 'guessit': <flexget.components.parsing.parsers.parser_guessit.ParserGuessit object at 0x7f3ffd7bb190>})
2020-09-28 08:43:01 INFO web_server_daemon Running web server at IP 0.0.0.0:5050
2020-09-28 08:43:01 INFO web_server_daemon Initiating API
2020-09-28 08:43:01 INFO web_server_daemon Registering WebUI v2
2020-09-28 08:43:01 DEBUG irc No irc connections defined in the config
2020-09-28 08:43:01 INFO web_server Web server started at http://172.17.0.2:5050
2020-09-28 08:43:01 INFO web_server API available at http://172.17.0.2:5050/api
2020-09-28 08:43:01 INFO web_server WebUI (v2) available at http://172.17.0.2:5050/
2020-09-28 08:43:01 INFO scheduler Starting scheduler
2020-09-28 08:43:01 INFO apscheduler.scheduler Scheduler started
2020-09-28 08:43:01 INFO apscheduler.scheduler Added job "*" to job store "default"
2020-09-28 08:43:01 INFO apscheduler.scheduler Resumed scheduler job processing
2020-09-28 08:43:01 DEBUG apscheduler.scheduler Looking for jobs to run
/root/.flexget
is a symlink to /config
, can you confirm the filesystem permissions for /srv/flexget/config
?
That however should not impact your other problem of setting the password and the error "command not found."
$ docker exec -it flexget bash
root@13fad8dbf8d5:/# flexget -c /config/config.yml web passwd itsa456secret
There is a FlexGet process already running for this config, sending execution there.
Updated password
What do you see when you run the following ?
$ docker exec -it flexget find / -name \*flexget\* | sort
/config/flexget.log
/etc/cont-init.d/20-update-flexget
/etc/services.d/flexget
/root/.flexget
/run/s6/services/flexget
/usr/bin/flexget
/usr/bin/flexget-headless
/usr/lib/python3.7/site-packages/flexget
/usr/lib/python3.7/site-packages/flexget/resources/flexget.png
Within the container, I have:
But it crash on startup with:
This is
/config/config.yaml
:I expected it to start without errors.
This is the command used to start the container with the following command:
Also, in the UI, it says to create the
.password-lock
usingflexget
cli:I have tried to execute this within the running
cpoppema/docker-flexget:latest
container and: