update_manager entry for crowsnest in shipped moonraker.conf causes crowsnest to break after an update
VioletEternity opened this issue · 2 comments
What happened
An update broke crowsnest. When started, crowsnest emits these log messages and stops:
May 27 07:51:48 ender-5-s1 crowsnest[3986]: crowsnest - A webcam Service for multiple Cams and Stream Services.
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Version: v4.0.2
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Prepare Startup ...
May 27 07:51:48 ender-5-s1 crowsnest[3986]: INFO: Host information:
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Distribution: Raspbian GNU/Linux 11 (bullseye)
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Release: MainsailOS release 1.1.1 (bullseye)
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Kernel: Linux 6.1.21-v7+ armv7l
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Model: Raspberry Pi 3 Model B Rev 1.2
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Available CPU Cores: 4
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Available Memory: 891312 kB
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Host Info: Diskspace (avail. / total): 7.7G / 14G
May 27 07:51:48 ender-5-s1 crowsnest[3986]: INFO: Checking Dependencys
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Dependency: 'crudini' found in /usr/bin/crudini.
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Dependency: 'find' found in /usr/bin/find.
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Dependency: 'xargs' found in /usr/bin/xargs.
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Dependency: 'ustreamer' found in bin/ustreamer/ustreamer.
May 27 07:51:48 ender-5-s1 crowsnest[3986]: Dependency: 'camera-streamer' not found. Exiting!
May 27 07:51:48 ender-5-s1 systemd[1]: crowsnest.service: Main process exited, code=exited, status=1/FAILURE
May 27 07:51:48 ender-5-s1 systemd[1]: crowsnest.service: Failed with result 'exit-code'.
May 27 07:51:48 ender-5-s1 systemd[1]: crowsnest.service: Consumed 1.424s CPU time.
What did you expect to happen
An update to leave crowsnest in a functional state.
How to reproduce
Install MainsailOS with the version that was shipped in Raspberry Pi imager on Feb 21 and update crowsnest.
Additional information
A recent commit to crowsnest (mainsail-crew/crowsnest@95c1dca) has added a new dependency, camera-streamer
. Although Moonraker will run tools/install.sh
when updating, this isn't sufficient and the build will fail; it is necessary to run bin/build.sh
first.
Just read the announcement... Or read other issues
Ahoi!
It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.
We use github to handle bugreports, feature requests and
planning new releases.
Please use our Discord-Server for help: discord.gg/mainsail
This ticket will be automatically closed.
Fair wind and a following sea!
~ Your friendly MainsailGithubBot
PS: I'm just an automated script, not a real sailor.