I
Immichβ€’2d ago
DemonWarrior

Immich webui not loading 2.2.3

I run unraid and immich fromthe appstore ghcr.io/imagegenius/immich:cuda i messed up trying to downgrade my image and on unraid that means when it fails if your changing the image you have to recreate the container from the appstore did that copied all the settings and now it wont get past this line. full logs below also the running of my system
54 Replies
Immich
Immichβ€’2d ago
:wave: Hey @DemonWarrior, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. 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 ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: 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) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed.
DemonWarrior
DemonWarriorOPβ€’2d ago
docker run
docker run
-d
--name='immich4'
--net='bridge'
--pids-limit 0
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid-Server"
-e HOST_CONTAINERNAME="immich4"
-e 'DB_HOSTNAME'='192.168.1.158'
-e 'DB_USERNAME'='postgres3'
-e 'DB_PASSWORD'='postgres3'
-e 'DB_DATABASE_NAME'='immich3'
-e 'REDIS_HOSTNAME'='192.168.1.158'
-e 'DB_PORT'='5432'
-e 'REDIS_PORT'='6379'
-e 'REDIS_PASSWORD'=''
-e 'SERVER_HOST'='0.0.0.0'
-e 'SERVER_PORT'='2282'
-e 'MACHINE_LEARNING_HOST'='0.0.0.0'
-e 'MACHINE_LEARNING_PORT'='3003'
-e 'MACHINE_LEARNING_WORKERS'='1'
-e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120'
-e 'NVIDIA_VISIBLE_DEVICES'='GPU-20857d05-b74c-1087-89f9-c2e4ce33d36c'
-e 'NVIDIA_DRIVER_CAPABILITIES'='all'
-e 'PUID'='99'
-e 'PGID'='100'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png'
-p '2282:8080/tcp'
-v '/mnt/user/Unraid_Share/Glassberg Family Memories/immich/':'/photos':'rw'
-v '/mnt/remotes/MOVIES4YOU-NAS_J/Google-Photos/':'/libraries':'rw'
-v '/mnt/user/appdata/immich':'/config':'rw'
--runtime=nvidia 'ghcr.io/imagegenius/immich:cuda'

1a47fc1e5947346aeb4647a0abc3ef828e1f4bd1910b0865e0a2f88fa1a8147e

The command finished successfully!
docker run
-d
--name='immich4'
--net='bridge'
--pids-limit 0
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid-Server"
-e HOST_CONTAINERNAME="immich4"
-e 'DB_HOSTNAME'='192.168.1.158'
-e 'DB_USERNAME'='postgres3'
-e 'DB_PASSWORD'='postgres3'
-e 'DB_DATABASE_NAME'='immich3'
-e 'REDIS_HOSTNAME'='192.168.1.158'
-e 'DB_PORT'='5432'
-e 'REDIS_PORT'='6379'
-e 'REDIS_PASSWORD'=''
-e 'SERVER_HOST'='0.0.0.0'
-e 'SERVER_PORT'='2282'
-e 'MACHINE_LEARNING_HOST'='0.0.0.0'
-e 'MACHINE_LEARNING_PORT'='3003'
-e 'MACHINE_LEARNING_WORKERS'='1'
-e 'MACHINE_LEARNING_WORKER_TIMEOUT'='120'
-e 'NVIDIA_VISIBLE_DEVICES'='GPU-20857d05-b74c-1087-89f9-c2e4ce33d36c'
-e 'NVIDIA_DRIVER_CAPABILITIES'='all'
-e 'PUID'='99'
-e 'PGID'='100'
-e 'UMASK'='022'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:8080]'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/imagegenius/templates/main/unraid/img/immich.png'
-p '2282:8080/tcp'
-v '/mnt/user/Unraid_Share/Glassberg Family Memories/immich/':'/photos':'rw'
-v '/mnt/remotes/MOVIES4YOU-NAS_J/Google-Photos/':'/libraries':'rw'
-v '/mnt/user/appdata/immich':'/config':'rw'
--runtime=nvidia 'ghcr.io/imagegenius/immich:cuda'

1a47fc1e5947346aeb4647a0abc3ef828e1f4bd1910b0865e0a2f88fa1a8147e

The command finished successfully!
Alex Tran
Alex Tranβ€’2d ago
Let's try this
Immich
Immichβ€’2d ago
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Alex Tran
Alex Tranβ€’2d ago
docker exec immich_postgres psql -U postgres -d immich -c "DELETE FROM system_metadata WHERE key = 'version-check-state';"
docker exec immich_postgres psql -U postgres -d immich -c "DELETE FROM system_metadata WHERE key = 'version-check-state';"
DemonWarrior
DemonWarriorOPβ€’2d ago
No description
Alex Tran
Alex Tranβ€’2d ago
okay looks good now F12 > console and navigate to the page
DemonWarrior
DemonWarriorOPβ€’2d ago
developer menu opened and at the page
Alex Tran
Alex Tranβ€’2d ago
any error? when you restart the immich stack, can you grab the whole logs? looks like the server doesn't start and just the microservice
DemonWarrior
DemonWarriorOPβ€’2d ago
whats the command again for docker full logs is this enough
Alex Tran
Alex Tranβ€’2d ago
yeah looks good
DemonWarrior
DemonWarriorOPβ€’2d ago
i feel like were missing something. everything shows its started in the logs but the actualy webserver wont load or show functioning i think it has something to do with the error the machine learning is not healthy upon boot
Alex Tran
Alex Tranβ€’2d ago
I am not sure as I don't use AIO as well as cuda image from AIO maybe wait until tomorrow for a new version from AIO image
DemonWarrior
DemonWarriorOPβ€’2d ago
honestly can i move to docker without losing my data? ive been meaning to do so
Alex Tran
Alex Tranβ€’2d ago
I believe so, but I don't know the exact steps so you should consult other people that have done it
DemonWarrior
DemonWarriorOPβ€’2d ago
should i post in the unraid section?
Alex Tran
Alex Tranβ€’2d ago
Yeah go ahead
DemonWarrior
DemonWarriorOPβ€’2d ago
ill report back soon
Bionic_Tuna
Bionic_Tunaβ€’this hour
came looking for this issue - noticed the same problem this morning will just wait for update
Teije
Teijeβ€’this hour
Are you guys also talking about the UI freezing?
Bionic_Tuna
Bionic_Tunaβ€’this hour
yeah - i am, at least
Teije
Teijeβ€’this hour
Phew, glad I am not the only one. I just tweaked my container to use a GPU and it felt like from that moment the UI started to freeze up.
Bionic_Tuna
Bionic_Tunaβ€’this hour
i just updated unraid to 7.2.1 this morning, but i can't say if i had opened immich since immich itself updated last and yeah just now an updated container pulled and it works again
Teije
Teijeβ€’this hour
How did you get the update? My unraid ui does not show that there is an update :/ Ah wait nevermind, now it does!
Mattaton
Mattatonβ€’23h ago
Same problem here. ImageGenius Cuda container just like @DemonWarrior - I assume I have updated to 2.3.1 this morning as that is the latest release shown on GitHub. Webpage is crashing a lot and not fully loading. (I'm still on unRAID 7.1.4)
Alex Tran
Alex Tranβ€’23h ago
Can you verify you see the new version report in the server logs after starting up the server?
DemonWarrior
DemonWarriorOPβ€’23h ago
my webui now just straight up doesnt load
Mattaton
Mattatonβ€’23h ago
Would that appear in the container log directly after starting the container? I'm not seeing anything about new version.
DemonWarrior
DemonWarriorOPβ€’23h ago
after attempting to downgrade
Alex Tran
Alex Tranβ€’23h ago
Hmm seems like issue with aio image
Mattaton
Mattatonβ€’23h ago
Mine is not consistent. It loads different amounts. Then a box will pop up saying the page isn't responding and I can wait or exit. Being very spotty.
DemonWarrior
DemonWarriorOPβ€’23h ago
thats what mine was doing before the downgrade
Alex Tran
Alex Tranβ€’23h ago
If you switch to a non-cuda image, does it work?
DemonWarrior
DemonWarriorOPβ€’23h ago
but now my webui nothing will happen it wont get past the micrososerver
Mattaton
Mattatonβ€’23h ago
No description
Mattaton
Mattatonβ€’23h ago
Is it safe to switch back and forth from cuda/non-cuda? If so, I'll give it a go.
DemonWarrior
DemonWarriorOPβ€’23h ago
ps im trying to migrate my db to a docker compose i keep getting this error trying to reinstall my backup
root@Unraid-Server:~# gunzip --stdout "/mnt/user/Unraid_Share/immich/backup/dump.sql.gz" | sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" | docker exec -i immich_postgres_final psql --dbname=immich4 --username=postgres4
SET
SET
SET
DROP DATABASE
NOTICE: database "immich3" does not exist, skipping
DROP ROLE
CREATE ROLE
ALTER ROLE
SET
SET
SET
SET
SET
set_config
--------------------
public, pg_catalog
(1 row)

SET
SET
SET
SET
UPDATE 0
ERROR: database "template1" does not exist
ERROR: option "locale_provider" not recognized
LINE 1: ...late1 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO...
^
ERROR: database "template1" does not exist
\connect: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: database "template1" does not exist
sed: couldn't write 171 items to stdout: Broken pipe

gzip: stdout: Broken pipe1
root@Unraid-Server:~# gunzip --stdout "/mnt/user/Unraid_Share/immich/backup/dump.sql.gz" | sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" | docker exec -i immich_postgres_final psql --dbname=immich4 --username=postgres4
SET
SET
SET
DROP DATABASE
NOTICE: database "immich3" does not exist, skipping
DROP ROLE
CREATE ROLE
ALTER ROLE
SET
SET
SET
SET
SET
set_config
--------------------
public, pg_catalog
(1 row)

SET
SET
SET
SET
UPDATE 0
ERROR: database "template1" does not exist
ERROR: option "locale_provider" not recognized
LINE 1: ...late1 WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PRO...
^
ERROR: database "template1" does not exist
\connect: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: database "template1" does not exist
sed: couldn't write 171 items to stdout: Broken pipe

gzip: stdout: Broken pipe1
Mattaton
Mattatonβ€’23h ago
Just FYI, I'm not doing anything with my database. Just a basic container update for me. So that's going to be a separate issue. @Alex if it's a trivial thing to switch to :latest and then back to :cuda, I can give it a go. Do I need to consider any settings I might have to tinker with later when doing that?
Alex Tran
Alex Tranβ€’23h ago
make a backup of your database first, then try switching. From the way we have other images, it just have additional driver binary instsalled to work with GPU
DemonWarrior
DemonWarriorOPβ€’22h ago
alex got anymore ideas im having issues recreting on dockerand i cnt get paste machine learning on unraid aio
Alex Tran
Alex Tranβ€’22h ago
I don't, you might need to open a GitHub issue on their repo
Mattaton
Mattatonβ€’22h ago
Switched to :latest and the webpage fired right up. I'm going to try switching back to :cuda and see what happens
DemonWarrior
DemonWarriorOPβ€’22h ago
Shit. I would really hate to start from scratch For AIO right ?
Alex Tran
Alex Tranβ€’22h ago
you still have the database, should be fine
Zeus
Zeusβ€’22h ago
I told you you’re restoring into the wrong Postgres version
Mattaton
Mattatonβ€’22h ago
Switching back to cuda has blown things up a bit. Just keeps repeating this over and over. πŸ™ [Nest] 1133 - 11/20/2025, 11:00:30 AM ERROR [Api:DatabaseRepository] Migrations failed: Error: corrupted migrations: previously executed migration 1761755618862-FixColumnNames is missing Error: corrupted migrations: previously executed migration 1761755618862-FixColumnNames is missing at #ensureNoMissingMigrations (/app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:487:23) at #getState (/app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:439:40) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async run (/app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:409:31) at async /app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/kysely.js:569:32 at async DefaultConnectionProvider.provideConnection (/app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20) at async #migrate (/app/immich/server/node_modules/.pnpm/kysely@0.28.2/node_modules/kysely/dist/cjs/migration/migrator.js:268:20) at async DatabaseRepository.runMigrations (/app/immich/server/dist/repositories/database.repository.js:325:36) at async /app/immich/server/dist/services/database.service.js:110:17 at async /app/immich/server/dist/repositories/database.repository.js:379:27 api worker exited with code 1 If I am hijacking @DemonWarrior thread, I can start my own. Figured we both had the same issue, so... @Alex appears that it COULD be a problem with the cuda version. I switched to latest and it fired right up. When I switched back to cuda I had migration issues so I had to restore the db. But now I am back to the same not loading problems.
Alex Tran
Alex Tranβ€’22h ago
good to know, I think it's worth posting a GitHub issue on their repo
Mattaton
Mattatonβ€’22h ago
Will do. Thanks!
Alex Tran
Alex Tranβ€’22h ago
time to switch to the official supported installed method πŸ˜›
Mattaton
Mattatonβ€’22h ago
Yeah, I hear ya. Thought about it...but you know me - I'm more of a visual guy. I tinker with the tech stuff, but I get overwhelmed and intimidated with the multi-container setup. πŸ˜„
Alex Tran
Alex Tranβ€’22h ago
lol, I can say for certain it will cutdown maintenance effort and get better help for sure πŸ˜„ more is less in this very case
Mattaton
Mattatonβ€’22h ago
Well, as borked as my install seems to be right now, I might now have a choice and I'll definitely have the opportunity/reason to try it. Ugh. There is already an issue posted on their github, but some people act like it's fine after updating to 2.3.1. I can't tell which version I'm on when using cuda (just shows Unknown). But when I switched to latest, it showed 2.3.1 and worked. So I don't know if the cuda version just isn't updating to 2.3.1 or what. Not what I had planned for my Thanksgiving vacation next week! πŸ˜„
Alex Tran
Alex Tranβ€’22h ago
haha

Did you find this page helpful?