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
Immich
Immich•6mo ago
: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:
drunkenmaster92
drunkenmaster92OP•6mo ago
also when i try to access immich via the local ip i get a ERR_EMPTY_RESPONSE
Daniel
Daniel•6mo ago
This is your database not starting up Does it show any logs?
drunkenmaster92
drunkenmaster92OP•6mo ago
yes, i attached a txt file
Daniel
Daniel•6mo ago
Just saw that they're in between, yea. Sorry You have ticked off 6. but haven't actually provided everything Please do so
drunkenmaster92
drunkenmaster92OP•6mo ago
apologies, i'll do that rn
drunkenmaster92
drunkenmaster92OP•6mo ago
i'll see if i can reupload the env
drunkenmaster92
drunkenmaster92OP•6mo ago
drunkenmaster92
drunkenmaster92OP•6mo ago
(i renamed the env file for sake of viewing in discord)
Daniel
Daniel•6mo ago
Awesome ty, most people don't 😅 Honestly this seems like Windows just f'ing up (again)
drunkenmaster92
drunkenmaster92OP•6mo ago
😮
Daniel
Daniel•6mo ago
I'd try restarting WSL and starting the stack up again
drunkenmaster92
drunkenmaster92OP•6mo ago
sigh why is discord like this
Daniel
Daniel•6mo ago
Huh?
drunkenmaster92
drunkenmaster92OP•6mo ago
do you mean nestsh reset thingy?
Daniel
Daniel•6mo ago
No, just restart the docker "app" What do you mean with this?
drunkenmaster92
drunkenmaster92OP•6mo ago
ahhh this, it auto converted to emoji xD
Daniel
Daniel•6mo ago
Oh lol You can turn that off :) :O
drunkenmaster92
drunkenmaster92OP•6mo ago
will do that ive tried 1. restarting docker 2. wsl --shutdown and then restart the laptop neither have worked
Daniel
Daniel•6mo ago
Same logs? Could you share them again?
drunkenmaster92
drunkenmaster92OP•6mo ago
gimme a few mins
drunkenmaster92
drunkenmaster92OP•6mo ago
similar logs
Daniel
Daniel•6mo ago
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
drunkenmaster92
drunkenmaster92OP•6mo ago
the hypen in 'immich-app'?
Daniel
Daniel•6mo ago
There's no hyphen here For UPLOAD_LOCATION
drunkenmaster92
drunkenmaster92OP•6mo ago
oh yeah, lemme test this
drunkenmaster92
drunkenmaster92OP•6mo ago
new env, same logs (did restart docker)
Daniel
Daniel•6mo ago
Your database keeps restarting, as if it were broken in some way Did you had your database in another folder at some point?
drunkenmaster92
drunkenmaster92OP•6mo ago
nope, it was working alright before i updated fresh install?
Daniel
Daniel•6mo ago
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
drunkenmaster92
drunkenmaster92OP•6mo ago
i do one sec
drunkenmaster92
drunkenmaster92OP•6mo ago
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
Daniel
Daniel•6mo ago
@sogan do you have any idea why the database keeps restarting without any error logs using the default compose file?
sogan
sogan•6mo ago
The logs are in postgres's log folder
drunkenmaster92
drunkenmaster92OP•6mo ago
No description
drunkenmaster92
drunkenmaster92OP•6mo ago
there is a log every few mins
drunkenmaster92
drunkenmaster92OP•6mo ago
this is the most recent one
sogan
sogan•6mo ago
Seems like some kind of corruption
drunkenmaster92
drunkenmaster92OP•6mo ago
aye, but of what xD
sogan
sogan•6mo ago
Do you have any DB backups?
drunkenmaster92
drunkenmaster92OP•6mo ago
not of immich, but i have all the files
drunkenmaster92
drunkenmaster92OP•6mo ago
wait is this a backup?
No description
Daniel
Daniel•6mo ago
No
sogan
sogan•6mo ago
Nope, it's just for a startup check
drunkenmaster92
drunkenmaster92OP•6mo ago
nvm then xD
Daniel
Daniel•6mo ago
1.120 has automatic backups now At least for the DB But that's too late for you
drunkenmaster92
drunkenmaster92OP•6mo ago
yee, i read alas
Daniel
Daniel•6mo ago
Can't stress it enough. MAKE BACKUPS
drunkenmaster92
drunkenmaster92OP•6mo ago
i do have all my files elsewhere, but yes i shall enable the auto backups once i finish a clean install xD
sogan
sogan•6mo ago
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)
drunkenmaster92
drunkenmaster92OP•6mo ago
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)
sogan
sogan•6mo ago
No problem! Hope everything goes smoothly
drunkenmaster92
drunkenmaster92OP•6mo ago
yus, take care and thank you :D

Did you find this page helpful?