Type ORM module error after updating to v1.121.0
Cannot access the server from local ip or from another device.
Running the server on windows and docker. Updated the server from 1.119 to 1.121 recently.
Docker shows no issues, but cannot access the server. steps tried are:
1. docker compose pull && docker compose up -d
2. manually download and replace the docker-compose.yml file with the most recent version.
3. docker compose down && docker compose pull && docker compose up
Logs show the TypeOrmModule error and util._extend api is deprecated
58 Replies
:wave: Hey @drunkenmaster92,
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:also when i try to access immich via the local ip i get a ERR_EMPTY_RESPONSE
This is your database not starting up
Does it show any logs?
yes, i attached a txt file
Just saw that they're in between, yea. Sorry
You have ticked off 6. but haven't actually provided everything
Please do so
apologies, i'll do that rn
i'll see if i can reupload the env
(i renamed the env file for sake of viewing in discord)
Awesome ty, most people don't 😅
Honestly this seems like Windows just f'ing up (again)
😮
I'd try restarting WSL and starting the stack up again
sigh why is discord like this
Huh?
do you mean nestsh reset thingy?
No, just restart the docker "app"
What do you mean with this?
ahhh this, it auto converted to emoji xD
Oh lol
You can turn that off
:)
:O
will do that
ive tried
1. restarting docker
2. wsl --shutdown and then restart the laptop
neither have worked
Same logs?
Could you share them again?
gimme a few mins
similar logs
Just noticing something else that may also break stuff (badly). You have a space in your folder path, I think that could mess things up
the hypen in 'immich-app'?
There's no hyphen here
For UPLOAD_LOCATION
oh yeah, lemme test this
new env, same logs (did restart docker)
Your database keeps restarting, as if it were broken in some way
Did you had your database in another folder at some point?
nope, it was working alright before i updated
fresh install?
Do you happen to still have your old compose file?
You said you replaced it during the update?
Worst case, yes. I am not really sure what's going on right now
Very odd
i do
one sec
this is the one i had to modify due to 1.118
another difference is port number has '2283:2283' in the new file
also i've had the same issue with both the old and the new compose files
@sogan do you have any idea why the database keeps restarting without any error logs using the default compose file?
The logs are in postgres's log folder

there is a log every few mins
this is the most recent one
Seems like some kind of corruption
aye, but of what xD
Do you have any DB backups?
not of immich, but i have all the files
wait is this a backup?

No
Nope, it's just for a startup check
nvm then xD
1.120 has automatic backups now
At least for the DB
But that's too late for you
yee, i read
alas
Can't stress it enough. MAKE BACKUPS
i do have all my files elsewhere, but yes i shall enable the auto backups once i finish a clean install xD
If you google
invalid record length at 0/830C25E0: wanted 24, got 0
, there are probably some DB recovery things you can attempt to salvage it (but make a backup of the DB files you have now so you can't make things worse)
A clean import also works. You can import the assets through external libraries (faster) or use the CLI (slower, but new and old assets are in one place)genuinely, thank you for your time. i think i'll do a clean install tomorrow. (i was gonna work on immich-go after this update)
No problem! Hope everything goes smoothly
yus, take care and thank you :D