#Issue with crowsnest service not starting up whenver printer is booted up.

22 messages · Page 1 of 1 (latest)

thorny dock
#

whenever a printer is powered on, crowsnest service needs to be restarted before webcam is working. I've got 3 printers and all 3 crowsnest are doing the same thing. they're all using C920 logitech USB webcam.
I've realised that V4.1 also has this line but I added 10 at the end to make it longer but still to no avail. --> CROWSNEST_ARGS="-c /home/pi/printer_data/config/crowsnest.conf -s 10" in ~/printer_data/systemd/crowsnest.env file.
MCU is M8P V1.1 and V1.2 with CM4 as host. Running latest version of klipper.

lean bloomBOT
#

Ahoi @thorny dock!
Welcome to the Mainsail support-forum!
There is a problem with the tags you selected for this post. Please fix them to fit your question.
For further information on tags please check the readme: #readme message

To change the tags of this post:

  1. Open the ... menu on the top right corner of this post.
  2. Find Edit tags
  3. Select the checkbox of the correct tags.

Usually you just need to select one tag!
If you still have no idea which one to choose, feel free to ask here.

Note: This is an automated message

Thanks for your cooperation!

#

Ahoi @thorny dock!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

thorny dock
hard smelt
#

Set log_level: debug and delete_log: true, then reproduce the issue and send a log, before restarting the service

thorny dock
#

Thanks, as in here?

#

or on command line via SSH?

hard smelt
thorny dock
hard smelt
#

Increase the startup delay. Seems like it cannot bind the port

#

Increase -s to maybe like 15 or 20

thorny dock
#

ok thanks. I'll try this now.

#

if it all works oky, should I swap ther log level and delete_log back to default?

hard smelt
#

Yes

thorny dock
#

thank you. I think it's sorted by giving it more time. Cheers

#

SOLVED - Issue with crowsnest service not starting up whenver printer is booted up.

hard smelt
#

Please also close this post, at the top right three dots menu

thorny dock
#

Issue with crowsnest service not starting up whenver printer is booted up.

#

I'm sorry, seems like the solution of adding 20 seconds is still helping printer to start webcam intermittently. So I just found that one of the printers still need service to be restarted manually after booting it up.

hard smelt
#

I would need again a log, if it's still ERROR [33.098 main] -- Can't bind HTTP on [127.0.0.1]:8080: Success you should further increase it, or try a different port, as some other application might block it for whatever reason at startup

#

The delay is only for the first boot, so it will not affect anything after the first boot.

thorny dock
#

ok, if I was to try diff port (8081), do i just need to change the port in the conf file? or is there anywhere else that I need to change as well?