Replies: 9 comments 2 replies
-
|
@ova103, any Allsky Website that's not on the Pi is considered a "remote Website", so yes, your PC is one. You want to use the IP address of the PC, not the Default Gateway, which is probably your network router. This is what I have: I suggest having a separate FTP login for Allsky and have the login directory be "c:/allsky". You would then use:
FYI, IP addresses that start with 192.168 are only accessible on your network - no one from outside can ever get to yours, so it's safe to show those addresses. |
Beta Was this translation helpful? Give feedback.
-
|
Hello Eric ok for the IPv4. Should I connect my PC wireless to the router, or is it ok to keep it via Ethernet? and "having a seperate FTPL login", does this mean creating a new user in Windows? Chatgpt tells me to Install an FTP Server on the Windows machine, such as FileZilla Server or IIS FTP (Internet Information Services). Shoudl I intall this on my PC? And another quesiton: do I need to create a file remote_configuration.json? Because now I have only configuration.json Thanks |
Beta Was this translation helpful? Give feedback.
-
|
Hello Let me answer your question why on my PC. I want to access the website remotely (outside my home network). Doing it on own PC is suggested by a friend who has his allsky on his PC
Does it make sense? Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Make sense, however I would put the Pi on the Internet, not my PC. What if a hacker gets into PC? That's much worse than if the hacker gets into your Pi. |
Beta Was this translation helpful? Give feedback.
-
|
ok thanks, I'll check for an external hosting. |
Beta Was this translation helpful? Give feedback.
-
|
I will probably go for Ionos, but will do this after I successfully installed (for the long term) the allsky in my garden, this might take a few weeks. In mean time a question: I read in the documentaiton: "Make sure you follow the Allsky Website Installation Instructions exactly to install the Allsky Website on your Pi and/or a remote server." --> I have the website running on the PI and want to host it externally, so do I need to install as well the allsky website on the remote server? I guess the answer is no, but just want to be sure. Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I was probably not clear. I will not make my PI accessible via the internet. I will go for a remote hosted solution like Ionos. My question was if I also need to install the Allsky website on the remote server? |
Beta Was this translation helpful? Give feedback.
-
|
If you want people to be able to view your Allsky Website on a hosted server, you need to install the Website there. That means you'll need to create a login on that server and tell Allsky the name of the server, the login name, and the password. This is all documented. The new version of Allsky should be out in a couple weeks, and it makes installing a remote Website much easier. Once you update Allsky to know about the remote Website, you'll run the remote_website_install.sh script and it will copy all the files there and make sure things work. In the current release of Allsky, you need to manually copy the files to the server. |
Beta Was this translation helpful? Give feedback.
-
|
got it. I read again the doc on installing remote website. My earlier question was kind of "dumb". |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I have a PI 4 on which the Allsky website is running well.
I'd like to install the website also on my desktop PC.
PI and PC are on the same network. The desktop via ethernet, the PI wireless.
The wesbite on my PC is considered as a remote website, right?
I have created the directories allsky, video etc on my PC.
So I used the example from the documentation (for website on PI and remote) for ftp.settings.sh:
PROTOCOL="ftp"
IMAGE_DIR="c:/allsky"
WEB_IMAGE_DIR=""
VIDEOS_DIR="c:/allsky/videos"
WEB_VIDEOS_DIR="${ALLSKY_WEBSITE}/videos"
KEOGRAM_DIR="c:/allsky/keogram"
WEB_KEOGRAM_DIR="${ALLSKY_WEBSITE}/keograms"
STARTRAILS_DIR="c:/allsky/startrails"
WEB_STARTRAILS_DIR="${ALLSKY_WEBSITE}/startrails"
REMOTE_HOST="192.xxxxx"
REMOTE_PORT=""
REMOTE_USER="Olivier"
REMOTE_PASSWORD="xxx"
LFTP_COMMANDS=""
I prefer not to show sensitive data so that's why I type xxxx.
It's not working: this is what I see when I enter "tail - f /var/log/allsky.log" in the CL
2024-11-07T14:16:52.001409+01:00 allsky allsky[3283]: STARTING EXPOSURE at: 2024-11-07 14:16:51 @ 154.49 ms (0.15 sec)
2024-11-07T14:16:55.061993+01:00 allsky allsky[3283]: > Saving DAY image 'image-20241107141651.jpg'
2024-11-07T14:17:15.273586+01:00 allsky allsky[9415]: Commands used are in: /home/Olivier/allsky/tmp/lftp_cmds/SaveImage.txt
2024-11-07T14:17:15.274143+01:00 allsky allsky[9415]: Upload output from '/home/Olivier/allsky/tmp/image-20241107141651.jpg:
2024-11-07T14:17:15.274327+01:00 allsky allsky[9415]: *** upload.sh: ERROR, RET=99:
2024-11-07T14:17:15.274457+01:00 allsky allsky[9415]: FILE_TO_UPLOAD='/home/Olivier/allsky/tmp/image-20241107141651.jpg'
2024-11-07T14:17:15.274607+01:00 allsky allsky[9415]: REMOTE_HOST='192.xxxx'
2024-11-07T14:17:15.274753+01:00 allsky allsky[9415]: DIRECTORY='c:/allsky/'
2024-11-07T14:17:15.274898+01:00 allsky allsky[9415]: TEMP_NAME='SaveImage-9491'
2024-11-07T14:17:15.275404+01:00 allsky allsky[9415]: DESTINATION_NAME='image.jpg'
2024-11-07T14:17:15.276429+01:00 allsky allsky[9415]: cd: Fatal error: max-retries exceeded (Connection refused)
Maybe I don't have the right host, username and pasword?
I thaught I found the host with "Ipconfig" on my PC, the IP behind "default gateway"?
And then username and passowrd is the one I use when I login on my PC (windows), right?
Is that correct?
Otherwise, what should I do?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions