#Crowsnest .log_patch not found with make install
76 messages · Page 1 of 1 (latest)
Open your crows nest.conf and change the path
It should look like
I guess you have an old version before moonraker changed the path
[crowsnest]
log_patch: ~/printer_data/logs/crowsnest.log
is the entry i have...
ha..i got it ..again somehow spellchecking made math to patch ...ahrg
path
now install went fine (no errors), but cam does not show up, nor is something written in the logfile (0 byte) (i created it manually)
Hav you repowered the Pi after plug-in the cam?
yes
i see two video devices, but i only have one camera connected
● crowsnest.service - crowsnest - Multi Webcam/Streamer Control Deamon
Loaded: loaded (/etc/systemd/system/crowsnest.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-11-18 11:35:08 CET; 3min 51s ago
Docs: https://github.com/mainsail-crew/crowsnest
Process: 3012 ExecStart=/usr/local/bin/crowsnest $CROWSNEST_ARGS (code=exited, status=1/FAILURE)
Main PID: 3012 (code=exited, status=1/FAILURE)
CPU: 352ms
Nov 18 11:35:05 Vulcan systemd[1]: crowsnest.service: Failed with result 'exit-code'.
Nov 18 11:35:08 Vulcan systemd[1]: Stopped crowsnest - Multi Webcam/Streamer Control Deamon.
Nov 18 11:35:11 Vulcan systemd[1]: crowsnest.service: Start request repeated too quickly.
Nov 18 11:35:11 Vulcan systemd[1]: crowsnest.service: Failed with result 'exit-code'.
Nov 18 11:35:11 Vulcan systemd[1]: Failed to start crowsnest - Multi Webcam/Streamer Control Deamon.
ahhh..errors
That’s normal most cams use 2..4 devices
The service does not run
Please wait for @obtuse flicker
I am at work currently but you could prepare something.
Run
cd
cd crowsnest
make report
This will generate a report.txt in your Homefolder. Please upload that.
did it with sudo
ok, but without it fails
make: *** [Makefile:57: report] Fehler 1
df: /run/user/1000/doc: Operation not permitted
all files belong user Tom. all are at least rw
is df = diskfree ?
df:
Dateisystem 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
udev 1803744 0 1803744 0% /dev
tmpfs 367988 2920 365068 1% /run
/dev/sda2 29097996 9495072 18099488 35% /
tmpfs 1839924 0 1839924 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
/dev/sda1 523244 3496 519748 1% /boot/efi
tmpfs 367984 48 367936 1% /run/user/1000
tmpfs 367984 44 367940 1% /run/user/113
tmpfs 367984 44 367940 1% /run/user/0
So...
I checked it twice, seems that df is acting different on x86 machines what shouldnt be the case. But I patched it
Please update crowsnest and run it again without sudo
so, now back home again. Done it withoud sudo command, but bash asked me for a sudo password
ok, there are two errors...Log file (crowsnest.log
):
/home/tom/printer_data/logs/crowsnest.log
not found! [FAILED]
Installer .config file ():
/home/tom/crowsnest/tools/.config not found! [FAILED]
and for the missing.config...
no hidden files
Well, ignore .config
Thats used if you want to customize paths
But I've found your error and it seems my Docs are misleading
Please use for cam section [cam Ender_main] istead of [ender_main]
ok. seemed like a rights thing, i set read/write for all users and restarted..now i get an log file...
2 20:48:06] crowsnest: Supported Controls:
[11/18/22 20:48:06] crowsnest: brightness 0x00980900 (int) : min=1 max=255 step=1 default=16 value=16
[11/18/22 20:48:06] crowsnest: contrast 0x00980901 (int) : min=1 max=255 step=1 default=16 value=16
[11/18/22 20:48:06] crowsnest: hue 0x00980903 (int) : min=-128 max=127 step=1 default=16 value=16
[11/18/22 20:48:06] crowsnest: INFO: No usable CSI Devices found.
[11/18/22 20:48:06] crowsnest: V4L2 Control:
[11/18/22 20:48:06] crowsnest: No parameters set for [cam Ender_main]. Skipped.
[11/18/22 20:48:07] crowsnest: ERROR: Error 1 occured on line 147
[11/18/22 20:48:07] crowsnest: ERROR: Stopping crowsnest.
[11/18/22 20:48:07] crowsnest: Goodbye...
cam is a keyword here and parsed by script
ahh..changed it ..restart
ok , now thats a really step better..getting fps now, but a sign "no signal"
This doesnt sound good, tbh
i will do a complete reboot...
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 800x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 176x144
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)```
/home/tom/printer_data/config/crowsnest.conf found! [OK]
Print config file:
1 [crowsnest]
2 log_path: ~/printer_data/logs/crowsnest.log
3 log_level: verbose
4
5 [Ender_main]
6 mode: mjpg
7 port: 8080
8 device: /dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM_JH0319_20210727_v017-video-index1
9 #/dev/video0
10 resolution: 1024x768
11 max_fps: 20
Do you see the Error ?
works now..needed to change klippers setting to "mjep stream" from "adaptive mpeg"
thats the "old" config without cam , right ?
Thank you for supprt, Stephan!
You're welcome 
To get adaptive working you simply have to use a resolution supported by your cam 😉
1280x720 for ex.
hmm..that was the compatible one i chose
Use the ones from MJPG
..gonna test it
and also brightness.
ah..switching betweend adaptive and mpeg needs not only a restart of crowsnest, but also a browserrefresh..
Oh yes, I forgot sry 😬
#brightness 0x00980900 (int) : min=1 max=255 step=1 default=16 value=16..is what i want to set..not sure how to read the doc..hue: 20 ?
v4l2ctl: brightness=<yourdesiredvalue>
If you want add more use , to seperate parameters
May possible that cam reports setting but its hardcoded in cam firmware
well must be enough for now..guess i have to install LED´s first anyways...thanks again for your support ! maybe you want to integrate the camera capabilities with the installroutine into the logfile (and comment it out= if it is connected ?
ah..could be..i will test with my other cam at the weekend.
this is a 19euro cam..the other one a 70
so, dinners calls...
Have good meal, Camera capabilities are already in the Log 😉