Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crowsnest is broken after system packages upgrade. #143

Closed
vladimir-poleh opened this issue Jul 20, 2023 · 10 comments
Closed

Crowsnest is broken after system packages upgrade. #143

vladimir-poleh opened this issue Jul 20, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@vladimir-poleh
Copy link

What happened

Board: Raspberry Pi 4
OS: Raspberry Pi OS (Debian GNU/Linux 11 (bullseye) arm64)

After updating system packages I have broken camera streaming with following error in the log:

[07/20/23 21:28:23] crowsnest: Starting camera-streamer with Device /base/soc/i2c0mux/i2c@1/ov5647@36 ...
[07/20/23 21:28:23] crowsnest: DEBUG: camera-streamer [cam 1]: Parameters: --http-port=8080 --camera-path=/base/soc/i2c0mux/i2c@1/ov5647@36 --camera-type=libcamera --camera-format=YUYV --camera-snapshot.height=1080 --camera-width=1296 --camera-height=972 --camera-fps=15 --camera-auto_reconnect=1 --camera-options=rotate=180
[07/20/23 21:28:23] crowsnest: DEBUG: camera-streamer [cam 1]: /home/pi/crowsnest/bin/camera-streamer/camera-streamer: error while loading shared libraries: libcamera.so.0.0.4: cannot open shared object file: No such file or directory
[07/20/23 21:28:23] crowsnest: ERROR: Start of camera-streamer [cam 1] failed!

Upgraded packages:

libgpac10:arm64 (1.0.1+dfsg1-4+deb11u2, 1.0.1+dfsg1-4+deb11u3)
libcamera-dev:arm64 (0~git20230302+923f5d70-1, 0~git20230707+2783c8d8-1)
python3-picamera2:arm64 (0.3.9-1, 0.3.12-1)
libcamera-apps-lite:arm64 (0~git20230301+54a781d-1, 1.2.1-1)
libssl-dev:arm64 (1.1.1n-0+deb11u5, 1.1.1n-0+deb11u5+rpt1)
libssl1.1:arm64 (1.1.1n-0+deb11u5, 1.1.1n-0+deb11u5+rpt1)
libcamera0:arm64 (0~git20230302+923f5d70-1, 0~git20230707+2783c8d8-1)
libgstreamer-plugins-base1.0-0:arm64 (1.18.4-2, 1.18.4-2+deb11u1)
python3-libcamera:arm64 (0~git20230302+923f5d70-1, 0~git20230707+2783c8d8-1)
openssl:arm64 (1.1.1n-0+deb11u5, 1.1.1n-0+deb11u5+rpt1)

File libcamera.so.0.0.4 is missing in file system, updated .so file exists in /usr/lib/aarch64-linux-gnu/libcamera.so.0.0.5

What did you expect to happen

Crowsnest is able to stream video from camera.

How to reproduce

Upgrade libcamera0 to version 0~git20230707+2783c8d8-1.

Additional information

No response

@vladimir-poleh vladimir-poleh added the bug Something isn't working label Jul 20, 2023
@iCarl
Copy link

iCarl commented Jul 20, 2023

I have this exact issue

@KwadFan
Copy link
Member

KwadFan commented Jul 21, 2023

Hey there, I heard that internally yesterday. Please recompile camera-streamer.

Run

cd ~/crowsnest
make buildclean
make build

That should solve the Issue for now.

Regards Kwad

@rnaharro
Copy link

Hey there, I heard that internally yesterday. Please recompile camera-streamer.

Run

cd ~/crowsnest
make buildclean
make build

That should solve the Issue for now.

Regards Kwad

This solve the issue for me!
Thanks!

@vladimir-poleh
Copy link
Author

Recompiling resolves this problem.

@drizztguen77
Copy link

Recompiling fixed it for me as well

@travmo
Copy link

travmo commented Aug 9, 2023

Can also confirm, KwadFan's steps resolved the issue for me as well

@jinnn1989
Copy link

I have same issue, resinstalled Crowsnest but when i hit command for Afmode=2, nothing happens, I think this has broken autofocus. and even LenPosition is not working @KwadFan

@testack18
Copy link

Hey there, I heard that internally yesterday. Please recompile camera-streamer.

Run

cd ~/crowsnest
make buildclean
make build

That should solve the Issue for now.

Regards Kwad

That did NOT helped for me. Issue is the same.

@kipp6912
Copy link

I cant even get it to compile camera-streamer. Did a clean install did the build clean and I always get this error.
make[2]: Leaving directory '/home/vmoczulski/crowsnest/bin/camera-streamer'
make[1]: *** [Makefile:62: all] Error 2
make[1]: Leaving directory '/home/vmoczulski/crowsnest/bin/camera-streamer'
make: *** [Makefile:23: build] Error 2

@mryel00
Copy link
Member

mryel00 commented Oct 14, 2023

@testack18 @kipp6912 Please join the Discord if you need help. If your issue isn't resolved after doing this or gettings errors while building camera-streamer, the issues aren't related to this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants