[BUG] Read-only container output (logs) flooded with init_VideoIn failed · Issue #279 · OctoPrint/octoprint-docker · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gives me a working OctoPrint UI on host's 'http://localhost:8080/' URL ... except the output of the container now shows a stream of
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: (null)
i: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: init_VideoIn failed
messages.
I even tried to add an explicit -e ENABLE_MJPG_STREAMER=false but that does not help either.
Container Details
please run `docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.created"}}' octoprint/octoprint:<tag_you_are_using>' and list the date returned.
2024-11-05T09:21:10.037Z
To Reproduce
Steps to reproduce the behavior:
Run podman run --rm -p 8080:80 --name octoprint --read-only -e S6_READ_ONLY_ROOT=1 docker.io/octoprint/octoprint:latest
Observe the output showing
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: (null)
i: Desired Resolution: 640 x 480
i: Frames Per Second.: -1
i: Format............: JPEG
i: TV-Norm...........: DEFAULT
i: init_VideoIn failed
every second
Expected behavior
No messages about MJPG Streamer or init_VideoIn failed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
/etc/cont-init.d/01-mjpg-streamer-config seems to contain this (in version 2025-04-22T09:34:09.568Z):
#!/usr/bin/with-contenv bash
: "${ENABLE_MJPG_STREAMER:=false}"
# disable mjpg-streamer service if not enabled
if ! $ENABLE_MJPG_STREAMER; then
rm -rf /etc/services.d/mjpg-streamer
fi
Describe the bug
Running
works without problems. When I add
--read-only
to the command, I getThat is expected with s6 and my understanding is that
S6_READ_ONLY_ROOT=1
environment variable should fix that.Indeed,
gives me a working OctoPrint UI on host's 'http://localhost:8080/' URL ... except the output of the container now shows a stream of
messages.
I even tried to add an explicit
-e ENABLE_MJPG_STREAMER=false
but that does not help either.Container Details
please run `docker inspect --format '{{ index .Config.Labels "org.opencontainers.image.created"}}' octoprint/octoprint:<tag_you_are_using>' and list the date returned.
2024-11-05T09:21:10.037Z
To Reproduce
Steps to reproduce the behavior:
podman run --rm -p 8080:80 --name octoprint --read-only -e S6_READ_ONLY_ROOT=1 docker.io/octoprint/octoprint:latest
every second
Expected behavior
No messages about MJPG Streamer or init_VideoIn failed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: