Self-host: Unable to upload photos #685
Replies: 6 comments 11 replies
-
I guess the mobile app currently doesn't support disabling the Cloudflare workers for file uploads. For context, these workers were introduced as a way of make file uploads faster (more details are in this blog post). On the web apps, this can be disabled by setting the Meanwhile, what you can do is - hardcode |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
We found an issue for folks running on Windows that'd explain why the uploads were failing: the minio-provision script was not being executed because its line endings were being converted on Windows to CRLF. I've added gitattributes to prevent that from happening, now the uploads should work fine on the latest main even on Windows. |
Beta Was this translation helpful? Give feedback.
-
Hi, I’m having the same problem as @deepgosalia1 and I don’t use Windows. Disabling faster uploads does not work. If I go to one one the "localhost:3200/b2-eu-cen/something" links the output is a xml with an "SignatureDoesNotMatch" error. When I looked at the code it seemed like this is to do a backup of the file and after that the upload is done. If that’s the case, does it make sense to do a local backup on the self-hosting device? |
Beta Was this translation helpful? Give feedback.
-
Sorry I misunderstood what the minio server did. I can send logs later in the day but I think I've found the reason. I've tried to do everything on the hosting device and go to localhost:3000 and the upload works. It's when I go to 192.168.1.xxx:3000 that the upload does not work. Maybe the reason is that the minio server url is always set to localhost:3200 and when tried on another device it does not find it (because is not on localhost) So a solution could be to set an env variable to change localhost:3200 to another url? |
Beta Was this translation helpful? Give feedback.
-
But I want to use the bundled minio. The problem is if I access the web client from another device in the local network with 192.168.1.xxx:3000, the upload does not work |
Beta Was this translation helpful? Give feedback.
-
I've gotten a self-hosted Ente instance running, and I was able to build an Android APK that points at my instance. I am able to create a user and log in, but photo uploading doesn't seem to work.
I can see server logs showing my mobile client trying to do something, but no uploads seem to complete:
I am allowing all the ports I could dig up: 2112, 3200-3201, 5432, 8080.
Anyone have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions