#Problems installing Crowsnest after updating Raspberry Pi OS from Buster to Bullseye.

56 messages · Page 1 of 1 (latest)

raven bone
#

I've recently updated RaspberryPi OS to Bullseye release, by updating sources.list and doing apt dist-upgrade. After all packages updated, kernel is now 6.1.24, and Crowsnest doesn't install, not with Kiauh nor manually. When running sudo make install it compiles ustreamer, downloads rtsp-simple-server, then writes 'Finished', and after adding user 'pi' into the group 'video' it fails with the following message:

>>>>>> Something went wrong! Please try again...```
This happens right after the line `Enable legacy camera stack ...` which is then replaced by the error message.

UPD: uncommon problem with a Pi booting and working over the network. Fixed manually.
onyx hazel
#

Ok, then let us try to run the commands one by one to see where exactly it fails.
First run sed -i "s/camera_auto_detect=1/#camera_auto_detect=1/" "/boot/config.txt"

#

What pi version are you using?

raven bone
raven bone
#

seems that I need to implicitly set this param to 0

onyx hazel
#

The upgrade to Bullseye doesn't add it automatically I guess

#

adding the camera_auto_detect=0 line could already solve the issue

raven bone
#

It didn't, you're right.

#

Added, rebooted the Pi, didn't help.

raven bone
#

Any other suggestions? )

onyx hazel
#

Sry, I'm doing something else right now too.
What is the output of sed -i "s/camera_auto_detect=1/#camera_auto_detect=1/" "/boot/config.txt" now?

#

And can you send your config?

#

I will try to fix it

raven bone
raven bone
onyx hazel
raven bone
#
hdmi_cvt=1024 600 60 3 0 0 0
hdmi_group=2
hdmi_mode=87
dtparam=spi=on
dtparam=audio=on
[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
initramfs initrd.img-6.1.24-v8+ followkernel```
#

initramfs setting is set because those PIs boot with PXE+TFTP, then mount / via iSCSI and remount /boot via NFS, they don't use any sdcard.

#

that's a small voron farm

#

All have the same problem after buster to bullseye upgrade

onyx hazel
raven bone
#

Let me check, had just taken config.txt from the another Pi that had a clean bullseye install

#

Didn't help. Will add debug output to install.sh now

#

I did that:

#

and got that:

onyx hazel
#

cat /etc/os-release

raven bone
onyx hazel
# raven bone

Wait, this didn't even print the Enable legacy camera stack ...

raven bone
#

It does that

#

but the line's getting rewritten with an error

onyx hazel
#

Sry forgot ^^

raven bone
#

oh.. it gets more interesting

onyx hazel
#

remove the gpu_mem=265 from the all section

raven bone
onyx hazel
#

try with sudo

raven bone
#

doesn't help if run with sudo from pi user

onyx hazel
#

Friend of mine says that it might be a NFS problem. So you could just comment out the enable_legacy_cam() on line 539

raven bone
#

Might be

onyx hazel
raven bone
#

sry, not available )

onyx hazel
#

It just confirms the NFS problem

raven bone
#

Yep.

onyx hazel
#

Just apply the lines manually. It adds start_x=1 and sets camera_auto_detect=0

raven bone
#

NFS server doesn't have nfslocks service started.

#

Thanks for help!

#

Okay, that's a rare problem with a Pi on a printer. Not a common case.

#

maybe I'll switch to nfs4 instead of v3