Replies: 9 comments 1 reply
-
@gintasd, the software on the remote server detects that it's on a Pi so thinks it's on the Pi allsky is on. The next version handles this better, but in the meantime, change line 14 of |
Beta Was this translation helpful? Give feedback.
-
@gintasd look at the last section of the Wiki page on Troubleshooting Uploads. It should help determine what the problem is. I suspect lftp is not able to login. |
Beta Was this translation helpful? Give feedback.
-
Hi, My unexperienced experience. In Allsky PC ftp_settings.sh set the protocol ftp, and path to folders on remote server as it would be local (because ftp access all folders on the remote RPi): And that is it. It is possible to do like this to send files to home/user/allsky folder instead of var/www/html/allsky Create symlinks in the Allsky Webserver to have folders shortcuts in "home/user/allsky" to "/var/www/html/allsky": sudo ln -s /var/www/html/allsky/videos /home/astrometeo/allsky This way the path would be something like this: Hope it would help. BR. |
Beta Was this translation helpful? Give feedback.
-
@gintasd Gintautas, I'm glad you got it working. I am not familiar with vsftpd, but if you could set up a login with /var/www/html/allsky as itsroot directory, you could use:
etc. That would make it even easier. What's in the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@gintasd, I had a brain freeze. The capture, capture_RPiHQ, keogram, and startrails programs in ~/allsky are the executable programs that take the images, create keograms, and create startrails. The "it's not dark yet..." message is created when the |
Beta Was this translation helpful? Give feedback.
-
Hello Eric, If I set ftp IMAGE_DIR="/home/astrometeo/allsky/tmp" and at remote server imageName: "current/tmp/image.jpg - everything works. And after my tests I have several files "SaveImage-xxx" that I cannot remove and get response that there is no such file. Gintautas |
Beta Was this translation helpful? Give feedback.
-
Hello, Dummy files deleted by creating a new file with the same name on top and then delete. Regards |
Beta Was this translation helpful? Give feedback.
-
@gintasd Gintautas, do you want to run a local AND remote website, or just remote? This is how other remote websites work. Now that you've installed Allsky and the WebUI on the remote Pi, you can remove /home/pi/allsky on the remote since it's no longer needed. You only needed Allsky/WebUI to install a web server. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Very nice project Thomas - thank you.
I have built Allsky camera and a webserver on the same RPi - runs without any issue.
Now I am trying to move the Allsky Website to a separate webserver, that runs on RPi as well.
I will call this separate RPi as Allsky-web, but the folder where everything is is "Allsky".
This RPi has Apache2 webserver running and serves as my Meteo station webserver.
I want to add the Allsky to it as well.
This server has installed PHP7.4 and MariaDB (not sure if it is needed by Allsky).
I have downloaded the allsky-website from https://github.com/thomasjacquin/allsky-website.
Extracted the Allsky to a home folder.
Created symlink to HTML directory.
Modified virtualhost config file to have access to both my webpages: meteostation and allsky.
Configured all ftp connections and folders (and the all files transfer from Allsky to Allsky web works fine)
The result is that the Main allsky page opens as expected: correct data, current image updates e.t.c.
But if I select to show Keograms, Videos or Startrails, I get:
"Please run the following from the 'allsky' directory before using the Website:
website/install.sh --update"
What do I do wrong?
I see that Allsky in a/etc/apache2/conf-available has php7.4-cgi.conf but allsky-web does not have it.
As well the /var/www/html/allsky on Allsky has different content from that one which is on Allsky-web
BR
Beta Was this translation helpful? Give feedback.
All reactions