End of Night questions. #3817
-
I finally got consistent power to a very remote area, so now I'm troubleshooting the uploads of Timelapse, star trail and keogram. I noticed that the files are created on the pi, but they don't go to the remote website. I ran the endOfNight script and don't see any errors. Can someone please advise: masfitsallsky@mas-fits-allsky:~/allsky/scripts $ bash endOfNight.sh Upload output from '/home/masfitsallsky/allsky/tmp/data.json: endOfNight.sh: ===== Generating Keogram for 20240818 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 2 replies
-
@stevetim, try running Have you enabled uploads of those files in config.sh? |
Beta Was this translation helpful? Give feedback.
-
Doh! Didn't enable uploads, but when I finally did I have strange error. Why is it trying to upload to exact same directory on remote site. Remote ftp logs directly to Memphisastro.org/allsky folder. These are my ftp settings:
And here is the directory error
|
Beta Was this translation helpful? Give feedback.
-
Please see the end of the "ftp-settings.sh file" section here. You are indirectly telling Allsky you have both a local Website on the Pi, and a remote Website. |
Beta Was this translation helpful? Give feedback.
-
I read all that and there is something strange: drwxr-xr-x 8 memphisa memphisa 4096 Aug 21 15:48 . and this are the results of check_allsky.sh Informational messages: 1 ---------- Information (items that will not stop any part of Allsky from running) ---------- WEB_DAYS_TO_KEEP is 0 which means local web images and videos will be kept forever ---------- Warnings (items that may keep parts of Allsky running) ---------- PROTOCOL set to insecure 'ftp'. Try to use 'ftps' or 'sftp' instead.WEB_VIDEOS_DIR is set to 'videos' but it does not exist.WEB_KEOGRAM_DIR is set to '/keograms' but it does not exist.WEB_STARTRAILS_DIR is set to 'startrails/' but it does not exist. ---------- Summary ---------- Informational messages: 1 ---------- Information (items that will not stop any part of Allsky from running) ---------- WEB_DAYS_TO_KEEP is 0 which means local web images and videos will be kept forever ---------- Warnings (items that may keep parts of Allsky running) ---------- PROTOCOL set to insecure 'ftp'. Try to use 'ftps' or 'sftp' instead.WEB_VIDEOS_DIR is set to 'allsky/videos' but it does not exist.WEB_KEOGRAM_DIR is set to '/allsky/keograms' but it does not exist.WEB_STARTRAILS_DIR is set to 'allsky/startrails/' but it does not exist. I am at a lot for what to put in the ftp-settings.sh editor? Thanks |
Beta Was this translation helpful? Give feedback.
-
and this might be a clue ... I ftp directly into allsky folder, so I don't need the /allsky/ before see this error: I removed all directories and told it to just drop the file on the server , so the Webb directory lines are blank Here is error: Commands used are in: /home/masfitsallsky/allsky/tmp/lftp_cmds/Timelapse.txt how do I disable the preliminary /allsky/ ... it doesn't seem to be on the ftp sh script. IMAGE_DIR="" |
Beta Was this translation helpful? Give feedback.
-
@stevetim, please re-read the documentation page and do exactly what it says at the end of the "ftp-settings.sh file" section. There are three examples: 1) local Website only, 2) remote Website only, 3) both Websites. If the documentation page isn't clear, please let me know exactly what isn't clear so I can fix it. A LOT of other people have had the same problem you have, and they were all able to fix it after reading the documentation. If an error message has |
Beta Was this translation helpful? Give feedback.
@stevetim, please re-read the documentation page and do exactly what it says at the end of the "ftp-settings.sh file" section. There are three examples: 1) local Website only, 2) remote Website only, 3) both Websites.
Your ftp-settings.sh file above implies # 3. Do you have BOTH websites?
If the documentation page isn't clear, please let me know exactly what isn't clear so I can fix it. A LOT of other people have had the same problem you have, and they were all able to fix it after reading the documentation.
If an error message has
/allsky/
in it, they something in ftp-settings.sh is setting that. Alsky doesn't add it by itself.