-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on Raspberry PI #200
Comments
Lots of weird things happening here then… it’s saying there’s a permissions issue when running a pip command (the second one, first one seems to complete OK). It also has an incorrect time… which will break TLS communications with iCloud.com every if there was nothing else wrong. Can you see if you are running the container in a restricted mode? Possibly set it to run privileged? |
Tried with --privileged and that worked fine. But I guess it should not really run like that? There is no direct need for it technically? And a totally unrelated question: |
Yeah, I think you're going to have to. I've had a couple other people mention issues running on Raspberry Pis. I think the Raspbain (or whatever the OS is called nowadays) it must default to a restricted group, so that the container can't actually write to itself. From what I remember, the app in the container doesn't recognise "live photos". All it does is log on to icloud.com and download everything it finds. Live photos are stored as an You'll notice this with a lot of files. What is stored in icloud.com does not match what is stored on your phone. Basically, Apple just takes photos in a default resolution and then applies an "after effect" to the photo. These files can be seen if you plug your phone into your computer and browse the device in the file explorer (they're AAE files). These effect files add the filter to the phone, like "portait" or "sepia" or "greyscale" etc. Currently there's no way of downloading these and applying them to the photo in question. If you open them up in a text editor, you can see they're actually encrypted, so it may present a problem to people trying to develop that functionality for the app inside the container. |
OK - thanks for the information and help with this issue. Maybe a note in dockerhub could prevent other PI-users to struggle with this? |
I'll need a bit more investigation before I add something. I don't really know anything about the issue, beyond seeing something similar once or twice before... Is this happening on all OSs on arm devices, or specific ones? Is it happening with the default config, or is it a user implemented change which is responsible? i do have an RPi2 knocking around somewhere. I may fire it up and see if I can replicate the behaviour. |
I am trying to run icloudpd on my Raspberry PI 3 (ARM v7).
Creating network:
Then creating container:
Then I start the container
And then when I try to initialize - I get a lot of errors. First some pip errors and then some network errors:
It says it cannot find icloud.com ip, but I can at least ping it from my Raspberry:
Seems that the network issue can be related to the time issue? I see that the time of container is in 1970?
Found this:
alpinelinux/docker-alpine#135
I logged into the container and tried running this command manually:
Which is the command that generates errors. If I remove "the grep part" it works fine - i.e. "pip3 list" works fine by itself.
I also did:
and
and
The text was updated successfully, but these errors were encountered: