boredazfcuk / docker-icloudpd

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

Pushover Notification failure blocking startup #458

Closed jaycee999 closed 4 months ago

jaycee999 commented 6 months ago

Hello. I love this project. After the update a couple days ago I stopped being able to start my container because of Pushover notifications failing. I've even tried to disable notifications completely but the container still starts with the settings enabled and thus fails. Maybe that's due to something with my unRaid setup which would be a separate issue. Anyway, here's the logging I'm seeing routinely on startup


2023-12-22 09:57:32 DEBUG    Local group: group:100
2023-12-22 09:57:32 DEBUG    Force GID: false
2023-12-22 09:57:32 DEBUG    LAN IP Address: 172.17.0.2
2023-12-22 09:57:32 DEBUG    Default gateway: 172.17.0.1
2023-12-22 09:57:32 DEBUG    DNS server: 192.168.1.199
192.168.1.157
2023-12-22 09:57:37 DEBUG    IP address for icloud.com: 17.253.144.10
2023-12-22 09:57:37 DEBUG    Route check to icloud.com successful
2023-12-22 09:57:37 DEBUG    Apple ID: (hidden)
2023-12-22 09:57:37 INFO     Authentication Type: MFA
2023-12-22 09:57:37 DEBUG    Cookie path: /config/(hidden)
2023-12-22 09:57:37 INFO     Cookie expiry notification period: 7
2023-12-22 09:57:37 INFO     Download destination directory: /home/user/iCloud
2023-12-22 09:57:37 INFO     Folder structure: none
2023-12-22 09:57:37 DEBUG    Directory permissions: 777
2023-12-22 09:57:37 DEBUG    File permissions: 666
2023-12-22 09:57:37 INFO     Synchronisation interval: 86400
2023-12-22 09:57:37 INFO     Synchronisation delay (minutes): 0
2023-12-22 09:57:37 INFO     Set EXIF date/time: true
2023-12-22 09:57:37 WARNING  This setting changes the files that are downloaded, so they will be downloaded a second time. Enabling this setting results in a lot of duplicate
2023-12-22 09:57:37 INFO     Auto delete: true
2023-12-22 09:57:37 INFO     Delete after download: false
2023-12-22 09:57:37 INFO     Photo size: original
2023-12-22 09:57:37 INFO     Single pass mode: false
2023-12-22 09:57:37 INFO     Skip download check: true
2023-12-22 09:57:37 INFO     Skip live photos: false
2023-12-22 09:57:37 INFO     Number of most recently added photos to download: Download All Photos
2023-12-22 09:57:37 INFO     Downloading photos from: Download All Photos
2023-12-22 09:57:37 INFO     Stop downloading when prexisiting files count is: Download All Photos
2023-12-22 09:57:37 INFO     Live photo size: original
2023-12-22 09:57:37 INFO     Skip videos: false
2023-12-22 09:57:37 INFO     Convert HEIC to JPEG: false
2023-12-22 09:57:37 INFO     Pushover notifications enabled
2023-12-22 09:57:37 DEBUG    Cleaned notification title: iCloudPD
2023-12-22 09:57:37 DEBUG    Pushover user: (hidden)
2023-12-22 09:57:37 DEBUG    Pushover token: (hidden)
2023-12-22 09:57:37 DEBUG    Pushover sound: pushover
2023-12-22 09:57:37 INFO     Sending Pushover startup notification
2023-12-22 09:58:00 ERROR    Pushover startup notification failed with status code: 000
2023-12-22 09:58:00 ERROR    ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****

2023-12-22 09:58:13 INFO     ***** boredazfcuk/icloudpd container for icloud_photo_downloader v1.0.689 started *****
2023-12-22 09:58:13 INFO     ***** For support, please go here: https://github.com/boredazfcuk/docker-icloudpd *****
2023-12-22 09:58:13 INFO     Alpine Linux 3.19.0
2023-12-22 09:58:13 INFO     Python version: 3.11.6
2023-12-22 09:58:14 INFO     Loading configuration from: /config/icloudpd.conf
2023-12-22 09:58:14 DEBUG    Running user id: 0
2023-12-22 09:58:14 DEBUG    Running group id: 0
2023-12-22 09:58:14 DEBUG    Local user: user:99
2023-12-22 09:58:14 DEBUG    Local group: group:100
2023-12-22 09:58:14 DEBUG    Force GID: false
2023-12-22 09:58:14 DEBUG    LAN IP Address: 172.17.0.2
2023-12-22 09:58:14 DEBUG    Default gateway: 172.17.0.1
2023-12-22 09:58:14 DEBUG    DNS server: 192.168.1.199
192.168.1.157
2023-12-22 09:58:19 DEBUG    IP address for icloud.com: 17.253.144.10
2023-12-22 09:58:19 DEBUG    Route check to icloud.com successful
2023-12-22 09:58:19 DEBUG    Apple ID: (hidden)
2023-12-22 09:58:19 INFO     Authentication Type: MFA
2023-12-22 09:58:19 DEBUG    Cookie path: /config/(hidden)
2023-12-22 09:58:19 INFO     Cookie expiry notification period: 7
2023-12-22 09:58:19 INFO     Download destination directory: /home/user/iCloud
2023-12-22 09:58:19 INFO     Folder structure: none
2023-12-22 09:58:19 DEBUG    Directory permissions: 777
2023-12-22 09:58:19 DEBUG    File permissions: 666
2023-12-22 09:58:19 INFO     Synchronisation interval: 86400
2023-12-22 09:58:19 INFO     Synchronisation delay (minutes): 0
2023-12-22 09:58:19 INFO     Set EXIF date/time: true
2023-12-22 09:58:19 WARNING  This setting changes the files that are downloaded, so they will be downloaded a second time. Enabling this setting results in a lot of duplicate
2023-12-22 09:58:19 INFO     Auto delete: true
2023-12-22 09:58:19 INFO     Delete after download: false
2023-12-22 09:58:19 INFO     Photo size: original
2023-12-22 09:58:19 INFO     Single pass mode: false
2023-12-22 09:58:19 INFO     Skip download check: true
2023-12-22 09:58:19 INFO     Skip live photos: false
2023-12-22 09:58:19 INFO     Number of most recently added photos to download: Download All Photos
2023-12-22 09:58:19 INFO     Downloading photos from: Download All Photos
2023-12-22 09:58:19 INFO     Stop downloading when prexisiting files count is: Download All Photos
2023-12-22 09:58:19 INFO     Live photo size: original
2023-12-22 09:58:19 INFO     Skip videos: false
2023-12-22 09:58:19 INFO     Convert HEIC to JPEG: false
2023-12-22 09:58:19 INFO     Pushover notifications enabled
2023-12-22 09:58:19 DEBUG    Cleaned notification title: iCloudPD
2023-12-22 09:58:19 DEBUG    Pushover user: (hidden)
2023-12-22 09:58:19 DEBUG    Pushover token: (hidden)
2023-12-22 09:58:19 DEBUG    Pushover sound: pushover
2023-12-22 09:58:19 INFO     Sending Pushover startup notification
2023-12-22 09:58:41 ERROR    Pushover startup notification failed with status code: 000
2023-12-22 09:58:41 ERROR    ***** Please report problems here: https://github.com/boredazfcuk/docker-icloudpd/issues *****
boredazfcuk commented 6 months ago

Your container is configured to use external DNS servers 192.168.1.199 and 192.168.1.157 instead of Docker's internal DNS (127.0.0.11).

It is likely that DNS requests are blocked to these servers by a firewall. The latest version of the container will test DNS resolution on startup and report an appropriate error message if the tests fail.