-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] keeps crashing/freezing after timelapse each morning. #4193
Comments
All the extra log entries are because you have We can't do much without the log file. If you have the Pi desktop you can use it's browser and drag and drop the file. |
Ok that makes sense. |
Which file? The Pi browser is on the Pi's Taskbar - on mine it's a blue globe. The "log" file is |
im so sorry, im so confused. |
On the Pi desktop, open the Pi browser and go to the Allsky GitHub page and log in, just like you do on your PC. Click on the Click on the File Explorer icon on the Pi desktop (I think it looks like a folder, similar to Windows). In that window, go to |
@clambert24, Eric |
ok. so think i have managed to work out how to do the log etc. does this help? |
@clambert24, perfect. Thanks for attaching the files. Did the Linux Basics page help? Did the Pi crash or freeze after the last entry in the log file "Posting camera details to Allsky map" ? FYI, Support for Buster is going away soon, so I suggest upgrading to Bookworm 64-bit when you can. I still have to upgrade one of my Pi's. |
yes it did help, but was still a little confusing as i do like a step by step guide. the picture freezes in the morning after the timelapse/sunrise has happened. i can still login remotely afterwards etc, but if i leave it, it doesn't start recording again at night etc, so i have to go into settings and reboot pi for it to continue doing what it should. FYI. i am running on Bookworm 64-bit as iv just checked. |
Did the "picture freeze" after the last entry in the log file "Posting camera details to Allsky map" ? For example, if you did nothing after the freeze, and waited an hour, then looked at the end of the log file, it would have been identical? At the next freeze, please do the following:
A reboot is rarely needed in Linux. For Allsky problems, stopping and starting Allsky usually works. |
ok thank you. ok so i shall give that a go and i will see tomorrow what happens, its just very confusing thats all because it was working fine with no problems. |
I don't think this is an Allsky bug. I'm pretty sure other people have had this problem and it was caused by Linux killing Allsky because it was using "too much" CPU. |
@clambert24 Assuming you are using a Raspi HQ camera. The reason your system is hanging is most likely due to running out of memory. If you are trying to generate a timelapse at the native resolution of 4056x3040, ffmpeg will require ~2.5GB of memory (more than your 2GB available). The amount of memory needed by ffmpeg is relative to the output resolution of the video (not the input images). You could try adding I would also suggest setting up the watchdog function on your Pi. This will automatically reboot the system if it hangs. |
Hi. Ok that is good information thank you. |
I could not find anything using a quick search of the allsky docs. I have a pretty easy guide in the indi-allsky wiki: https://github.com/aaronwmorris/indi-allsky/wiki/Raspberry-Pi-Watchdog |
I had a similar timelapse issue which I root caused back to the USB C power supply. Was using a spare USB plug which I had for charging mobiles, to run my PI 5 8Gb and it was fine for everything except when the PI was on at full load for extended duration. It could not supply the necessary power and would cause a crash at a random point during the timelapse creation. Bought the recommended Raspberry PI5 27W USB-C power supply and have never had a timelapse creation crash since installing it. Hope this helps you out. |
Ok, so I applied the setting --vf scale=-2:2160 and now it's not generating a timelapse 😕. |
Inspect the log to see what error is being generated. You should be able to attempt to generate the timelapse manually, but I do not recall the command to do so with allsky. |
@clambert24, To change the size of the timelapse video update the Timelapse Going forward, please remember that the Allsky Documentation is your friend. It describes every setting and explains what most things are and how to use them, like timelapse. There's also a ton of troubleshooting info in the Documentation. I'm curious what the "Images" screenshot is supposed to tell us? |
Camera model
rpi hd
Operating System
Buster
Allsky version
v2024.12.06
Pi and amount of memory (512 MB, 1, 2, 4, or 8 GB)
Bug Description
every day after its completed its timelapse the video feed crashes/freezes and i have to reboot the system to get the live feed back again and for it to start recording again. i did notice when i ran cat /var/log/allsky.log | less towards the end it was producing ALLOT of extra info i have never seen before, in this case (added extra data field)
Log and configuration files (ATTACH files, do NOT copy/paste them)
I dont know how to do that. (sorry)
The text was updated successfully, but these errors were encountered: