Docker container: lots of errors
Posted: 09 Jan 2023, 19:26
First off, LTNS @rednoah
So, I just ran a basic startup of the latest container, and it shows a lot of errors/warnings; particularly having to do with setting a user other than root and no permissions, but there's also an error near the end mentioning a bad .menu?
Few questions:
- How to resolve the errors/warnings mentioned?
- Is there a list of available docker environment vars for this container?
- How can I set the container to automatically maximize the Filebot gui on startup?
- I like to set a max memory limit on my containers to keep them reigned in; what would you recommend the max be for FB?
TIA

So, I just ran a basic startup of the latest container, and it shows a lot of errors/warnings; particularly having to do with setting a user other than root and no permissions, but there's also an error near the end mentioning a bad .menu?
Here's my Compose:01/09/2023 12:44:03 PM
+ xpra start --start-child=filebot --exit-with-children --bind-tcp=0.0.0.0:5454 --tcp-auth=none --daemon=no
01/09/2023 12:44:03 PM
Warning: XDG_RUNTIME_DIR is not defined
01/09/2023 12:44:03 PM
and '/run/user/1000' does not exist
01/09/2023 12:44:03 PM
using '/tmp'
01/09/2023 12:44:04 PM
2023-01-09 18:44:04,099 created tcp socket '0.0.0.0:5454'
01/09/2023 12:44:04 PM
2023-01-09 18:44:04,104 no uinput module (not usually needed)
01/09/2023 12:44:04 PM
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,802 pointer device emulation using XTest
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,856 serving html content from '/usr/share/xpra/www'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,857 wrote pid 46 to '/tmp/xpra/0/server.pid'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,881 Warning: failed to create socket directory '/run/user/1000/xpra'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,881 [Errno 13] Permission denied: '/run/user/1000'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,882 Warning: failed to create socket directory '/run/xpra'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,882 [Errno 13] Permission denied: '/run/xpra'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,882 Warning: socket directory '/tmp/xpra/0'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,882 expected permissions 700 but found 750
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 Warning: cannot create socket '/run/user/1000/xpra/filebot-0':
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 [Errno 2] No such file or directory
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 ($XDG_RUNTIME_DIR has not been created?)
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 cannot create group socket '/run/xpra/filebot-0'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 [Errno 2] No such file or directory
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,883 /run/xpra does not exist
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,884 created unix domain socket '/data/filebot/.xpra/filebot-0'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,884 created unix domain socket '/tmp/xpra/0/socket'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,886 xvfb pid=50
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,987 watching for applications menu changes in:
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,987 '/usr/share/applications'
01/09/2023 12:44:05 PM
2023-01-09 18:44:05,990 started command `filebot` with pid 76
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,146 Error parsing xdg menu data:
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,146 ParsingError in file '/etc/xdg/menus/kde-debian-menu.menu', File not found
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,146 this is either a bug in python-xdg,
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,147 or an invalid system menu configuration
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,216 15.6GB of system memory
01/09/2023 12:44:06 PM
Initialize Cache folder: /data/filebot/cache
01/09/2023 12:44:06 PM
Initialize Logs folder: /data/filebot/logs
01/09/2023 12:44:06 PM
Initialize TemporaryFiles folder: /data/filebot/tmp
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,341 started command `ibus-daemon` with pid 101
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,342 xpra is ready.
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,342 xpra X11 seamless version 4.4.3-r0 64-bit
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,343 uid=1000 (filebot), gid=1000 (filebot)
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,343 running with pid 46 on Linux Ubuntu 22.04 jammy
01/09/2023 12:44:06 PM
2023-01-09 18:44:06,344 connected to X11 display :0 with 24 bit colors
01/09/2023 12:44:06 PM
Initialize new disk cache: /data/filebot/cache/0
01/09/2023 12:44:06 PM
Jan 09, 2023 12:44:06 PM java.util.prefs.FileSystemPreferences$1 run
01/09/2023 12:44:06 PM
INFO: Created user preferences directory.
01/09/2023 12:44:09 PM
2023-01-09 18:44:09,333 Error parsing xdg menu data:
01/09/2023 12:44:09 PM
2023-01-09 18:44:09,333 ParsingError in file '/etc/xdg/menus/kde-debian-menu.menu', File not found
01/09/2023 12:44:09 PM
2023-01-09 18:44:09,333 this is either a bug in python-xdg,
01/09/2023 12:44:09 PM
2023-01-09 18:44:09,333 or an invalid system menu configuration
Code: Select all
filebot:
image: 'rednoah/filebot:xpra'
hostname: 'filebot'
environment:
TZ: 'America/Chicago'
PUID: '1000'
PGID: '1000'
volumes:
- '/opt/docker/configs/filebot/config:/data:rw'
- '/mnt/e/Media/.downloads/.filebot/media:/volume1:rw'
networks:
- 'htpc'
- 'security'
deploy:
mode: 'replicated'
replicas: 1
placement:
constraints:
- 'node.labels.Main == true'
resources:
limits:
memory: '1G'
restart_policy:
condition: 'any'
- How to resolve the errors/warnings mentioned?
- Is there a list of available docker environment vars for this container?
- How can I set the container to automatically maximize the Filebot gui on startup?
- I like to set a max memory limit on my containers to keep them reigned in; what would you recommend the max be for FB?
TIA