boredazfcuk / docker-icloudpd

An Alpine Linux container for the iCloud Photos Downloader command line utility
1.89k stars 169 forks source link

Check for updates failing after update #702

Open fsnck opened 6 days ago

fsnck commented 6 days ago

Describe the bug I got the message that I should update my container, so I updated the container on my Synology (same config as before). After updating the check for updates always failed: Check for updates failed. Continuing in 2 minutes...

Expected behaviour Check for updates works

Actual behaviour Check fails, I cannot re-initialise and get a new cookie

System (The following information must be entered or the issue will be closed):

I tried what the script does: docker exec -it icloudpd curl --max-time 5 https://raw.githubusercontent.com/boredazfcuk/docker-icloudpd/master/build_version.txt curl: (28) Resolving timed out after 5000 milliseconds

I thought, that this must be a network issue, but alle other containers (that are configured the same) work well and I tried different URLs without problems: docker exec -it icloudpd curl --max-time 5 https://google.de 301 Moved The document has moved here

I have no clue what could possibly be the cause of this issue. Outside the container the request works perfectly fine: curl --max-time 5 https://raw.githubusercontent.com/boredazfcuk/docker-icloudpd/master/build_version.txt 1014_24-11-2024

Any help is appreciated! Thanks in advance!

fsnck commented 5 days ago

Checked it again today. The curl command from inside the docker container worked:

docker exec -it icloudpd curl --max-time 5 https://raw.githubusercontent.com/boredazfcuk/docker-icloudpd/master/build_version.txt`
1014_24-11-2024

Unfortunately I still cannot initialise:

docker exec -it icloudpd sync-icloud.sh --Initialise
2024-11-28 10:11:39 INFO     ***** boredazfcuk/icloudpd container v1.0.1014_24-11-2024 started *****
2024-11-28 10:11:39 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2024-11-28 10:11:39 INFO     Alpine Linux 3.20.3
2024-11-28 10:11:39 INFO     Python version: 3.12.7
2024-11-28 10:11:41 INFO     icloud-photos-downloader version: 1.24.4
2024-11-28 10:11:41 INFO     Checking for updates...
2024-11-28 10:11:46 ERROR     - Check for updates failed. Continuing in 2 minutes...