Failed to get all albums (500)
Hello, I am on v1.121.0 and getting this error when trying to view the Albums page. All the other pages seem fine. Interestingly, I don't get the error on the iOS app, however, the photos never load and stay blurry.
If it matters, I've been using the folder album creator (github.com/Salvoxia/immich-folder-album-creator?tab=readme-ov-file) to create albums. But I've been able to access the Albums page just fine until a few days ago.
Here's what I copied when I got the error:
I'd greatly appreciate any help. Thanks!
14 Replies
:wave: Hey @yukisoma,
Thanks for reaching out to us. Please follow the recommended actions below; this will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker compose ps
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
Checklist
1. :ballot_box_with_check: I have verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: I have read applicable release notes.
3. :ballot_box_with_check: I have reviewed the FAQs for known issues.
4. :ballot_box_with_check: I have reviewed Github for known issues.
5. :ballot_box_with_check: I have tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: I have uploaded the relevant logs, docker compose, and .env files, making sure to use code formatting.
7. :ballot_box_with_check: I have tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:You haven't posted any of the requested info
@bo0tzz
Sorry, I thought those logs would suffice.
Logs after click on the Albums button and getting the error:
docker-compose.yml
: https://pastebin.com/djnPRbJa
.env
:
I tried accessing the Albums page using a user that doesn't use the folder album creator, and should have only 1 album, but I get the same error.Pastebin
WARNING: Make sure to use the docker-compose.yml of the current ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Can you set the log level to verbose and try again, then post the full logs of both immich-server and postgres?
Pastebin
Initializing Immich v1.121.0Detected CPU Cores: 4Starting api worke...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
2024-11-26 19:30:45.253 UTC [1] LOG: starting PostgreSQL 14.10 (De...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I should mention that I did try it earlier and it worked on one of the users that uses the folder album creator. But all other times since then, it hasn't worked. Wondering if it's a resource problem. I've set limits I think on every container. If that's the case, I'm definitely open to suggestions.
Your database is getting crash loop/restarted multiple times. What are your system specs and OS, and do you have any resource limits set for PG?
It's an M1 Mac Mini, 8 cores, 8 GB RAM, MacOS Sonoma 14.5.
The resource limits for PG are:
Try with a full core and 2GB.
Either way it’s likely been crashed a bunch of times by now
I'll try that, thanks. Is it a concern that it may have crashed a lot by now?
It says it’s getting a SIGKILL, so something on your system is forcing it to shutdown/kill processes
Yeah it could have corruption. Hard to say
If it starts up cleanly it should be fine in theory
Still getting the error...if I restore from a backup, it would still be corrupted, right?
I think I'm just gonna start from scratch and go from there. Thank you both for your help! @Zeus @bo0tzz
my point is there is no reason that PG should be crashing like this and it's probably an issue with your system/resources
so I don't suspect that a reinstall will fix anything
Oh yeah I know, I'll adjust the resources accordingly and do a fresh install. Thanks again