Skip to content
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

Assets (mostly) fail to upload on iOS #8738

Closed
1 of 3 tasks
awlsring opened this issue Apr 12, 2024 · 3 comments
Closed
1 of 3 tasks

Assets (mostly) fail to upload on iOS #8738

awlsring opened this issue Apr 12, 2024 · 3 comments

Comments

@awlsring
Copy link

The bug

I'm having a strange issue with my instance.

Awhile back, my asset upload process on my iPhone 15 Pro started silently failing. Rather than throwing an error, I would see the upload status bar progress to the end, then move on to the next despite the asset not getting uploaded. However, some assets will occasionally upload. These tend to be screenshots and not images created by the camera.

This is not specific to my user. I have created numerous users and logged in on my device and attempt upload, all showing the same behavior. This includes successfully uploading on the same images.

This is not specific to a folder, and changing from recents to favorites produces the same error.

This is specific to my instance. I created a new instance to validate upload from my same device, and I was able to upload all files.

I verified my original account can upload images by logging into it on another device (A several years old Android) and was able to upload.

My partner is also on my instance with an iPhone 14 Pro and is able to upload everything successfully.

While attempting to troubleshoot, I have tried...

  • Reinstalling the app
  • Reinstalling the app with a power cycle inbetween
  • Reinstalling the app, with power cycle, with a new user

I have set the finest logging and am not seeing anything relevant in the logs. Examining the server logs on DEBUG mode, I see no errors being posted.

I'm not sure how to proceed further, so any advice is appreciated!

The OS that Immich Server is running on

Ubuntu on K3s

Version of Immich Server

v1.101.0

Version of Immich Mobile App

v1.101.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

I use K3S

Your .env content

not .env, but env vars I pass to sever deployment

│     Environment:                                                                                                                                                                                                   │
│       UPLOAD_LOCATION:                 ./library                                                                                                                                                                   │
│       DB_HOSTNAME:                     immich-app-postgres-service-c8de0146                                                                                                                                        │
│       DB_USERNAME:                     immich                                                                                                                                                                      │
│       DB_DATABASE_NAME:                immich                                                                                                                                                                      │
│       DB_PORT:                         5432                                                                                                                                                                        │
│       DB_PASSWORD:                     <set to the key 'DATABASE_PASSWORD' in secret 'immich-database-password'>  Optional: false                                                                                  │
│       POSTGRES_PASSWORD:               <set to the key 'DATABASE_PASSWORD' in secret 'immich-database-password'>  Optional: false                                                                                  │
│       IMMICH_MACHINE_LEARNING_URL:     http://immich-app-machine-learning-service-c858f540:3003                                                                                                                    │
│       PUBLIC_IMMICH_SERVER_URL:        -                                                                                                                                                  │
│       REDIS_HOSTNAME:                  immich-app-redis-service-c85a9ac1                                                                                                                                           │
│       LOG_LEVEL:                       debug                                                                                                                                                                       │
│       MACHINE_LEARNING_EAGER_STARTUP:  false

Reproduction steps

1. Allow asset upload to upload

Additional information

No response

@alextran1502
Copy link
Contributor

Do you use a reverse proxy and not include the client_max_body_size clause or equivalent?

Ref: https://immich.app/docs/administration/reverse-proxy

@awlsring
Copy link
Author

I do use nginx, although it is via nginix ingress provider in kubernetes

just for context, here are is my immich chart: https://github.com/awlsring/Homelab/blob/main/infrastructure/kubernetes/charts/immich.k8s.yaml

I don't have anything explicitly set for this. I'll look into how I can for my setup and see if that tries anything.

@awlsring
Copy link
Author

Wow that was it! Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants