mainsail-crew / crowsnest

Webcam Service for multiple Cams
GNU General Public License v3.0
324 stars 77 forks source link

crowsnest: dependency 'camera-streamer' not found. Exiting! #115

Closed tholterhus closed 1 year ago

tholterhus commented 1 year ago

What happened

updated to v4.0.2 last night, now I get the above error in my logs and no camera picture. This setup worked just fine until before the update to 4.0.2 (v3.0.7-3-g20ed6a8 being the previously installed version)

[05/21/23 20:32:14] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services. [05/21/23 20:32:15] crowsnest: Version: v3.0.7-3-g20ed6a8 [05/21/23 20:32:15] crowsnest: Prepare Startup ... [05/21/23 20:32:15] crowsnest: INFO: Checking Dependencys [05/21/23 20:32:15] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini. [05/21/23 20:32:15] crowsnest: Dependency: 'find' found in /usr/bin/find. [05/21/23 20:32:16] crowsnest: Dependency: 'logger' found in /usr/bin/logger. [05/21/23 20:32:16] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs. [05/21/23 20:32:16] crowsnest: Dependency: 'ffmpeg' found in /usr/bin/ffmpeg. [05/21/23 20:32:16] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/ustreamer. [05/21/23 20:32:16] crowsnest: Dependency: 'rtsp-simple-server' found in bin/rtsp-simple-server/rtsp-simple-server. [05/21/23 20:32:16] crowsnest: INFO: Detect available Devices [05/21/23 20:32:16] crowsnest: INFO: Found 2 total available Device(s) [05/21/23 20:32:16] crowsnest: INFO: Found 2 available camera(s) [05/21/23 20:32:16] crowsnest: /dev/v4l/by-id/usb-046d_0990_B3A0252D-video-index0 -> /dev/video2 [05/21/23 20:32:16] crowsnest: /dev/v4l/by-id/usb-Sunplus_IT_Co_HD_720P_webcamAN20200706001-video-index0 -> /dev/video0 [05/21/23 20:32:16] crowsnest: INFO: No usable CSI Devices found. [05/21/23 20:32:17] crowsnest: V4L2 Control: No parameters set for [cam 1]. Skipped. [05/21/23 20:32:17] crowsnest: V4L2 Control: No parameters set for [cam 2]. Skipped. [05/21/23 20:32:19] crowsnest: Try to start configured Cams / Services... [05/21/23 20:32:20] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue... [05/21/23 20:32:20] crowsnest: INFO: Configuration of Section [cam 2] looks good. Continue... [05/21/23 20:32:22] crowsnest: ... Done! [05/21/23 20:32:22] crowsnest: Starting ustreamer with Device /dev/video0 ... [05/21/23 20:32:22] crowsnest: Starting ustreamer with Device /dev/video2 ... [05/24/23 20:46:17] crowsnest: Shutdown or Killed by User! [05/24/23 20:46:17] crowsnest: Please come again :) [05/24/23 20:46:17] crowsnest: Goodbye... [05/24/23 20:46:18] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services. [05/24/23 20:46:18] crowsnest: Version: v4.0.2 [05/24/23 20:46:18] crowsnest: Prepare Startup ... [05/24/23 20:46:19] crowsnest: INFO: Checking Dependencys [05/24/23 20:46:20] crowsnest: Dependency: 'crudini' found in /usr/bin/crudini. [05/24/23 20:46:20] crowsnest: Dependency: 'find' found in /usr/bin/find. [05/24/23 20:46:20] crowsnest: Dependency: 'xargs' found in /usr/bin/xargs. [05/24/23 20:46:20] crowsnest: Dependency: 'ustreamer' found in bin/ustreamer/ustreamer. [05/24/23 20:46:20] crowsnest: Dependency: 'camera-streamer' not found. Exiting! [05/24/23 20:46:26] crowsnest: crowsnest - A webcam Service for multiple Cams and Stream Services.

What did you expect to happen

if there is a new dependancy, it should be installed by the update

How to reproduce

update to v4.0.2

Additional information

No response

tholterhus commented 1 year ago

this fixed the issue (as already noted in other previously closed issues):

cd ~/crowsnest sudo make install

but still, updating crowsnest via mainsail, this updating/re-installation process should be triggered automagically

djepsylon commented 1 year ago

Debian 10 (buster) has reached end of life.

Therefor crowsnest has also end support for this impossible to make install WM-Screenshots-20230528050141

meteyou commented 1 year ago

@tholterhus this is not possible with Moonraker. Check the Moonraker docs. It doesn't execute any script. It can only install system packages, but camera-streamer is no package. It has to compile it. Feel free to open a feature request on Moonraker fir this, but I don't think this will come because it's a security issue. But for us, it would be much easier, when users read announcements...

Crisis64 commented 1 year ago

I current have this issue as djepsylon described above, Not sure what needs to be done here, but does this mean we cannot use webcam any more?

meteyou commented 1 year ago

@Crisis64 just read the other posts or announcements...

Crisis64 commented 1 year ago

meteyou

Can you please provide an other post?

meteyou commented 1 year ago

just check the pinned issues here on this repo or join our discord to read the annoncements

Crisis64 commented 1 year ago

Thanks Stefan I down graded back to v3 & all is good nowSent from my iPhoneOn Jun 5, 2023, at 4:07 PM, Stefan Dej @.***> wrote: just check the pinned issues here on this repo or join our discord to read the annoncements

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

thezeekeal commented 1 year ago

@meteyou

just check the pinned issues here on this repo or join our discord to read the annoncements

man, aren't you helpful. We obviously have found this thread because we missed an announcement and now that we're looking to fix our unforeseen issue of updating Crowsnest actually breaking our cameras we're getting stonewalled by you.

You know what you're doing? It's the same as when you used to call a company and they would just transfer-loop you between departments until you hung up. That's how much help you are in this thread. So, thanks, thanks for that.

djepsylon commented 1 year ago

All we demand is a clear answer for fix this p^roblem, this a problem who is create by update process not bad use of us and after few hours of search we have just a " check docs or check issu and posts" ..... i think that if you make a clear and definitive answer, people will stop pestering you for help. If we end up here on this github in general, it's because people have already done some searching. One more thing, if you don't have a solution and you're looking for a way to solve the problems caused by this update, just say that you're looking and that you need to wait rather than sending people from one forum to another or from one post to another, especially as, once again, this problem is the result of an "official" update and not due to miss use on our part. I'd like to make it clear that I'm not criticising the already incredible work of the people who work on the code for Mainsail, Moonraker and the rest, I'm just saying that your approach to replying to people isn't the best. Not all klipper users have the level of a developer and that's due to the great work done to simplify the interface and cause of that, klipper is accessible to as many people as possible and not everyone always has the time to spend hours looking for how to fix a bug so a clear answer is often the best way to be less annoyed by a lot of questions about the same problem.

well me peronnaly after few days on the mainsail discord we don't have find issue and finally i ve uninstalled crowsnest and installed spyglass and all works good now. i ve use this method for do that (sorry it's in french, i'm belgian) i know picamera2 is not required but i don't know for what but without it it don't work. this is the only way i ve find for my camera on my 3 raspberrys works:

"sudo apt-update" -"sudo apt-upgrade" -Désinstaller crownest -Verifier que la camera est detectée ==> "libcamera-hello --list-camera" -Installer picamera2 :"sudo apt install -y python3-pyqt5 python3-opengl" -cd ~ -Spyglass==> -"git clone https://github.com/roamingthings/spyglass.git" -"cd spyglass" -"./run.py" -verifier si le stream fonctionne en ouvrant une page internet avec ":8080/stream" et la video devrait s afficher. faire que le script se lance au demarrage ==> -"sudo crontab -e" et ca ouvre un fichier et ajouter la ligne suivant a la fin.-"@reboot python3 /home/pi/spyglass/run.py -r 1920x1080 -f 10 -af manual -l 4.5" -Pour la config de cam dans mainsail==> pour le flux et l instantané la meme adresse: "webcam/stream" -le service: UV4L-MJPEG (modifié)

and for the debian 10 problem i ve make an update of debian to bullseye version

meteyou commented 1 year ago

@thezeekeal sry, but all the same questions in tons of issues and posts on the discord are only waste of time! we pinned a issue in this issue tracker. its quite THE FIRST BUTTON YOU CAN CLICK in the issue tracker! if you dont find it, just read the titles of the issues in the issue tracker or use the search (there are only 9 open issues in the issue tracker of crowsnest... it cannot be sooooooooooo difficult to find it)

or just open the crowsnest docs and read the FAQ...

meteyou commented 1 year ago

@djepsylon i made already 100 of clear answers and tried to add links to guides on every possible posts, but users try to ask on any other posts as well... i will lock this post now!

meteyou commented 1 year ago

@djepsylon only in this thread, are 3 different issues. you have a complete different issue than the first post. the first post only dont follow the update guide. and yes. a official update can also have a guide to update... thats no issue of the update.

you updated buster to bullseye. raspberry also changed from openMAX IL to libcamera between these releases. so a upgrade from buster to bullseye is "trash" and we dont recommend it, because of this fact. we also have a guide for buster users to use the old crowsnest version (without libcamera support). so your solution to install spyglass is also a "wrong" solution and not the case i would recommand any user for a upgraded buster os.