Pi acknowledges camera but octopi wont

Camera model
Raspberry Pi Camera Rev 1.3

What is the problem?
"Webcam stream not loaded" but Camera still works.

What did you already try to solve it?
I bought a New Camera as well as a new ribbon cable. looked up issues and troubleshooting. reboot and swapped all components and combinations thereof. made sure the contacts were good on the module itself as well. Disabled and reenabled camera support on both octopi and raspberry pi.

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)

-bash: /var/log/webcamd.log: No such file or directory
haproxy gives me a repeating "
May 19 16:17:44 octopi haproxy[565]: [WARNING] 139/161249 (565) : Exiting Master process...
May 19 16:17:44 octopi haproxy[565]: [ALERT] 139/161249 (565) : Current worker 566 exited with code 143
May 19 16:17:44 octopi haproxy[565]: [WARNING] 139/161249 (565) : All workers exited. Exiting... (143)
May 19 16:18:00 octopi haproxy[565]: [WARNING] 139/161800 (565) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear. "

Syslog gives me "
ay 19 00:00:00 octopi rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="325" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
May 19 00:00:00 octopi systemd[1]: logrotate.service: Succeeded.
May 19 00:00:00 octopi systemd[1]: Started Rotate log files.
May 19 00:00:01 octopi systemd[1]: man-db.service: Succeeded.
May 19 00:00:01 octopi systemd[1]: Started Daily man-db regeneration.
May 19 00:00:09 octopi dhcpcd[519]: enxb827eb8e837f: Router Advertisement from fe80::9691:7fff:fe86:da0d
May 19 00:00:29 octopi systemd[1]: webcamd.service: Start operation timed out. Terminating.
May 19 00:00:29 octopi webcamd[19726]: /root/bin/webcamd: line 103: kill: (19738) - No such process
May 19 00:00:29 octopi webcamd[19726]: Goodbye...
May 19 00:00:29 octopi systemd[1]: webcamd.service: Failed with result 'timeout'.
**May 19 00:00:29 octopi systemd[1]: Failed to start the OctoPi webcam daemon with the user specified config.**
May 19 00:00:29 octopi systemd[1]: webcamd.service: Service RestartSec=100ms expired, scheduling restart.
May 19 00:00:29 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 3334.
May 19 00:00:29 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
May 19 00:00:29 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...
May 19 00:00:29 octopi webcamd[19789]: Starting up webcamDaemon...
May 19 00:00:29 octopi webcamd[19789]: --- Configuration: ----------------------------
May 19 00:00:29 octopi webcamd[19789]: Unable to connect to X server
May 19 00:00:29 octopi webcamd[19789]: cfg_file:      /boot/octopi.txt
May 19 00:00:29 octopi webcamd[19789]: camera:        raspi:
May 19 00:00:29 octopi webcamd[19789]: usb options:   -r 640x480 -f 10
May 19 00:00:29 octopi webcamd[19789]: raspi options: -x 1920 -y 1080 -fps 25
May 19 00:00:29 octopi webcamd[19789]: http options:  -w ./www-octopi -n
May 19 00:00:29 octopi webcamd[19789]: Explicitly USB device:
May 19 00:00:29 octopi webcamd[19789]: ----------------------------------------------- "

Additional information about your setup (OctoPrint version, OctoPi version, ...)
Octoprint 1.4.0, Raspberry Pi 3b

When starting Octopi, the red LED flashes once quickly and then turns off, happens every reboot.

I get Supported=1 Detected=1 when looking for cam via SSH (vcgencmd get_camera).
When putting in the "raspistill -o image.jpg" the red light turns on and my TouchUI screen shows a current video feed of the camera for about 5 seconds before the light and feed turns back off.
my snapshot URL "http://127.0.0.1:8080/?action=snapshot" loads nothing. My chrome browser loads nothing in Octopi.local, as well as my TouchUI under the webcam tab.

Now, when looking through the Sysconfig while creating this post, I noticed "Failed to start the OctoPi webcam daemon with the user specified config."

This got me looking into the config files in /boot/config.txt and cross-referenced them with my settings only to find out the reason my camera wasn't being supported. I have a Version 1 camera and probably put in the resolution settings for a V2 module a while ago and forgot.

This problem was Solved but I still want to submit this report so that others with similar issues can find it. I loathe people posting issues and then abandoning the thread / replying "Solved", for years prior.

1 Like

Thanks for the report

Big thumbs up
:+1: