-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Immich server does not start after update to v1.119.1 #13867
Comments
Please post the full logs of the containers |
Logs of
[Nest] 35 - 11/01/2024, 12:15:54 PM LOG [Api:EventRepository] Websocket Disconnect: V_7qQ_xXQW2lnExZAAAL [Nest] 35 - 11/01/2024, 12:15:55 PM LOG [Api:EventRepository] Websocket Connect: KkeHHhDoqLCCNWJfAAAN [Nest] 7 - 11/01/2024, 12:16:32 PM LOG [Microservices:PersonService] Detected 3 new faces in asset ea7a839d-6cb8-4150-a7a8-b12ff3972e1b [Nest] 7 - 11/01/2024, 12:16:42 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 8fa138ae-3a13-4cd5-b4b1-ae9a3cd4cba5 [Nest] 7 - 11/01/2024, 12:16:55 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 7d3b4126-42f7-4bc1-82dc-97236932b270 [Nest] 7 - 11/01/2024, 12:16:55 PM LOG [Microservices:PersonService] Detected 2 new faces in asset 79ca02df-4492-491c-8f33-9f8f8c79375f [Nest] 7 - 11/01/2024, 12:17:04 PM LOG [Microservices:PersonService] Detected 2 new faces in asset 5932333f-61b0-4ccd-a3b2-c329746f75be [Nest] 7 - 11/01/2024, 12:17:06 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 8342fefb-360b-47b7-88f7-47902a99d10d [Nest] 7 - 11/01/2024, 12:17:11 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 4185d688-e60b-4796-9adc-67bac8918d52 [Nest] 7 - 11/01/2024, 12:17:11 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 8f2c2d55-60fa-43c8-9fda-1ed78dba9499 [Nest] 7 - 11/01/2024, 12:17:18 PM LOG [Microservices:PersonService] Detected 2 new faces in asset 530eade0-c983-4137-9acf-495f32fa960b [Nest] 7 - 11/01/2024, 12:17:18 PM LOG [Microservices:PersonService] Detected 2 new faces in asset a692dcf4-e9ea-4ef1-a650-ba8788cfb4ca [Nest] 7 - 11/01/2024, 12:17:25 PM LOG [Microservices:PersonService] Detected 2 new faces in asset 42d5d480-cb01-444a-9ad2-08bbb29d4a59 [Nest] 7 - 11/01/2024, 12:17:32 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 3d640825-07ad-4a30-a79b-f5e299b9cbdd [Nest] 7 - 11/01/2024, 12:17:36 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 3cef301e-85a3-4222-9a7b-31ab1aa22fa1 [Nest] 7 - 11/01/2024, 12:17:43 PM LOG [Microservices:PersonService] Detected 3 new faces in asset b9b0424a-9499-4765-9ab6-1d7601a1b72e [Nest] 7 - 11/01/2024, 12:17:45 PM LOG [Microservices:PersonService] Detected 3 new faces in asset f1bc154c-52ac-4072-acd4-2b6981932e68 [Nest] 7 - 11/01/2024, 12:17:52 PM LOG [Microservices:PersonService] Detected 3 new faces in asset a9fc5de2-b00d-46fe-a94a-3daa5d300968 [Nest] 7 - 11/01/2024, 12:17:53 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 518ff394-e0ac-4010-9bd0-8cdd1655fdf4 [Nest] 35 - 11/01/2024, 12:17:59 PM LOG [Api:EventRepository] Websocket Disconnect: AY2xp-aysxh61x5qAAAF [Nest] 7 - 11/01/2024, 12:18:00 PM LOG [Microservices:PersonService] Detected 2 new faces in asset 9cddd2eb-daed-4cff-a423-a3db6aa221e7 [Nest] 7 - 11/01/2024, 12:18:02 PM LOG [Microservices:PersonService] Detected 3 new faces in asset bfb2c201-0945-473c-8e68-2e92583727f3 [Nest] 7 - 11/01/2024, 12:18:09 PM LOG [Microservices:PersonService] Detected 2 new faces in asset b2a07624-6190-40de-b462-33d50cc1b3ae [Nest] 7 - 11/01/2024, 12:18:13 PM LOG [Microservices:PersonService] Detected 3 new faces in asset ccfc7fab-37be-4c28-8c1b-25ecedab0d98 [Nest] 7 - 11/01/2024, 12:18:18 PM LOG [Microservices:PersonService] Detected 3 new faces in asset 8720237e-25e0-4617-8e87-ce7ceefe8301 [Nest] 7 - 11/01/2024, 12:18:24 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 1a2e9327-7351-4f42-95c6-742ed4d71842 [Nest] 7 - 11/01/2024, 12:18:26 PM LOG [Microservices:PersonService] Detected 3 new faces in asset de9775d5-6cce-474e-baf8-76e5dc5f6f52 [Nest] 7 - 11/01/2024, 12:18:33 PM LOG [Microservices:PersonService] Detected 1 new faces in asset a4428814-2308-49b7-8278-eb481f2858d4 [Nest] 7 - 11/01/2024, 12:18:53 PM LOG [Microservices:PersonService] Detected 1 new faces in asset f7773362-b1cf-4616-9b7a-b2cae93e9d1b Initializing Immich v1.119.1 Detected CPU Cores: 4 Starting api worker Starting microservices worker [Nest] 7 - 11/01/2024, 12:21:06 PM LOG [Microservices:EventRepository] Initialized websocket server [Nest] 35 - 11/01/2024, 12:21:07 PM LOG [Api:EventRepository] Initialized websocket server [Nest] 7 - 11/01/2024, 12:21:10 PM LOG [Microservices:MapRepository] Initializing metadata repository |
I have the same problem. |
@werefkin Can you try restart the stack with docker compose down, docker compose up? @lupoalberto12 your same problem might be from different issues with the setup, so you should create a different discussion thread with your setup and logs we can help |
Hm.. It is the same, it fails to start (there are some failure counts at the beginning and unhealthy status then), but apparently after some random time it does start indeed, cannot distingush a pattern yet. |
Nvm it started, so it was just downloading and ingesting the geocoding data |
How long did it took for your instance to start? I tried waiting for 2 hours - no luck. |
not that long, a few minutes, I still see the error and starting attempts though. I completety remove the stack and restored with my database backup. |
Yikes! I know that Immich is for 3-2-1 setup, but still from v1.x.x I would expect some backwards compatibility, especially since changelog mentioned nothing about this. |
To note - Immich is not following semver yet. I'm not sure what you're referring to with the changelog/compat comment though? |
I needed 7 minutes with 1 failed trial and abovementioned |
@zackpollard I wonder if there is any log we can add in this process to give users some feedback? |
The geodata really should take minutes at maximum, for most people it's like 10 seconds. I'm surprised it's taking this long but I can take a look into it at some point |
for me it took approx 16 minutes to be healthy, but working fine afterwards |
nvm. As for the issue, I can see (after plugging in main image from 13 hours ago), that the slow part is pgsql.
After uncapping pgsql and restarting both immich and pgsql now it's done pretty fast:
|
I am wondering, the issue is closed, was there any solution? Apparently the problem is common |
also me having this problem immich_server and immich_microservices are crashing. Reverted ti v114, where i upgraded from, and it works. |
Ok, I believe it is the same bug. The microservices do have indeed the same behaviour as server and fail to start. Did you modify version in the env file to downgrade? |
If people who are commenting they have the same issue please include what hardware you're running on and confirm that you don't have any resource limits set on your containers. I did a bunch of testing yesterday and couldn't get the geocoding import process to take any more than 45 seconds, except in the case that postgres resources were severely restricted for RAM. |
Yes, i set the version in .env. My hardware is a 2 core celeron N2807 with 4 gb ram. Nothing ran out of resources, swap is just on 16% |
I run it (together with portrainer and nextcloud) on Raspberry Pi 4 with 4GB RAM. No limits are set, the issue was not present on the previous versions. As mentioned, it did not start at all right after the update, I made a completely new deployment of the stack and restored the backup after that it starts, though takes more time with some startup failures. |
That's a seriously underpowered system. I don't think we can do much about Immich running poorly on that. |
Could you expand more what you mean by "some startup failures"? |
I think a good chunk of the userbase is running it on underpowered systems (I'm running mine (along with 30 other containers) on an old 2014 laptop with 4 cores and 16GB RAM.) On a side note, I also just noticed that the laptop's CPU is pegged at 100% (and 15m load is at 20) now because I started a missing face detection last night. Which is fine. I don't care if that takes a few days. The other containers are still responsive, and the faces will get detected eventually without requiring further intervention from me. |
|
OK, I first wrote that the start was successful after the reinstallation of the entire stack, apparently it is still unstable. It is not running currently and is in starting phase continuously. |
You seem to experience exactly the same symptoms. Did you downgrade it and if yes, to what version? |
@zackpollard I see no errors in the logs, I sent them already before. The thing is it isn't really reproducable, I had immich running yesterday as normally, but today after a restart it didnt start at all, but started after a manual system reboot reboot.I will try to catch it and post if there is something. Thank you |
This comment was marked as duplicate.
This comment was marked as duplicate.
After I upgrade RAM to 4GB and add 1GB swap, Immich-server stop restart |
The bug
After the standard update procedure I am not able to access the server, the
immich_server
container is constantly restarting.The OS that Immich Server is running on
Raspbian 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
Version of Immich Server
v1.119.1
Version of Immich Mobile App
v1.119.1
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Relevant log output
The text was updated successfully, but these errors were encountered: