jlesage / docker-filebot

Docker container for FileBot
MIT License
175 stars 35 forks source link

Container failing to start service 'openbox' #84

Open jeepster5 opened 1 year ago

jeepster5 commented 1 year ago

[nginx ] Listening for HTTP connections on port 5800. [supervisor ] starting service 'openbox'... [openbox ] ObRender-Message: Unable to load the theme 'OpenboxTheme' [openbox ] ObRender-Message: Falling back to the default theme 'Clearlooks' [openbox ] ObRender-Message: Unable to load the theme 'Clearlooks' [openbox ] Openbox-Message: Unable to load a theme. [supervisor ] service 'openbox' failed to be started: not ready after 5000 msec, giving up. [supervisor ] stopping service 'openbox'... [supervisor ] service 'openbox' exited (with status 1). [supervisor ] stopping service 'nginx'...

jlesage commented 1 year ago

How did you create the container (the docker run command, compose file, etc)?

jeepster5 commented 1 year ago

It's running in Docker on a Synology. The previous version of the container ran perfectly for years, but after Watchtower updated it automatically, the new version (23.02.2) is broken in my environment. I've used the instructions in the README.md (https://github.com/jlesage/docker-filebot#synology) to reset and redeploy but no joy.

jlesage commented 1 year ago

Could you share the output of docker inspect <container name> ?

jlesage commented 1 year ago

Also, please provide the full container log: docker logs <container name>.

jeepster5 commented 1 year ago

Could you share the output of docker inspect <container name> ?

{
"AppArmorProfile": "docker-default",
"Args": [],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": [
"/init"
],
"DDSM": false,
"Domainname": "",
"Entrypoint": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
"ENV=/root/.docker_rc",
"USER_ID=1026",
"GROUP_ID=101",
"SUP_GROUP_IDS=",
"UMASK=0022",
"LANG=en_US.UTF-8",
"TZ=Etc/UTC",
"KEEP_APP_RUNNING=0",
"APP_NICENESS=0",
"INSTALL_PACKAGES=",
"CONTAINER_DEBUG=0",
"DISPLAY_WIDTH=1920",
"DISPLAY_HEIGHT=1080",
"DARK_MODE=0",
"SECURE_CONNECTION=0",
"SECURE_CONNECTION_VNC_METHOD=SSL",
"SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
"WEB_LISTENING_PORT=5800",
"VNC_LISTENING_PORT=5900",
"VNC_PASSWORD=",
"ENABLE_CJK_FONT=0",
"FILEBOT_GUI=1",
"AMC_ENABLED=1",
"USE_FILEBOT_BETA=0",
"FILEBOT_CUSTOM_OPTIONS=",
"OPENSUBTITLES_USERNAME=",
"OPENSUBTITLES_PASSWORD=",
"AMC_INTERVAL=1800",
"AMC_INPUT_STABLE_TIME=10",
"AMC_ACTION=move",
"AMC_CONFLICT=auto",
"AMC_MATCH_MODE=opportunistic",
"AMC_ARTWORK=n",
"AMC_LANG=English",
"AMC_MUSIC_FORMAT={plex}",
"AMC_MOVIE_FORMAT={plex}",
"AMC_SERIES_FORMAT={plex}",
"AMC_ANIME_FORMAT={plex}",
"AMC_PROCESS_MUSIC=y",
"AMC_SUBTITLE_LANG=",
"AMC_CUSTOM_OPTIONS=",
"AMC_INPUT_DIR=/watch",
"AMC_OUTPUT_DIR=/output"
],
"ExposedPorts": {
"5800/tcp": {},
"5900/tcp": {}
},
"Hostname": "filebot",
"Image": "jlesage/filebot:latest",
"Labels": {
"org.label-schema.description": "Docker container for FileBot",
"org.label-schema.name": "filebot",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vcs-url": "https://github.com/jlesage/docker-filebot",
"org.label-schema.version": "23.02.2"
},
"OnBuild": null,
"OpenStdin": true,
"StdinOnce": false,
"Tty": true,
"User": "",
"Volumes": {
"/config": {},
"/output": {},
"/storage": {},
"/watch": {}
},
"WorkingDir": "/tmp"
},
"Created": "2023-02-12T15:35:15.594098757Z",
"Driver": "btrfs",
"ExecIDs": null,
"GraphDriver": {
"Data": null,
"Name": "btrfs"
},
"HostConfig": {
"AutoRemove": false,
"Binds": [
"/:/storage:rw",
"/volume1/dockerdata/pia-qbittorrent/downloads/completed:/watch:rw",
"/volume1/media:/output:rw",
"/volume1/dockerdata/filebot:/config:rw"
],
"BlkioDeviceReadBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceWriteIOps": null,
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"CapAdd": null,
"CapDrop": null,
"Cgroup": "",
"CgroupParent": "",
"CgroupnsMode": "host",
"ConsoleSize": [
0,
0
],
"ContainerIDFile": "",
"CpuCount": 0,
"CpuPercent": 0,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpuShares": 50,
"CpusetCpus": "",
"CpusetMems": "",
"DeviceCgroupRules": null,
"DeviceRequests": null,
"Devices": null,
"Dns": null,
"DnsOptions": null,
"DnsSearch": null,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/base/sbin:/opt/base/bin",
"ENV=/root/.docker_rc",
"USER_ID=1026",
"GROUP_ID=101",
"SUP_GROUP_IDS=",
"UMASK=0022",
"LANG=en_US.UTF-8",
"TZ=Etc/UTC",
"KEEP_APP_RUNNING=0",
"APP_NICENESS=0",
"INSTALL_PACKAGES=",
"CONTAINER_DEBUG=0",
"DISPLAY_WIDTH=1920",
"DISPLAY_HEIGHT=1080",
"DARK_MODE=0",
"SECURE_CONNECTION=0",
"SECURE_CONNECTION_VNC_METHOD=SSL",
"SECURE_CONNECTION_CERTS_CHECK_INTERVAL=60",
"WEB_LISTENING_PORT=5800",
"VNC_LISTENING_PORT=5900",
"VNC_PASSWORD=",
"ENABLE_CJK_FONT=0",
"FILEBOT_GUI=1",
"AMC_ENABLED=1",
"USE_FILEBOT_BETA=0",
"FILEBOT_CUSTOM_OPTIONS=",
"OPENSUBTITLES_USERNAME=",
"OPENSUBTITLES_PASSWORD=",
"AMC_INTERVAL=1800",
"AMC_INPUT_STABLE_TIME=10",
"AMC_ACTION=move",
"AMC_CONFLICT=auto",
"AMC_MATCH_MODE=opportunistic",
"AMC_ARTWORK=n",
"AMC_LANG=English",
"AMC_MUSIC_FORMAT={plex}",
"AMC_MOVIE_FORMAT={plex}",
"AMC_SERIES_FORMAT={plex}",
"AMC_ANIME_FORMAT={plex}",
"AMC_PROCESS_MUSIC=y",
"AMC_SUBTITLE_LANG=",
"AMC_CUSTOM_OPTIONS=",
"AMC_INPUT_DIR=/watch",
"AMC_OUTPUT_DIR=/output"
],
"ExtraHosts": null,
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"IpcMode": "private",
"Isolation": "",
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"Links": null,
"LogConfig": {
"Config": {},
"Type": "db"
},
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"Memory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"NanoCpus": 0,
"NetworkMode": "filebot_default",
"OomKillDisable": false,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": null,
"PortBindings": {
"5800/tcp": [
{
"HostIp": "",
"HostPort": "5800"
}
]
},
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"ReadonlyRootfs": false,
"RestartPolicy": {
"MaximumRetryCount": 0,
"Name": "no"
},
"Runtime": "runc",
"SecurityOpt": null,
"ShmSize": 67108864,
"UTSMode": "",
"Ulimits": null,
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/volume1/@docker/containers/ad862e87801492358886d4680e6cb7cd4094149391591487cb898e6083f461e6/hostname",
"HostsPath": "/volume1/@docker/containers/ad862e87801492358886d4680e6cb7cd4094149391591487cb898e6083f461e6/hosts",
"Id": "ad862e87801492358886d4680e6cb7cd4094149391591487cb898e6083f461e6",
"Image": "sha256:a4943f3049593cca8fd2bf8adaf091be9cc33a5d063701debffbaccb463b6f8d",
"LogPath": "/volume1/@docker/containers/ad862e87801492358886d4680e6cb7cd4094149391591487cb898e6083f461e6/log.db",
"MountLabel": "",
"Mounts": [
{
"Destination": "/storage",
"Mode": "rw",
"Propagation": "rslave",
"RW": true,
"Source": "/",
"Type": "bind"
},
{
"Destination": "/watch",
"Mode": "rw",
"Propagation": "rprivate",
"RW": true,
"Source": "/volume1/dockerdata/pia-qbittorrent/downloads/completed",
"Type": "bind"
},
{
"Destination": "/output",
"Mode": "rw",
"Propagation": "rprivate",
"RW": true,
"Source": "/volume1/media",
"Type": "bind"
},
{
"Destination": "/config",
"Mode": "rw",
"Propagation": "rprivate",
"RW": true,
"Source": "/volume1/dockerdata/filebot",
"Type": "bind"
}
],
"Name": "/filebot",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "",
"Networks": {
"filebot_default": {
"Aliases": [
"ad862e878014",
"filebot"
],
"DriverOpts": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAMConfig": null,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "",
"NetworkID": "cd27ae3f06df7812209cbf2ad27a053ea7b7352f5b3eb0f9b4dc8f62a6cede6e"
}
},
"Ports": {},
"SandboxID": "03a6c15af431e863c8e63515c686ea2958e38e9786e43502fe3d041f32a7f750",
"SandboxKey": "/var/run/docker/netns/03a6c15af431",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "/init",
"Platform": "linux",
"ProcessLabel": "",
"ResolvConfPath": "/volume1/@docker/containers/ad862e87801492358886d4680e6cb7cd4094149391591487cb898e6083f461e6/resolv.conf",
"RestartCount": 0,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 1,
"FinishedAt": "2023-02-12T21:09:23.716473774Z",
"FinishedTs": 1676236163,
"OOMKilled": false,
"Paused": false,
"Pid": 0,
"Restarting": false,
"Running": false,
"StartedAt": "2023-02-12T21:09:16.363765286Z",
"StartedTs": 1676236156,
"Status": "exited"
}
}
jeepster5 commented 1 year ago

Also, please provide the full container log: docker logs <container name>.

[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-cjk-font.sh: executing...
[cont-init   ] 10-cjk-font.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-filebot-beta.sh: executing...
[cont-init   ] 55-filebot-beta.sh: usage of FileBot beta version is not enabled.
[cont-init   ] 55-filebot-beta.sh: terminated successfully.
[cont-init   ] 55-filebot.sh: executing...
[cont-init   ] 55-filebot.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           FileBot                                       │
    │ Application Version:   4.9.6                                         │
    │ Docker Image Version:  23.02.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'filebot-info'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'amc'...
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.12.0 - built Feb  5 2023 15:02:07
[xvnc        ] Copyright (C) 1999-2021 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12013000, The X.Org Foundation
[xvnc        ] Sun Feb 12 21:09:17 2023
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'openbox'...
[openbox     ] ObRender-Message: Unable to load the theme 'OpenboxTheme'
[openbox     ] ObRender-Message: Falling back to the default theme 'Clearlooks'
[openbox     ] ObRender-Message: Unable to load the theme 'Clearlooks'
[openbox     ] Openbox-Message: Unable to load a theme.
[supervisor  ] service 'openbox' failed to be started: not ready after 5000 msec, giving up.
[supervisor  ] stopping service 'openbox'...
[supervisor  ] service 'openbox' exited (with status 1).
[supervisor  ] stopping service 'nginx'...
[supervisor  ] service 'nginx' exited (with status 0).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Sun Feb 12 21:09:23 2023
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:-nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.
jlesage commented 1 year ago

And:

ls -l /volume1/dockerdata/filebot/xdg
ls -Rl /volume1/dockerdata/filebot/xdg/data
jeepster5 commented 1 year ago

Please keep open... need time to reconfigure SSH etc

jeepster5 commented 1 year ago
gpadmin@Synology:/$ ls -l /volume1/dockerdata/filebot/xdg
total 0
drwxrwxrwx+ 1 gpadmin administrators 34 Nov 14  2021 cache
drwxrwxrwx+ 1 gpadmin administrators 44 Apr 15  2022 config
drwxrwxrwx+ 1 gpadmin administrators 48 Jan  9 17:41 data
drwxrwxrwx+ 1 gpadmin administrators 18 Jan  9 17:42 state
gpadmin@Synology:/$ ls -Rl /volume1/dockerdata/filebot/xdg/data
/volume1/dockerdata/filebot/xdg/data:
total 4
-rw-------  1 gpadmin administrators 218 Dec 28 09:37 recently-used.xbel
drwxrwxrwx+ 1 gpadmin administrators  24 Feb 12 21:09 themes

/volume1/dockerdata/filebot/xdg/data/themes:
total 0
d--------- 1 gpadmin administrators 18 Feb 12 21:09 OpenboxTheme
ls: cannot open directory '/volume1/dockerdata/filebot/xdg/data/themes/OpenboxTheme': Permission denied
jeepster5 commented 1 year ago

Starting the container seems to delete all access permissions for /volume1/dockerdata/filebot/xdg/data/themes/OpenboxTheme (or does it recreates the directory without inheriting permissions?)

jlesage commented 1 year ago

or does it recreates the directory without inheriting permissions?

That seems to be the case. First, the container removes xdg/data/themes/OpenboxTheme. Then, /opt/base/share/themes/Light is copied to xdg/data/themes/OpenboxTheme.

If you run docker run --rm jlesage/jdownloader-2 ls -ld /opt/base/share/themes/Light, you should see that the original folder has the correct permissions.

Do you have an ACLs that might interfere?

jeepster5 commented 1 year ago

There's no ACLs I can see that might cause a problem. docker user has r/w throughout all of dockerdata and the container worked for months prior to v23.02.2. But for whatever reason, when it's copied now, it comes over with empty permissions. (Btw thank you so much for your time with this.)

jlesage commented 1 year ago

the container worked for months prior to v23.02.2

In previous versions, the way things were done internally might have changed.

Can you perform the following tests:

jeepster5 commented 1 year ago

Mapping /config to a new /volume1/dockerdata/filebot2 resulted in the same error, but mapping it to /tmp/filebot allowed it to start. Seems to be working except for low storage limits for tmpfs. Presumably if the Synology restarts I have to recreate the /tmp/filebot folder as it doesn't seem to do it automatically on container start.

jlesage commented 1 year ago

Mapping to /tmp/filebot was just for test purpose. It's obviously not a solution. However, this test does show that something different happens when using /volume1/dockerdata.

Could you try to use a different parent folder under /volume1, like /volume1/dockerdata2, which would not have any ACLs?

Can you also verify/share the ACLs applied with:

getfacl /volume1/dockerdata
jlesage commented 1 year ago

Also, are you able to reproduce the issue by manually coping a folder to /volume1/dockerdata ? Try a copy as the root user and also as the same user as you configured for the container.

smithj33 commented 1 year ago

Hey, this is still an issue. When the container is built or even stopped/started, it removes all permissions, only from the OpenboxTheme folder. All files and folders above and below it have the correct permissions. Not sure why only this folder. Synology doesnt have getfacl but I found the command. See at the bottom. I checked the 'themes' folder then the 'OpenboxTheme' folder.

./cache: total 0 drwx------+ 1 dockerlimited users 450 Apr 16 02:35 fontconfig drwx------+ 1 dockerlimited users 22 Apr 16 02:36 openbox

./cache/fontconfig: total 112 -rwx------+ 1 dockerlimited users 184 Apr 16 02:35 3830d5c3ddfd5cd38a049b759396e72e-le64.cache-8 -rwx------+ 1 dockerlimited users 90824 Apr 16 02:35 386ad34c5eaeb46f7db63aa04756d58d-le64.cache-8 -rwx------+ 1 dockerlimited users 120 Apr 16 02:35 5ca8086aeacc9c68e81a71e7ef846b3b-le64.cache-8 -rwx------+ 1 dockerlimited users 4208 Apr 16 02:35 605eb33399efa08596766eba8c7361d5-le64.cache-8 -rwx------+ 1 dockerlimited users 160 Apr 16 02:35 a1c95d6dfc9a7b34f44445cf81166004-le64.cache-8

./cache/openbox: total 4 -rwx------+ 1 dockerlimited users 220 Apr 16 02:36 openbox.log

./data: total 0 drwx------+ 1 dockerlimited users 24 Apr 16 02:36 themes

./data/themes: total 0 d--------- 1 dockerlimited users 18 Apr 16 02:36 OpenboxTheme

./data/themes/OpenboxTheme: total 0 drwxr-xr-x 1 dockerlimited users 312 Apr 16 02:36 openbox-3

./data/themes/OpenboxTheme/openbox-3: total 56 -rw-r--r-- 1 dockerlimited users 231 Apr 16 02:36 close_hover.xbm -rw-r--r-- 1 dockerlimited users 136 Apr 16 02:36 close.xbm -rw-r--r-- 1 dockerlimited users 151 Apr 16 02:36 desk_hover.xbm -rw-r--r-- 1 dockerlimited users 157 Apr 16 02:36 desk_toggled.xbm -rw-r--r-- 1 dockerlimited users 133 Apr 16 02:36 desk.xbm -rw-r--r-- 1 dockerlimited users 160 Apr 16 02:36 iconify_hover.xbm -rw-r--r-- 1 dockerlimited users 142 Apr 16 02:36 iconify.xbm -rw-r--r-- 1 dockerlimited users 225 Apr 16 02:36 max_hover.xbm -rw-r--r-- 1 dockerlimited users 154 Apr 16 02:36 max_toggled.xbm -rw-r--r-- 1 dockerlimited users 130 Apr 16 02:36 max.xbm -rw-r--r-- 1 dockerlimited users 154 Apr 16 02:36 shade_hover.xbm -rw-r--r-- 1 dockerlimited users 136 Apr 16 02:36 shade.xbm -rw-r--r-- 1 dockerlimited users 4433 Apr 16 02:36 themerc

sudo synoacltool -get themes CL version: 1 Archive: is_inherit,is_support_ACL Owner: [dockerlimited(user)] [0] user:dockerlimited:allow:rwxpdDaARWc--:fd-- (level:4) [1] group:administrators:allow:rwxpdDaARWc--:fd-- (level:4)

sudo synoacltool -get OpenboxTheme/ (synoacltool.c, 489)It's Linux mode

danparr commented 1 year ago

@jlesage - any more thoughts on a solution to this? I'm witnessing the same issue

jlesage commented 1 year ago

Could you provide the output of:

docker run --rm jlesage/filebot sh -c "ls -l /opt/base/share/themes/ && mkdir -p /config/xdg/data/themes && cp -r /opt/base/share/themes/Light /config/xdg/data/themes/Test1 && cp -a /opt/base/share/themes/Light /config/xdg/data/themes/Test2 && ls -l /config/xdg/data/themes/"
kevinmnm commented 10 months ago

Having same issue here

jlesage commented 10 months ago

See my previous comment.

N1ck01as commented 8 months ago

Hello @jlesage , I've the same issue (on Synology too) and here is the output of docker run:

$ docker run --rm jlesage/filebot sh -c "ls -l /opt/base/share/themes/ && mkdir -p /config/xdg/data/themes && cp -r /opt/base/share/themes/Light /config/xdg/data/themes/Test1 && cp -a /opt/base/share/themes/Light /config/xdg/data/themes/Test2 && ls -l /config/xdg/data/themes/" total 0 drwxr-xr-x 1 root root 32 Dec 21 00:22 Dark drwxr-xr-x 1 root root 18 Dec 21 00:22 Light total 0 drwxr-xr-x 1 root root 18 Mar 1 11:52 Test1 drwxr-xr-x 1 root root 18 Dec 21 00:22 Test2

N1ck01as commented 8 months ago

As a workaround, you can create a top-level volume:

version: '3'
services:
  filebot:
    image: jlesage/filebot
    ports:
      - "5888:5800"
    environment:
      - USER_ID=1026
      - GROUP_ID=101
      - LANG=fr_FR.UTF-8
      - DARK_MODE=1
    volumes:
      - config:/config:rw
      - "/volume1/homes/Nicolas:/storage:rw"
volumes:
  config:
jlesage commented 8 months ago

Thanks for the info. Looks like the issue occurs only when the /config is mapped to a folder on Synology.

Can you run the same command, but this time with a mapping of /config ? Here in the command I used /volume1/dockerdata/filebot, but you can use the folder you would normally use.

docker run --rm -v /volume1/dockerdata/filebot:/config jlesage/filebot sh -c "ls -l /opt/base/share/themes/ && mkdir -p /config/xdg/data/themes && cp -r /opt/base/share/themes/Light /config/xdg/data/themes/Test1 && cp -a /opt/base/share/themes/Light /config/xdg/data/themes/Test2 && ls -l /config/xdg/data/themes/"
N1ck01as commented 8 months ago

Here is the output:

docker run --rm -v /volume1/Docker/filebot:/config jlesage/filebot sh -c "ls -l /opt/base/share/themes/ && mkdir -p /config/xdg/data/themes && cp -r /opt/base/share/themes/Light /config/xdg/data/themes/Test1 && cp -a /opt/base/share/themes/Light /config/xdg/data/themes/Test2 && ls -l /config/xdg/data/themes/"
total 0
drwxr-xr-x 1 root root 32 Dec 21 00:22 Dark
drwxr-xr-x 1 root root 18 Dec 21 00:22 Light
total 0
d--------- 1 root root 18 Mar  8 10:29 Test1
drwxr-xr-x 1 root root 18 Dec 21 00:22 Test2