Running docker Detected CPU Cores: 4

So I was trying to run docker and when I do, it doesn't load and I keep getting the same message: 2025-02-11 20:02:12 Initializing Immich v1.126.1 2025-02-11 20:02:12 Detected CPU Cores: 4 2025-02-11 20:02:13 Initializing Immich v1.126.1 2025-02-11 20:02:13 Detected CPU Cores: 4 2025-02-11 20:02:14 Initializing Immich v1.126.1 2025-02-11 20:02:14 Detected CPU Cores: 4 2025-02-11 20:02:16 Initializing Immich v1.126.1 2025-02-11 20:02:16 Detected CPU Cores: 4 2025-02-11 20:02:18 Initializing Immich v1.126.1 2025-02-11 20:02:18 Detected CPU Cores: 4 2025-02-11 20:02:20 Initializing Immich v1.126.1 2025-02-11 20:02:20 Detected CPU Cores: 4 2025-02-11 20:02:24 Initializing Immich v1.126.1 2025-02-11 20:02:24 Detected CPU Cores: 4 2025-02-11 20:02:31 Initializing Immich v1.126.1 2025-02-11 20:02:31 Detected CPU Cores: 4 2025-02-11 20:02:45 Initializing Immich v1.126.1 2025-02-11 20:02:45 Detected CPU Cores: 4 What could have gone wrong? I changed the ports in the docker-compose.yml because it said that port 2283 was already in use Im using the latest version of ubuntu
36 Replies
Immich
Immich3mo ago
:wave: Hey @Jpsiquierolli, 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. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time). 2. :blue_square: read applicable release notes. 3. :blue_square: reviewed the FAQs for known issues. 4. :blue_square: reviewed Github for known issues. 5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy). 6. :blue_square: uploaded the relevant information (see below). 7. :blue_square: 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.
bo0tzz
bo0tzz3mo ago
it said that port 2283 was already in use
That seems odd and suggests something is wrong Note your port mapping now is definitely wrong & won't work, though that won't be the reason for Immich failing to start up
Jpsiquierolli
JpsiquierolliOP3mo ago
Yeah, I can try setting it to port 2283 and sending logs + docker ps, I only have sshd on port 22 and immich on port 2469 running
Mraedis
Mraedis3mo ago
2469:2283 would be right for the edit. But like Bo0tzz said, it indicates you already have an immich instance running
Jpsiquierolli
JpsiquierolliOP3mo ago
Im running it throught the docker desktop and I tried doing docker compose up -d, none worked
Mraedis
Mraedis3mo ago
check out docker ps -a or sudo docker ps -a and see if there any ghost immich instances
Jpsiquierolli
JpsiquierolliOP3mo ago
I only got immich-server, machine learning, postgress and redis, I will send it here CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 069f2dc11049 ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 19 hours ago Exited (139) 18 seconds ago immich_server 742e5621db53 redis:6.2-alpine "docker-entrypoint.s…" 20 hours ago Up 3 minutes (healthy) 6379/tcp immich_redis 405dd2c29346 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 20 hours ago Created 5432/tcp immich_postgres 62d7d6cf55ad ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 20 hours ago Up 3 minutes (healthy) immich_machine_learning And the sudo got me: ONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 60653cbedebd tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 6 days ago Up 6 minutes (healthy) 5432/tcp immich_postgres f0017b7c216e ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 6 days ago Up 6 minutes (healthy) immich_machine_learning 844eb1770afc redis:6.2-alpine "docker-entrypoint.s…" 6 days ago Up 6 minutes (healthy) 6379/tcp immich_redis As there are two different responses from sudo and not sudo it indicates that I have more than one instance of immich running?
Mraedis
Mraedis3mo ago
Yes you have your sudo containers and non-sudo ones you should probably:
docker compose down
sudo docker compose down
sudo docker compose up -d
docker compose down
sudo docker compose down
sudo docker compose up -d
Jpsiquierolli
JpsiquierolliOP3mo ago
I stopped the non-sudo one, but running sudo docker compose down got me: Error response from daemon: cannot stop container: f0017b7c216e1dbe86a5a428105735c1443ba649bbb23fcba0f6032c579e91a9: permission denied I ran it as root
Mraedis
Mraedis3mo ago
That's.... odd
Jpsiquierolli
JpsiquierolliOP3mo ago
I stopped immich-postgress but the machine learning and reddis, still says permission denied (I stopped docker and docker.socket to stop the immich-postgress
Mraedis
Mraedis3mo ago
even with sudo? You could try:
sudo usermod -aG docker $(whoami)
sudo usermod -aG docker root
exec bash
sudo usermod -aG docker $(whoami)
sudo usermod -aG docker root
exec bash
No way he should not have permissions thenm
Jpsiquierolli
JpsiquierolliOP3mo ago
i will try adding it to root, because the user that I use already is in the docker group Same error, permission denied
Mraedis
Mraedis3mo ago
Nothing a reboot won't fix though
Jpsiquierolli
JpsiquierolliOP3mo ago
rebooting... so the 2 containers that I cound't stop started with the machine: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f0017b7c216e ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 6 days ago Up 41 seconds (healthy) immich_machine_learning 844eb1770afc redis:6.2-alpine "docker-entrypoint.s…" 6 days ago Up 41 seconds (healthy) 6379/tcp immich_redis
Mraedis
Mraedis3mo ago
docker desktop showing any way to stop these? Ah wait you're using ubuntu nvm sudo docker rm -f f0017b7c216e sudo docker rm -f 844eb1770afc perhaps?
Jpsiquierolli
JpsiquierolliOP3mo ago
permission denied
Mraedis
Mraedis3mo ago
Honestly I'm out of ideas here sudo chown root:docker /var/run/docker.sock Seems a bit drastic but could work
Jpsiquierolli
JpsiquierolliOP3mo ago
yeah, it doesn't work, I will look into it because it looks like an error in my machine, thanks for the help tho
Mraedis
Mraedis3mo ago
You shouldn't be running snap docker but it wouldn't hurt to check I guess Not too sure how to check that
Jpsiquierolli
JpsiquierolliOP3mo ago
I used the docker desktop installation to get it I will try deleting everything and downloading again
Mraedis
Mraedis3mo ago
My advice for docker desktop is "avoid like the plague"
Jpsiquierolli
JpsiquierolliOP3mo ago
what would be the right docker instalation to get? when i got to the docker website it was the recommended I stoped it
Mraedis
Mraedis3mo ago
simple docker engine, not desktop
Jpsiquierolli
JpsiquierolliOP3mo ago
I don't know if this remove it, but I used this: docker stop $(docker ps -a -q) docker rm $(docker ps -a -q)
Mraedis
Mraedis3mo ago
docker desktop should have installed engine as well
Jpsiquierolli
JpsiquierolliOP3mo ago
for what I read it installed the engine as well
Mraedis
Mraedis3mo ago
Yes but personally we install only engine and use the CLI It makes for a more consistent experience 😛
Jpsiquierolli
JpsiquierolliOP3mo ago
I will try unnisntalling the desktop and getting the engine only I got some errors in the instalation, I that could have caused the other error if it happened in the first instalation too
Mraedis
Mraedis3mo ago
I wouldn't know, I'd have to see the errors
Jpsiquierolli
JpsiquierolliOP3mo ago
I cant send the full message, but the parts with the error are: Err:11 https://ppa.launchpadcontent.net/notepadqq-team/notepadqq/ubuntu noble Release 404 Not Found [IP: 185.125.190.80 443] Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/notepadqq-team/notepadqq/ubuntu noble Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. 404 Not Found [IP: 185.125.190.80 443] Hit:10 https://packages.microsoft.com/repos/edge stable InRelease
Hit:11 https://packages.microsoft.com/repos/code stable InRelease Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/notepadqq-team/notepadqq/ubuntu noble Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Mraedis
Mraedis3mo ago
mm no that's because you are using noble numbat and have added ppa repositories that have no release file for NN notepadqq is REALLY old
Jpsiquierolli
JpsiquierolliOP3mo ago
So those error don't do anything? I followed this documentation: https://docs.docker.com/engine/install/ubuntu/
Mraedis
Mraedis3mo ago
They just prevent the notepadqq repository from updating It's more of a warning has nothing to do with installing docker on it's own It will just pop up anytime you do sudo apt update
Jpsiquierolli
JpsiquierolliOP3mo ago
Yeah, thanks I will close this case and try to work it ou later, nothing is working right now thank you for the help
Immich
Immich3mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?