allsky icon indicating copy to clipboard operation
allsky copied to clipboard

curl error running remote website installer after upgrade to v2024.12.06_3

Open EricClaeys opened this issue 7 months ago • 2 comments

Discussed in https://github.com/AllskyTeam/allsky/discussions/4577

Originally posted by NiteRide May 24, 2025 Hi, I am currently running v2024.12.06_03. I upgraded a bit ago with _1 I have an existing remote website (older version v2023.05.01_04) hosted on infinityfree (which was setup by manually uploading the necessary files), but now on version 2024.12.06 this is automated by script to upgrade. However, I cant seem to get the remote site install script to as it fails on the pre-installation checks (although my old remote site is running and still works fine)

I simply get an "Unable to connect to... Return code 52 from curl" error and would love any ideas or workarounds so i can update the remote website as well. eg: image

Cheers and thanks for any insights!

EricClaeys avatar May 25 '25 06:05 EricClaeys

Problem

Some servers don't return anything if the user-agent is "curl", so whenever we call curl we need to set --user-agent Allsky like is done in postToMap.sh.

EricClaeys avatar May 25 '25 06:05 EricClaeys

This is fixed in the next release which will officially be out by the end of June; to upgrade to it now, do a normal upgrade but use the following for the "git clone" command:

git clone --branch v2024.12.06_04 --depth=1  --recursive  https://github.com/AllskyTeam/allsky.git

This also fixes Issue #4589.

EricClaeys avatar May 25 '25 07:05 EricClaeys