wiserain / docker-flexget

Docker image for running Flexget
https://hub.docker.com/r/wiserain/flexget
68 stars 40 forks source link

Is this build for raspberry pi 4B? #32

Closed tyjtyj closed 2 years ago

tyjtyj commented 3 years ago

Docker run

docker run -d \
    --name=flexget \
    -p 5050:5050 \
    -v /usr/share/flexget/data:/data \
    -v /usr/share/flexget:/config \
    -e FG_WEBUI_PASSWD=xxxxxxx\
    -e FG_LOG_LEVEL=info \
    -e FG_LOG_FILE=/var/log/flexget.log \
    -e PUID=1000 \
    -e PGID=1000 \
    -e TZ=Asia/Singapore \
    wiserain/flexget

Docker logs

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    1000
User gid:    1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
Using existing config.yml
Setting flexget web password to 'xxxxxxx'
Fatal Python error: pyinit_main: can't initialize time
Python runtime state: core initialized
PermissionError: [Errno 1] Operation not permitted
Current thread 0xb6f68390 (most recent call first):
<no Python frame>
[cont-init.d] 20-config: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
wiserain commented 3 years ago

No idea on the error in your log message because I do not have any of arm devices. However, supposed to work with arm/v7 and arm64(aarch64) platform as well as amd64.

johannesanchez commented 3 years ago

Same model Raspberry Pi 4B 5.4.51-v7l+

flexget | flexget | Your DockerHost is most likely running an outdated version of libseccomp flexget | flexget | To fix this, please visit https://docs.linuxserver.io/faq#libseccomp flexget | flexget | Some apps might not behave correctly without this flexget | flexget | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ flexget | flexget | [cont-init.d] 10-adduser: exited 0. flexget | [cont-init.d] 20-config: executing... flexget | Using existing config.yml flexget | Setting flexget web password to '****' flexget | Fatal Python error: pyinit_main: can't initialize time flexget | Python runtime state: core initialized flexget | PermissionError: [Errno 1] Operation not permitted



Resolution:

https://docs.linuxserver.io/faq#libseccomp

Just as the FAQ says: This is due to a bug in the libseccomp2 library (dependency of docker itself), which is fixed. However it's not pushed to all the repositories.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138 echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list sudo apt update sudo apt install -t buster-backports libseccomp2

then reboot

Hope it helps.