#Picam again does not want to connect

1 messages · Page 1 of 1 (latest)

tame meteor
#

Hi,

my Picam again does not want to connect. I t just shows the blue rotating circle.

Already made a SSH connection and did the following.

cd ~/crowsnest/bin/camera-streamer
make clean
make

Why is the Picam always having problems. Sometimes it wil work and then a period later it is not.

How can I fix this?

Thank you in advance!

#

This shows

fatal: No names found, cannot describe anything.
echo "#define GIT_VERSION ""\n#define GIT_REVISION "16ab0e4"" > version.h.tm p;
diff -u version.h version.h.tmp || mv version.h.tmp version.h;
rm -f version.h.tmp
make camera-streamer
make[1]: Entering directory '/home/pi/crowsnest/bin/camera-streamer'
cc -std=gnu17 -MMD -Werror -Wall -g -I/home/pi/crowsnest/bin/camera-streamer -D_ GNU_SOURCE -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera - DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/Basic UsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_pa rty/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/buffer.o device/buffer.c
cc -std=gnu17 -MMD -Werror -Wall -g -I/home/pi/crowsnest/bin/camera-streamer -D_ GNU_SOURCE -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera - DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/Basic

rotund prairie
#

So where exactly does this come from? This looks like an installation, but you are talking about an already installed crowsnest, don't you?

tame meteor
#

Yes, everything worked before. The last time u told me that it can happen again that the cam is not working. So I did those commands again. Everything is already installed.

#

This is showing in the SSH screen after i did the make command.

rotund prairie
#

Ah, ok.

#

There should be more output above and below that ig. But as you just recently got errors with missing disk space, this could be a bite more complicated....

#

Are the log, that you just delete, again a bit bigger?

tame meteor
#

I dont know where to find them anymore.

#

Ok, there are about 9 MiB and 4.8 Mib. you mean the syslog and user.log

#

The ones i deleted are not there anymore

#

There are many more error below that what i just posted. Above there is not.

rotund prairie
#

Also send the output of cat /etc/os-release

tame meteor
#

rm device/buffer_lock.o device/v4l2/buffer.o output/http_hls.o device/camera/camera_output.o html/webrtc device/buffer_queue.o util/ffmpeg/remuxer.o device/buffer.o device/camera/camera_decoder.o device/linksvice/v4l2/debug.o device/camera/camera_input.o util/opts/opts.o device/libcamera/device.o device/v4l2/demera.o device/camera/camera_rescaller.o device/libcamera/fake_camera.o output/rtsp/rtsp.o cmd/camera-strra_debug.o util/http/http.o device/camera/camera_pipeline.o device/dummy/buffer_list.o util/opts/controll/opts/fourcc.o output/output.o device/v4l2/device_list.o device/device_list.o device/v4l2/device_media..o device/dummy/dummy.o device/libcamera/libcamera.o util/http/http_methods.o cmd/camera-streamer/statusutil/opts/log.o html/index.html.o html/index.html.c device/camera/camera_isp.o device/v4l2/v4l2.o deviceer.o output/http_h264.o
make[1]: Leaving directory '/home/pi/crowsnest/bin/camera-streamer'

rotund prairie
#

Can you send a screenshot?

tame meteor
rotund prairie
#

This looks really weird

tame meteor
#

This is a screenshot. dont know how to get this bigger

rotund prairie
#

Can you make putty fullscreen and run it again?

#

I don't remember such output

tame meteor
#

yes i can. I also made the font size bigger to 14 px

rotund prairie
#

The font size is already fine

#

Oh and after it fails, send a screenshot of the beginning and one from the end

tame meteor
rotund prairie
#

Ok, this seems like a broken camera-streamer clone maybe. Run cd ~/crowsnest && sudo rm -rf bin/camera-streamer && sudo make install

tame meteor
#

After that the pi does not work anymore. Can't connect to it with SSH either

rotund prairie
#

If that's the case, your isntallation was already broke and this just ended it completely

tame meteor
#

ok, now it is. Did a another reboot

#

But the camera is still not connecting

#

Did the make clean and make again. That give the some error list

rotund prairie
#

Ok, then we have to debug it a bit further....
Send the output of cd ~/crowsnest/bin/camera-streamer && git status

tame meteor
#

On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

rotund prairie
#

The output of git describe --tags

tame meteor
#

fatal: No names found, cannot describe anything.

rotund prairie
#

Wait, I have to test something

#

I was maybe a bit confused

#

So the output is normal....

#

Send your crowsnest.log

tame meteor
rotund prairie
#

Set ```
log_level: debug
delete_log: true

#

Nvm

#

Sry, doing too much things at the same time right now

tame meteor
#

No problem.

#

I have followed that but still nothing.

rotund prairie
#

Send a new log

tame meteor
#

Yes, it is working now! Changed the mode:ustreamer to mode:camera-streamer.

#

Thank you Mr. Yel

rotund prairie
rotund prairie
tame meteor
#

Just one more thing

rotund prairie
#

Do you have timelapse setup correctly?

tame meteor
#

I really dont know. But never seens this messages before.

rotund prairie
#

This has nothing to do with crowsnest. I would suggest to open a new post, just to keep topics separated. Send there your moonraker.log