-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[BUG] Cannot open file, path #3313
Comments
You are using Shared Album feature on iOS, correct? |
Yes. I have one Shared Album on ios. But the fact is that when I run immich without my nginx config and use the built-in immich-proxy container (on the local network with the setting - port: 10.66.66.1:2283:8080) - then there are no errors in the log. My Nginx conf: map $http_upgrade $connection_upgrade { map $http_x_forwarded_proto $forwarded_protocol { upstream server { upstream web { server { listen 80; server_name immich.mydomain.ml www.immich.mydomain.ml; if ($host = www.immich.mydomain.ml) { if ($host = immich.mydomain.ml) { } server { listen 443 ssl http2; ssl_certificate /etc/letsencrypt/live/immich.mydomain.ml/fullchain.pem; # managed by Certbot access_log /var/log/nginx/immich.mydomain.ml-access.log; proxy_buffering off; proxy_http_version 1.1; location /api { location / { } |
The reported issue you are seeing is related to Shared Album, which we are not fully supported (yet). Nginx should not interfere at all with the log message you are seeing on the mobile app |
Understood thanks. I hope you will support shared album on ios soon |
I disabled shared albums on ios. I completely uninstalled and reconfigured immich. Ran it on the docker network (192.168.0.182:2283:8080 in docker compose). And still the error sometimes appears ( |
I have the same error, my immich is running behind a reverse apache proxy. Immich will not continue to upload pictures and only killing it manually and restarting helps. |
+1 affected here. Similar setup - behind nginx proxy. No photos being uploaded at all. I am just using the bare minimum, no shared albums as such. v1.79 Edit: Version is 1.86 |
@ViktorBarzin Can you update to 1.86? |
My bad, already on 1.86 |
@ViktorBarzin can you check mobile app logs as well as the server log? |
Nothing suspicious - client logs suggest syncying succeeds with It's a vanilla installation in k8s behind an nginx ingress. I tried syncing a smaller album before going on the main gallery. I don't know if that makes any difference. |
@ViktorBarzin Try access the instance over local IP to remove the proxy variable |
Yep the proxy was the issue, great catch :) The nginx ingress had the logs:
Edit: Perhaps worth handling this in the client in a better way - it was sending the metadata but the actual image/video transfer was failing but this was not accounted for. Perhaps add a post-send check to confirm the existence of the file? |
@kloknibor i tried to set it up behind a reverse proxy, and failed. could you share your config plz? |
I had the same issue and solved it by adding |
The bug
Permanent bug in iOS app. Occurs very often. The Immich server is running with an nginx reverse proxy (without using the immich-proxy container). Upload directory mounted as nfs share
Message
PathNotFoundException: Cannot open file, path = '/private/var/mobile/Containers/Data/Application/EEC3F688-3507-41A4-AEBE-7BA9099CA519/tmp/.image/1636156303.686423_o_FullSizeRender.jpg' (OS Error: No such file or directory, errno = 2)
From
ImmichErrorLogger
Stack traces
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _FileStream._start.onOpenFile (dart:io/file_impl.dart:153)
The OS that Immich Server is running on
Debian
Version of Immich Server
v1.67.2
Version of Immich Mobile App
v1.67.0
Platform with the issue
Your docker-compose.yml content
Standart
Your .env content
Reproduction steps
Additional information
No response
The text was updated successfully, but these errors were encountered: