Webcam is broken after Crowsnest update

Mainsail have shipped a Crowsnest update that requires manual intervention: See Mainsail support thread: https://discord.com/channels/758059413700345988/1110268408299270255
24 Replies
rising-crimson
rising-crimsonOPβ€’2y ago
Ok, so to summise after updating Crowsnest in the webUI: SSH to your Pi and remove the old Crowsnest:
cd ~/crowsnest
git switch legacy/v3
make uninstall
cd ~/crowsnest
git switch legacy/v3
make uninstall
Optionally backup your old config because it might get overwritten during the reinstall:
cd ~/printer_data/config/
cp crowsnest.conf crowsnest.bak
cd ~/printer_data/config/
cp crowsnest.conf crowsnest.bak
After that you can install the new version. Run following commands for that:
cd ~/crowsnest
git switch master
git pull
sudo make install
cd ~/crowsnest
git switch master
git pull
sudo make install
Reboot Pi:
reboot now
reboot now
Browse to https://ratos.local Edit your new crowsnest.conf -- Don't just paste your old one, there's new stuff!! Grab your camera addresses/v4l enhancements from the old one and paste them into the correct place.
It's now recommended to use: mode: camera-streamer instead of mjpeg. Now change your webcam settings to use WebRTC for best performance:
rising-crimson
rising-crimsonOPβ€’2y ago
No description
rising-crimson
rising-crimsonOPβ€’2y ago
If you are getting freezing, reboot the Pi again and ensure your browser is not blocking WebRTC, as some browsers/plugins do.
miklschmidt
miklschmidtβ€’2y ago
I'm gonna borrow your image πŸ˜„
rising-crimson
rising-crimsonOPβ€’2y ago
My leg makes a cameo. It’s first and probably final moment of fame.
miklschmidt
miklschmidtβ€’2y ago
Blog post with accurate and detailed steps here: https://os.ratrig.com/blog/crowsnest-v4-breaking-changes-manual-upgrade/
Crowsnest v4 contains breaking changes and requires manual steps to...
Crowsnest just recently made huge changes to the way it works. This is great news, because it should be much faster and more reliable. Unfortunately, it also means that there are major breaking changes, and you'll need to do some manual steps to upgrade. When you update to V4 through the machine tab in mainsail, crowsnest will stop working until...
vicious-gold
vicious-goldβ€’2y ago
Hello, I'm having issues with the make, it hangs at 75% the pi gets stuck, can't even ssh to him. stopped the process (ctrl+c) and started it again, its ate 75% since 1h already
miklschmidt
miklschmidtβ€’2y ago
Which pi model and which variant of the OS?
vicious-gold
vicious-goldβ€’2y ago
ratos 2 - pi3 A
miklschmidt
miklschmidtβ€’2y ago
32bit or 64bit? i suspect 64bit, in which case your issue is a memory issue. Don't run 64bit unless you have a pi4 with at least 2gb of memory. If you're on 32bit, then i'd take it to https://discord.com/channels/758059413700345988/1036329187771957269 (Crowsnest is a mainsail-crew project)
vicious-gold
vicious-goldβ€’2y ago
No description
vicious-gold
vicious-goldβ€’2y ago
32bits
miklschmidt
miklschmidtβ€’2y ago
are you sure? What's the name of the image you downloaded? If you're indeed on 32-bit, create a thread over on the mainsail discord. Alternatively, you can try to go back to V3. Instructions here: https://discord.com/channels/582187371529764864/1111030612384559214/1111202703440367729
vicious-gold
vicious-goldβ€’2y ago
No description
miklschmidt
miklschmidtβ€’2y ago
you can't tell from this. Check the image you downloaded.
vicious-gold
vicious-goldβ€’2y ago
I don't have it anymore, it was directly at the beguining of the ratos2
vicious-gold
vicious-goldβ€’2y ago
No description
vicious-gold
vicious-goldβ€’2y ago
this is where it blocks
miklschmidt
miklschmidtβ€’2y ago
try this: dpkg-architecture -q DEB_BUILD_ARCH That should tell you if you're on 32 or 64
vicious-gold
vicious-goldβ€’2y ago
pi@ratos:~ $ dpkg-architecture -q DEB_BUILD_ARCH armhf 32bits
miklschmidt
miklschmidtβ€’2y ago
that's 32bit yeah I'd go to the mainsail discord then OR go back to v3
vicious-gold
vicious-goldβ€’2y ago
if possible want to try tyo fix with v4 else I will go back
miklschmidt
miklschmidtβ€’2y ago
πŸ‘
adverse-sapphire
adverse-sapphireβ€’2y ago
This place is a life saver, same issue fixed in two minutes
Want results from more Discord servers?
Add your server