AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.19k stars 180 forks source link

FTP Issue #74

Closed spacemanbobby closed 3 years ago

spacemanbobby commented 5 years ago

So I have put the tags into the scripts to upload the files with that has been mentioned... Image-resize.jpg, startrails, keograms and the daily mp4 all get uploaded to the website.... but it is as if it only puts them in the base directory that I set the FTP account to log into.

lets say... Allsky@website.com logs into ftp.website.com On my site I set this account to access public_html\allsky\ I have the other folders under allsky.... images, keograms, startrails, videos.... all lower caps and they are 755 under the allsky folder. When the scripts fire off they all just put them in the base allsky folder even though I have them as \allsky\ for images, \allsky\videos\ for videos... etc...

I have tried all sorts of combo's on the paths but it always just gets put into the base allsky directory that the ftp account points to for signing into a certain directory. I even tried setting the ftp account to sign into \public_html\ and then let the upload scripts try to get to allsky, but it just dumped it in public_html.

Any ideas. At this point I am going into ftp from my computer and moving the files to the respective folders.

I even bought a second respberry pi board and installed the OS and the Allsky software onto it. Same results once I get it to upload to the ftp account.

weatherTai commented 4 years ago

I made the changes and ran the endofnight script.. Everything uploads to the correct directories now.

Hi, I am having the same problem, can not move the files (images, timelapse..) to my /home/weatherv/public_html/allsky/images .... I tried to folliow this topic but not be successful yet. Could you please share your steps to fix? Big thanks

ebeyonder commented 4 years ago

I would be most grateful for any help, as I don't know much about Linux, Pi or FTP...

I managed to set up my own allsky camera here in Singapore. I can see the live image over VNC very well.

I next tried to set up a website using Thomas' template. The problem is that the FTP uploads do not work.

This is what I have done:

  1. Bought a webhosting plan and domain,
  2. I loaded all the files from the allsky website repo on Github into a 'allsky' directory on my site,
  3. Using cPanel, I set up a FTP account,
  4. I went to the ftp-settings.sh script in allsky/scripts and edited the file to include all my FTP details.
  5. I also changed the config.sh file to specify uploads to website as TRUE.

Then... nothing happens. There is no 'live' picture on the website.

I tried to execute the script by clicking on it and selecting 'execute' and also 'execute in terminal'... but nothing happens. Am I supposed to see anything? There is not even a message saying it failed.

Any advice much appreciated.

EricClaeys commented 3 years ago

This issue is from an older release of the AllSky software and the issues appear to have been resolved. If you think it might still be relevant, please test it with the newest version and submit a new issue if needed. Thanks..