Comments (8)
I believe there are 2 different issues here:
Host key verification failed happens when it's the first time you're trying to upload to your server. lftp doesn't ask you if you're trusting this server and want to add the key to your known hosts in /home/pi/.ssh
In order to fix it, try to ssh to the server. It will prompt you to add the key:
ssh <you_server_ip_address>
The segmentation fault comes from avconv. It could be a bad image in the stack of images or something else. Hard to say because avconv is not super chatty about the cause of the failure.
You can try running the timelapse command manually and see if it always fails at the same spot.
For what it's worth, this issue happened to me before when I was running the RPi inside my house. I believe avconv was making the cpu run close to 100% and the RPi was overheating. I added a line (21) in allsky.sh which seemed to solve the issue for me.
cpulimit -e avconv -l 50 & \
Try uncommenting it and re-run the timelapse command. It will generate a bit slower but it should complete.
Note that I never had that issue with the RPi outside.
from allsky.
OK I fixed the ftp portion, but nothing I try will build a time-lapse that is usable. I've deleted a bunch of images, but they are all viewable.
All I got for star trails was one image. It was the first clear night and not much of a moon. not complaining. Just anxious to see a full night.
Again last night it failed. I'm creasing the SD and starting over. Something is corrupt.
I ended up copying off the images and made my own time-lapse and star trails. SUPER COOL!
from allsky.
I formatted the SD card. Reloaded everything. Copied over the files from 20180309. Manually ran timelapse.sh. Timelapse, keogram, and star trails were built. Assemble everything and put it outside. Wakeup this morning and have no timelapse. I see a 14986 bus error. Tried to run it manually and have illegal instruction.
./timelapse.sh: line 22: 18341 Illegal instruction avconv -y -f image2 -r 25 -i images/$1/%04d.$EXTENSION -vcodec libx264 -b:v 2000k -pix_fmt yuv420p images/$1/allsky-$1.mp4
Guess I put the PI2 back out.
from allsky.
I've had my startrails come out as one single frame before (quite often), i've noticed it coming from mostly overcast/cloudy nights.. it seems the nights where its not too cloudy (some clouds here and there), the TL will work, but if it's mostly clouds with breaks to see the stars, it'll return just one image.
I had a friend that lives down the road get random buss errors in the past doing video conversion, he thought it was an overheating problem, so he used heat syncs - it lessened the errors. he swapped out his memory card after that and the errors went away - not saying that's the problem, but could be something worth giving a shot.
from allsky.
Thanks for the input I already have heatsinks in place. I don't have another 64Gb card for the 3, but can try a 16Gb.
The single image does happen more on cloudy nights, but also on a clear night. I changed line 32 in endofnight.sh where the 0.1 was to a 0.2 and it seemed to help some.
I'm rebuilding the SD now for the pi2. I moved to a pi3 because of the speed, but seems to be more problematic.
from allsky.
You can adjust the brightness threshold in endOfNight.sh line 32. It is set to 0.1. You could increase it to 0.2 if you live in a place with lots of light pollution and re-rerun the startrails command manually.
When the threshold is not reached, the image with the lowest brightness will be used as the result of the command.
As I mentioned earlier, I've had issues with avconv never finishing the job but that was only during a test inside, in summer without heatsinks so I can't tell whether the SD card, the heat or the Pi was the cause of failure.
from allsky.
Thanks Thomas. I've rebuilt it again and will see what happens tonight. I also have he pi2 stood up and ready to go.
I had heat shrinks on the 3, but didn't on the 2. Took the larger one off to see it it will let it breather better. I may pick up another 64gb card.
More to come tomorrow. thanks guys!
from allsky.
Failed again this morning. Pullled it out of the case and inside. Changed it to 1 cpu and it ran fine. 2 cpu and time lapse was built. Removed maxcpus line and it built fine again. Go figure. Donβt think it was too warm since it was in the low 40βs this morning.
Thanks for all your help.
from allsky.
Related Issues (20)
- Fix locales
- Upload issues HOT 7
- Feature Request: SQM Analysis HOT 2
- [BUG] MQTT as part of module "Clear Sky Alarm" protocol error with Mosquitto MQTT in home assistant HOT 3
- sunset data is 3 days old: PWD: Operation not supported HOT 2
- CSRF updates
- [ENHANCEMENT] Check for more days of images than "Days to Keep"
- Help with wew heater status under System information
- [enhancement] install.sh should only look back two major releases
- Image meta data
- [BUG] "allsky.sh --help" doesn't work
- [BUG] Some floating point settings can be converted to integers before being passed to the capture program HOT 1
- [ENHANCEMENT] Use RPi_cameraInfo.txt file at runtime
- Is there a setting for Live Image sizing??
- [BUG] Check for 0-length module files
- [ENHANCEMENT] Additions to checkAllsky.sh
- Error ZWO ASI385MC HOT 13
- System Messages 'capture program stopped' (every morning) HOT 10
- [BUG] ZWO 676MC Not supported during install HOT 1
- [ENHANCEMENT] Allow startrails and keogram images to be stretched
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allsky.