Image upload and deletion not working
I recently setup Immich in a Kubernetes cluster and everything seems to be working fine, except for images don't upload via the website but they upload fine from the iOS client. Then, when I try to delete an image from the website, it gives me an error saying "Error deleting assets" but the photos do seem to be deleted. I've attached a photo of the browser's debug console, there is a "Load of media resource failed" error, followed by an Error deleting assets TypeError: _.buckets[s] is undefined". Is there anyway to get more information on these errors? When I check the logs of the pods there doesn't appear to be anything wrong.


31 Replies
I think this might be a bug in state management on the web
I am not yet able to reproduce reliably
let me know if I can do anything to help
Is there anything I can do in the mean time to mitigate the issue?
I mean they are deleted right? Just the feedback was incorrect
Ah are you talking about images not able to upload via the web?
yeah
I would have to pull in @bo0tzz , K8S expert
I don't see a way that this would be a k8s problem, but let's see
Can you post your values.yaml and all the logs etc?
Also check the browser console & devtools' network tab to see if there's any errors there perhaps
I can, I'm not using the helm chart though so I just have a bunch of yaml files checked into git
It'll be a while before I can take a look then. Can you link the repo?
if you don't mind, I'll just add you to it since it's private. I feel a bit weird making it public even though the secrets are encrypted, are you bo0tzz on github as well?
All good, yes indeed
sent you an invite, there are two branched, dev and production that each have a deployment. The dev branch's deployment works fine. The production one has these problems
@Pixil you gave me push access 😅
I sure did....
I thought I'd be able to set your access level
but apparently you can't give someone read only access to a private repo. https://github.com/orgs/community/discussions/23128
GitHub
Can I give read-only access to a private repo (from a developer acc...
Hi everyone, apologies if this is repeating a topic discussed already. Can I give read-only access to my private repo, to someone who is not a collaborator at present? Can I share a url, or add som...
okay, I've removed you and just made it public
GitHub
homelab-deployments/flux/apps/photos at production · pixil98/homela...
Contribute to pixil98/homelab-deployments development by creating an account on GitHub.
That's wild lol wtf
seems like a pretty critical thing to be able to do
So I have two clusters running, production and dev. You can see the different branches in the repo. The dev one works fine, while the production one doesn't. The only difference is that for production I'm using a specific nfs mount while dev is using nfs-subdir to provision a volume
but since the iOS client can upload files fine and they appear on the nfs mount it should be working correctly
I can pull logs tonight, is there a way to increase verbosity in logging?
There's a log level env var. I don't remember what it is though so you'll need to check the logs 😅
LOG_LEVEL=verbose
but I am not sure it would help. Any log on the server when you upload the file?
Or from the web consoleI didn't see any logs in the server, proxy, or web pods when I tried to upload last night, I can't check it while I'm at work
I don't get anything in the web console at all
fwiw I'm trying to upload a heic file I got from google takeout
I think I just identified the problem, all the images I tried are heic, when I try a random jpg I grabbed from wikipedia it uploaded fine
Do you have a file you can share for us to try?
@Alex if you have time? I'm nowhere near a running instance right now 😛
oooh I also don't get the error on deletion when I delete a recently uploaded jpg
Hmm probably some bugs with the web when trying to determine if the file is uplodable, we change a few things in that mechanism last release. I tested on the demo instance and nothing show up
I will have to check this when I get home and my internet is back up
can you open an issue?
sure thing
Should I write up a separate issue for the deletion error?
GitHub
[BUG] Unable to upload heic files from the web interface · Issue #3...
The bug I have a newly setup Immich instance in kubernetes. When I try to upload an heic file from the web interface it does not work and acts as if nothing happened. I am able to upload jpg files ...
Thank you!
Yes if you can find a way to reproduce it
I'll see if I can reproduce it on my dev cluster tonight
I just sat down to have a good look at this and I see the code fix has already been merged 😄