boredazfcuk / docker-icloudpd

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

A error happened when login to icloud: pyicloud_ipd.exceptions.PyiCloudAPIResponseError: statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, Failed to resolve 'accountservice.p00.prod.me.com' after 6 queries #227

Closed blademainer closed 1 year ago

blademainer commented 1 year ago

The trace info:

2022-11-04 23:00:52 INFO     Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg                                                                                                 
2022-11-04 23:00:52 INFO     Correct owner on config directory, if required                                                                                                                                 
2022-11-04 23:00:52 INFO     Correct group on config directory, if required                                                                                                                                 
2022-11-04 23:00:52 INFO     Generate 2FA cookie using password stored in keyring file                                                                                                                      
Traceback (most recent call last):                                                                                                                                                                          
  File "/usr/bin/icloudpd", line 33, in <module>                                                                                                                                                            
    sys.exit(load_entry_point('icloudpd==1.7.2', 'console_scripts', 'icloudpd')())                                                                                                                          
  File "/usr/lib/python3.10/site-packages/click/core.py", line 722, in __call__                                                                                                                             
    return self.main(*args, **kwargs)                                                                                                                                                                       
  File "/usr/lib/python3.10/site-packages/click/core.py", line 697, in main                                                                                                                                 
    rv = self.invoke(ctx)                                                                                                                                                                                   
  File "/usr/lib/python3.10/site-packages/click/core.py", line 895, in invoke                                                                                                                               
    return ctx.invoke(self.callback, **ctx.params)                                                                                                                                                          
  File "/usr/lib/python3.10/site-packages/click/core.py", line 535, in invoke                                                                                                                               
    return callback(*args, **kwargs)                                                                                                                                                                        
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/base.py", line 255, in main                                                                                                    
    icloud = authenticate(                                                                                                                                                                                  
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/authentication.py", line 47, in authenticate                                                                                   
    request_2sa(icloud, logger)                                                                                                                                                                             
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/authentication.py", line 53, in request_2sa                                                                                    
    devices = icloud.trusted_devices                                                                                                                                                                        
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 249, in trusted_devices                                                                                                               
    request = self.session.get(                                                                                                                                                                             
  File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 600, in get                                                                                                                           
    return self.request("GET", url, **kwargs)                                                                                                                                                               
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 100, in request                                                                                                                       
    self._raise_error(code, reason)                                                                                                                                                                         
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 122, in _raise_error                                                                                                                  
    raise api_error                                                                                                                                                                                         
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, Failed to resolve 'acco
untservice.p00.prod.me.com' after 6 queries                                                                                                                                                                 
2022-11-04 23:00:59 ERROR    2FA information missing from cookie. Authentication has failed                                                                                                                 
2022-11-04 23:00:59 ERROR     - Was the correct password entered?                                                                                                                                           
2022-11-04 23:00:59 ERROR     - Was the 2FA code mistyped?                                                                                                                                                  
2022-11-04 23:00:59 ERROR     - Can you log into iCloud.com without receiving pop-up notifications?
sk163 commented 1 year ago

I am not seeing any changes to my iCloud website... Or the website hasn't been changed enough to break the script at least.

which script file name? I try to debug it,thanks

This is the project which does I use to download everything: https://github.com/icloud-photos-downloader/icloud_photos_downloader If you figure it out I might need to fork their project, so you can merge changes to the fork, as nobody seems to be maintaining that project anymore.

@boredazfcuk https://github.com/picklepete/pyicloud this porject has implemented the new auth version. maybe u can take a look. thanks

image

@boredazfcuk https://github.com/picklepete/pyicloud

I tested the project also, and it did solve the problem

KobeBryant-24 commented 1 year ago

I am not seeing any changes to my iCloud website... Or the website hasn't been changed enough to break the script at least.

which script file name? I try to debug it,thanks

This is the project which does I use to download everything: https://github.com/icloud-photos-downloader/icloud_photos_downloader If you figure it out I might need to fork their project, so you can merge changes to the fork, as nobody seems to be maintaining that project anymore.

@boredazfcuk https://github.com/picklepete/pyicloud this porject has implemented the new auth version. maybe u can take a look. thanks

image

@boredazfcuk https://github.com/picklepete/pyicloud

I tested the project also, and it did solve the problem

看了下代码,认证的部分是icloud_photos_downloader这个仓写的,可能得考虑换个源或者fork个分支维护下

Alano-i commented 1 year ago

I am not seeing any changes to my iCloud website... Or the website hasn't been changed enough to break the script at least.

which script file name? I try to debug it,thanks

This is the project which does I use to download everything: https://github.com/icloud-photos-downloader/icloud_photos_downloader If you figure it out I might need to fork their project, so you can merge changes to the fork, as nobody seems to be maintaining that project anymore.

@boredazfcuk https://github.com/picklepete/pyicloud this porject has implemented the new auth version. maybe u can take a look. thanks

image @boredazfcuk https://github.com/picklepete/pyicloud I tested the project also, and it did solve the problem

看了下代码,认证的部分是icloud_photos_downloader这个仓写的,可能得考虑换个源或者fork个分支维护下

icloud.com.cn是都不能认证了吗,现在不给输验证码的机会,直接就跳过验证报错了

022-12-12 12:57:43 INFO     Using password stored in keyring file: /config/python_keyring/keyring_pass.cfg
2022-12-12 12:57:43 INFO     Correct owner on config directory, if required
2022-12-12 12:57:43 INFO     Correct group on config directory, if required
2022-12-12 12:57:43 INFO     Generate 2FA cookie using password stored in keyring file
Traceback (most recent call last):
  File "/usr/bin/icloudpd", line 33, in <module>
    sys.exit(load_entry_point('icloudpd==1.7.2', 'console_scripts', 'icloudpd')())
  File "/usr/lib/python3.10/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.10/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/base.py", line 255, in main
    icloud = authenticate(
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/authentication.py", line 47, in authenticate
    request_2sa(icloud, logger)
  File "/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/authentication.py", line 53, in request_2sa
    devices = icloud.trusted_devices
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 249, in trusted_devices
    request = self.session.get(
  File "/usr/lib/python3.10/site-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 100, in request
    self._raise_error(code, reason)
  File "/usr/lib/python3.10/site-packages/pyicloud_ipd/base.py", line 122, in _raise_error
    raise api_error
pyicloud_ipd.exceptions.PyiCloudAPIResponseError: statusCode = UnknownServerError, IOException sending request https://accountservice.p00.prod.me.com:443/api/get_challenge_devices, Failed to resolve 'accountservice.p00.prod.me.com' after 6 queries 
2022-12-12 12:57:52 ERROR    2FA information missing from cookie. Authentication has failed
2022-12-12 12:57:52 ERROR     - Was the correct password entered?
2022-12-12 12:57:52 ERROR     - Was the 2FA code mistyped?
2022-12-12 12:57:52 ERROR     - Can you log into iCloud.com without receiving pop-up notifications?
/ # command terminated with exit code 137
QiangGeCode commented 1 year ago

Any progress on this issue, I met same problem last night when my auth expired, try to verify again.

shiyipeng210 commented 1 year ago

The same issue in icloud_photos_downloader. First, replace pyicloud_ipd by pyicloud1.0.0. refer here Then replace line 168-181 in file sync-icloud.sh by

if [ "${icloud_china}" ]; then
      LogInfo "Downloading from: icloud.com.cn"
      LogWarning "Downloading from icloud.com.cn is untested. Please report issues at https://github.com/boredazfcuk/docker-icloudpd/issues"
      sed -i \
         -e "s#icloud.com/#icloud.com.cn/#" \
         -e "s#icloud.com\"#icloud.com.cn\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   else
      LogInfo "Downloading from: icloud.com"
      sed -i \
         -e "s#icloud.com.cn/#icloud.com/#" \
         -e "s#icloud.com.cn\"#icloud.com\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   fi

Now it can work.

Alano-i commented 1 year ago

The same issue in icloud_photos_downloader. First, replace pyicloud_ipd by pyicloud1.0.0. refer here Than replace line 168-181 in file sync-icloud.sh by

if [ "${icloud_china}" ]; then
      LogInfo "Downloading from: icloud.com.cn"
      LogWarning "Downloading from icloud.com.cn is untested. Please report issues at https://github.com/boredazfcuk/docker-icloudpd/issues"
      sed -i \
         -e "s#icloud.com/#icloud.com.cn/#" \
         -e "s#icloud.com\"#icloud.com.cn\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   else
      LogInfo "Downloading from: icloud.com"
      sed -i \
         -e "s#icloud.com.cn/#icloud.com/#" \
         -e "s#icloud.com.cn\"#icloud.com\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   fi

Now it can work.

请问是通过 pip install pyicloud 安装 pyicloud 依赖,然后修改 sync-icloud.sh 的 168-181 吗? 我通过此方法还是无法工作,请问是还需要调整什么吗?

shiyipeng210 commented 1 year ago

The same issue in icloud_photos_downloader. First, replace pyicloud_ipd by pyicloud1.0.0. refer here Than replace line 168-181 in file sync-icloud.sh by

if [ "${icloud_china}" ]; then
      LogInfo "Downloading from: icloud.com.cn"
      LogWarning "Downloading from icloud.com.cn is untested. Please report issues at https://github.com/boredazfcuk/docker-icloudpd/issues"
      sed -i \
         -e "s#icloud.com/#icloud.com.cn/#" \
         -e "s#icloud.com\"#icloud.com.cn\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   else
      LogInfo "Downloading from: icloud.com"
      sed -i \
         -e "s#icloud.com.cn/#icloud.com/#" \
         -e "s#icloud.com.cn\"#icloud.com\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   fi

Now it can work.

请问是通过 pip install pyicloud 安装 pyicloud 依赖,然后修改 sync-icloud.sh 的 168-181 吗? 我通过此方法还是无法工作,请问是还需要调整什么吗?

还需要替换icloudpd ,不然还是调用pyicloud_ipd的

Alano-i commented 1 year ago

The same issue in icloud_photos_downloader. First, replace pyicloud_ipd by pyicloud1.0.0. refer here Than replace line 168-181 in file sync-icloud.sh by

if [ "${icloud_china}" ]; then
      LogInfo "Downloading from: icloud.com.cn"
      LogWarning "Downloading from icloud.com.cn is untested. Please report issues at https://github.com/boredazfcuk/docker-icloudpd/issues"
      sed -i \
         -e "s#icloud.com/#icloud.com.cn/#" \
         -e "s#icloud.com\"#icloud.com.cn\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   else
      LogInfo "Downloading from: icloud.com"
      sed -i \
         -e "s#icloud.com.cn/#icloud.com/#" \
         -e "s#icloud.com.cn\"#icloud.com\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   fi

Now it can work.

请问是通过 pip install pyicloud 安装 pyicloud 依赖,然后修改 sync-icloud.sh 的 168-181 吗? 我通过此方法还是无法工作,请问是还需要调整什么吗?

还需要替换icloudpd

请问是 /usr/bin/icloudpd这个吗,打开看了下这个是个py文件

image

你发的 icloudpd这是个文件夹

image

请问应该如何替换啊。

QiangGeCode commented 1 year ago

我来分享一下我怎么做的:

原版软件:https://github.com/icloud-photos-downloader/icloud_photos_downloader

修改版(用pyicloud来做登录,解决最新2步验证的问题):https://github.com/mbax2zf2/icloud_photos_downloader

如何在安装了原版的基础上更新成修改版:

结束了,应该可以恢复备份了

miniers commented 1 year ago

The same issue in icloud_photos_downloader. First, replace pyicloud_ipd by pyicloud1.0.0. refer here Than replace line 168-181 in file sync-icloud.sh by

if [ "${icloud_china}" ]; then
      LogInfo "Downloading from: icloud.com.cn"
      LogWarning "Downloading from icloud.com.cn is untested. Please report issues at https://github.com/boredazfcuk/docker-icloudpd/issues"
      sed -i \
         -e "s#icloud.com/#icloud.com.cn/#" \
         -e "s#icloud.com\"#icloud.com.cn\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   else
      LogInfo "Downloading from: icloud.com"
      sed -i \
         -e "s#icloud.com.cn/#icloud.com/#" \
         -e "s#icloud.com.cn\"#icloud.com\"#" \
         "$(pip show pyicloud | grep "Location" | awk '{print $2}')/pyicloud/base.py"
   fi

Now it can work.

请问是通过 pip install pyicloud 安装 pyicloud 依赖,然后修改 sync-icloud.sh 的 168-181 吗? 我通过此方法还是无法工作,请问是还需要调整什么吗?

还需要替换icloudpd

请问是 /usr/bin/icloudpd这个吗,打开看了下这个是个py文件 image 你发的 icloudpd这是个文件夹 image 请问应该如何替换啊。

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

Alano-i commented 1 year ago

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

谢谢!直接提交不了,复制了一下重新提交了PR.

shiyipeng210 commented 1 year ago

替换的是/usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/

Linnnkkk commented 1 year ago

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

谢谢!直接提交不了,复制了一下重新提交了PR. 2022-12-14 07:43:34 INFO - Example: docker exec -it icloudpd sync-icloud.sh --Initialise
2022-12-14 07:43:34 INFO Waiting for keyring file to be created...

我一直卡这不动了

MochenNikolas commented 1 year ago

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

It works, thx

zofnk commented 1 year ago

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

It works, thx

哥们,这个要怎么操作?不太会。。

MochenNikolas commented 1 year ago

哥们,这个要怎么操作?不太会。。

clone https://github.com/miniers/docker-icloudpd 这个仓库,然后直接用里面的Dockerfile打包一个镜像就行了。打包的时候关注一下docker运行环境的架构,打对应架构的镜像

zofnk commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

blademainer commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

happyeddie commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

好使,一个多月了,终于解决了~

shaoj0013 commented 1 year ago

群晖支持么发自我的 iPhone在 2022年12月16日,10:18,happyeddie @.***> 写道:

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

好使,一个多月了,终于解决了~

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

zofnk commented 1 year ago

完全不会。。我用unrad docker来着的,能方方便说下工具步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master支持pc、armv7

OK了老哥,多谢

china31 commented 1 year ago
  • 安装pyicloud sudo pip install pyicloud

安装pyicloud sudo pip install pyicloud 报错

QiangGeCode commented 1 year ago
  • 安装pyicloud sudo pip install pyicloud

安装pyicloud sudo pip install pyicloud 报错

有几个报错没事的,只要目录/usr/local/lib/python3.8/dist-packages/ 下面有pyicloud目录就行,说明已经安装成功了,报错是因为有几个包之间有点冲突,我安装的时候也有,不过不影响使用。

bruceliu496 commented 1 year ago

老哥这个真棒,终于解决了。

wtlucky commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

@blademainer 借楼问一下,目前我使用了这个镜像已经可以下载了,但是发现 live photo 的下载缺失了 MOV 文件,只下载了 HEIC文件。之前的镜像一直没成功过,所以不知道是哪里的问题,问下你们现在可以正常下载么?

PS. 我尝试从 icloud.com.cn 下载照片,live photo 会下载 IMG_xxxx.HEIC 和 IMG_xxxx.MOV 两个文件,但是看这个项目的 Readme 貌似之前的 live photo 下载的文件是IMG_xxxx.HEIC 和 IMG_xxxx_HEVC.MOV,文件名对不上。 不知道是不是这个原因,目前还没去翻下载器那部分源码看,先问下大家是否有同样的问题。

luyud commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

@blademainer 借楼问一下,目前我使用了这个镜像已经可以下载了,但是发现 live photo 的下载缺失了 MOV 文件,只下载了 HEIC文件。之前的镜像一直没成功过,所以不知道是哪里的问题,问下你们现在可以正常下载么?

PS. 我尝试从 icloud.com.cn 下载照片,live photo 会下载 IMG_xxxx.HEIC 和 IMG_xxxx.MOV 两个文件,但是看这个项目的 Readme 貌似之前的 live photo 下载的文件是IMG_xxxx.HEIC 和 IMG_xxxx_HEVC.MOV,文件名对不上。 不知道是不是这个原因,目前还没去翻下载器那部分源码看,先问下大家是否有同样的问题。

没有,只有照片部分, 视频部分没有,不知道什么原因

wtlucky commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

@blademainer 借楼问一下,目前我使用了这个镜像已经可以下载了,但是发现 live photo 的下载缺失了 MOV 文件,只下载了 HEIC文件。之前的镜像一直没成功过,所以不知道是哪里的问题,问下你们现在可以正常下载么?

PS. 我尝试从 icloud.com.cn 下载照片,live photo 会下载 IMG_xxxx.HEIC 和 IMG_xxxx.MOV 两个文件,但是看这个项目的 Readme 貌似之前的 live photo 下载的文件是IMG_xxxx.HEIC 和 IMG_xxxx_HEVC.MOV,文件名对不上。 不知道是不是这个原因,目前还没去翻下载器那部分源码看,先问下大家是否有同样的问题。

下午看了下源码,找到问题了,应该是几个工具数据结构衔接不一致导致的,不知道之前是怎么正常工作的,我临时改了下可以了,有需要的可以照着改一下,这样只能下载 original 的 live photo.

一共需要改两个文件:

  1. /usr/lib/python3.10/site-packages/icloudpd-1.7.2-py3.10.egg/icloudpd/base.py 510-514行 文件名更换那块代码改为 filename = filename.replace(".HEIC", ".MOV")
  2. /usr/lib/python3.10/site-packages/pyicloud/services/photos.py 496行 VIDEO_VERSION_LOOKUP 增加一个键值对 "originalVideo": "resOriginalVidCompl",

因为同时改了 icloudpd 和 pyicloud 两个库,不一定是最优解,不着急的可以等库的维护者发新版本。

blademainer commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

@blademainer 借楼问一下,目前我使用了这个镜像已经可以下载了,但是发现 live photo 的下载缺失了 MOV 文件,只下载了 HEIC文件。之前的镜像一直没成功过,所以不知道是哪里的问题,问下你们现在可以正常下载么?

PS. 我尝试从 icloud.com.cn 下载照片,live photo 会下载 IMG_xxxx.HEIC 和 IMG_xxxx.MOV 两个文件,但是看这个项目的 Readme 貌似之前的 live photo 下载的文件是IMG_xxxx.HEIC 和 IMG_xxxx_HEVC.MOV,文件名对不上。 不知道是不是这个原因,目前还没去翻下载器那部分源码看,先问下大家是否有同样的问题。

我也不知道原因哈,我编译的镜像来源是 https://github.com/blademainer/docker-icloudpd 也是从 https://github.com/miniers/docker-icloudpd fork而来

HyperBen commented 1 year ago

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

能通过验证了,然而。。。又报错

捕获

0xJacky commented 1 year ago

这个是环境变量的时区问题,改成-e TZ=Asia/ShanghaiJackyOn Dec 19, 2022, at 2:57 PM, HyperBen @.***> wrote:

完全不会。。我用unrad docker来着的,能方便说下具体步骤吗

用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7

能通过验证了,然而。。。又报错

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

HyperBen commented 1 year ago

这个是环境变量的时区问题,改成-e TZ=Asia/ShanghaiJackyOn Dec 19, 2022, at 2:57 PM, HyperBen @.> wrote: 完全不会。。我用unrad docker来着的,能方便说下具体步骤吗 用我编译的镜像吧:pjoc/docker-icloudpd:master 支持pc、armv7 能通过验证了,然而。。。又报错 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.>

好使!原来我写成之前的CST-8了

liyangsnd commented 1 year ago

thank you for all

HuEnoch commented 1 year ago

有没有大佬能再出个教程。 小白完全不会自己更新。。。

china31 commented 1 year ago

原作者就是不更新

Arnold4869 commented 1 year ago

https://github.com/miniers/docker-icloudpd 直接看我fork的提交就行

谢谢!直接提交不了,复制了一下重新提交了PR.

你提的pr是不是也有上边说的实况照片下载不对的问题 @Alano-i

Arnold4869 commented 1 year ago

可以看下你修改的第一个文件的代码吗,我这边照着改了下,好像不对 @wtlucky

wtlucky commented 1 year ago

可以看下你修改的第一个文件的代码吗,我这边照着改了下,好像不对 @wtlucky

image

截了一个图你看看吧,注意下缩进,用空格不要用 tab。 @Arnold4869

Arnold4869 commented 1 year ago

@wtlucky 谢谢,我应该就是用了tab导致不对的

tokyoqiang commented 1 year ago

pjoc/docker-icloudpd:master

老哥,能不能帮忙说下在群晖 docker里如何安装使用你的镜像?感谢!

Arnold4869 commented 1 year ago

你装的有portainer没,有了话就直接复制编辑时把镜像替换成pjoc这个。 如果没有,就用群晖自带的docker,把原来的容器设置导出,默认是一个json文件,用编辑器打开,ctrl + f,查找下”boredazfcuk“那一行,然后把对应的镜像替换成"pjoc/docker-icloudpd:master",之后再导入这个修改过的配置文件创建新容器 我是用第一个办法整的,第二个应该理论上没啥问题,,但我没试,你可以试试 @tokyoqiang

china31 commented 1 year ago

你装的有portainer没,有了话就直接复制编辑时把镜像替换成pjoc这个。 如果没有,就用群晖自带的docker,把原来的容器设置导出,默认是一个json文件,用编辑器打开,ctrl + f,查找下”boredazfcuk“那一行,然后把对应的镜像替换成"pjoc/docker-icloudpd:master",之后再导入这个修改过的配置文件创建新容器 我是用第一个办法整的,第二个应该理论上没啥问题,,但我没试,你可以试试 @tokyoqiang

pjoc/docker-icloudpd:master 可以顺利的通过验证,可是一直都无法正常备份照片。查看容器日志也是不断的在提示错误。由于容器已经删除,错误日志没有拷贝。此处无法提供

Arnold4869 commented 1 year ago

我这边使用正常,你可以贴下报错看咋回事 @china31

vanyanyan commented 1 year ago

请原作者更新解决这个问题吧 3.17也还有这个问题

qzchenwl commented 1 year ago

PR #265 已修复,我自己打了个镜像qzchenwl/icloudpd,亲测有效。

shaoj0013 commented 1 year ago

亲测有效,但是打开了ios16.3的高级数据保护功能后,又废了!关闭此功能后恢复!发自我的 iPhone在 2023年1月19日,15:05,chenwl @.***> 写道: PR #265 已修复,我自己打了个镜像qzchenwl/icloudpd,亲测有效。

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

JinhanM commented 1 year ago

亲测有效,但是打开了ios16.3的高级数据保护功能后,又废了!关闭此功能后恢复!发自我的 iPhone在 2023年1月19日,15:05,chenwl @.> 写道: PR #265 已修复,我自己打了个镜像qzchenwl/icloudpd,亲测有效。 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

你可以用吗?我在出现这个之后大概10个小时之后还没有动静 2023-01-25 23:45:19 INFO Generating list of files in iCloud. This may take a long time if you have a large photo collection. Please be patient. Nothing is being downloaded at this time

shaoj0013 commented 1 year ago

不会啊!我打开高级数据保护发现无法正常下载照片视频后,即刻关闭了此功能!重启容器后下载正常!不知道哪位高手能升级容器支持高级数据保护功能就好了!

2023年1月26日 17:15,JinhanM @.***> 写道:

亲测有效,但是打开了ios16.3的高级数据保护功能后,又废了!关闭此功能后恢复!发自我的 iPhone在 2023年1月19日,15:05,chenwl @.> 写道: PR #265 https://github.com/boredazfcuk/docker-icloudpd/pull/265 已修复,我自己打了个镜像qzchenwl/icloudpd,亲测有效。 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>

你可以用吗?我在出现这个之后大概10个小时之后还没有动静 2023-01-25 23:45:19 INFO Generating list of files in iCloud. This may take a long time if you have a large photo collection. Please be patient. Nothing is being downloaded at this time

— Reply to this email directly, view it on GitHub https://github.com/boredazfcuk/docker-icloudpd/issues/227#issuecomment-1404728924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5VSY4CLLN5WCXGUT23FMTWUI6C7ANCNFSM6AAAAAARXIUQ64. You are receiving this because you commented.

Arnold4869 commented 1 year ago

高级数据保护功能暂时只能关闭后才能使用这个docker,作者之前在这个链接有说过 https://github.com/boredazfcuk/docker-icloudpd/issues/250 @shaoj0013

JinhanM commented 1 year ago

我检查了我的icloud,国内的iCloud暂时不支持打开高级数据保护功能,所以这个问题应该暂时不存在

Arnold4869 @.***> 于2023年1月26日周四 17:25写道:

高级数据保护功能暂时只能关闭后才能使用这个docker,作者之前在这个链接有说过

250 https://github.com/boredazfcuk/docker-icloudpd/issues/250

@shaoj0013 https://github.com/shaoj0013

— Reply to this email directly, view it on GitHub https://github.com/boredazfcuk/docker-icloudpd/issues/227#issuecomment-1404738551, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISEKYYJHNRLHYXMKC4NXWLWUI7HJANCNFSM6AAAAAARXIUQ64 . You are receiving this because you commented.Message ID: @.***>

JinhanM commented 1 year ago

不会啊!我打开高级数据保护发现无法正常下载照片视频后,即刻关闭了此功能!重启容器后下载正常!不知道哪位高手能升级容器支持高级数据保护功能就好了! 2023年1月26日 17:15,JinhanM @.***> 写道: 亲测有效,但是打开了ios16.3的高级数据保护功能后,又废了!关闭此功能后恢复!发自我的 iPhone在 2023年1月19日,15:05,chenwl @.> 写道: PR #265 <#265> 已修复,我自己打了个镜像qzchenwl/icloudpd,亲测有效。 —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.> 你可以用吗?我在出现这个之后大概10个小时之后还没有动静 2023-01-25 23:45:19 INFO Generating list of files in iCloud. This may take a long time if you have a large photo collection. Please be patient. Nothing is being downloaded at this time — Reply to this email directly, view it on GitHub <#227 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5VSY4CLLN5WCXGUT23FMTWUI6C7ANCNFSM6AAAAAARXIUQ64. You are receiving this because you commented.

我检查了我的icloud,国内的iCloud暂时不支持打开高级数据保护功能,所以应该不是这个bug所致