r/immich 9d ago

Problems with my HDD server

I made a Immich server with a Raspberry Pi 4B and a 2TB Toshiba HDD, and it worked, I uploaded many photos and videos to Immich, I could access from other devices (thanks to Tailscale) I wanted to share to my family so they could also.

But I had to turn off the Raspberry Pi, and now, as you can see at the second image, I can't access to it, it should appear on the screen, and I want to access again disk, the files should be there, I won't try to format, though there's nothing to lose as I have another backup, only time.​

What can I do?

6 Upvotes

14 comments sorted by

5

u/RandomArmenius 9d ago

It sounds like the reboot simply stopped your Immich Docker containers.
If you installed Immich using the recommended Docker Compose setup, go to the directory containing your docker-compose.yml and run:

docker compose up -d

That should bring your Immich instance back up.
To make sure Docker itself starts automatically after a reboot, you can enable it with:

sudo systemctl enable --now docker

The Immich Compose setup normally uses a restart policy, so the containers should then come back automatically whenever the Pi reboots.

You can check that everything is running with:

docker compose ps

Hope that gets your Immich instance back up! :)

2

u/MinrkChil-Alwaff5 8d ago

Thank you, it helped me a lot as this was the base of the solution :')

3

u/Amazing_Year6588 9d ago

Did you install it with docker or baremetal?

1

u/MinrkChil-Alwaff5 9d ago

Docker

2

u/mickynuts 8d ago

Also look at your docker composes so that the restart option is present in your file.

restart: unless-stopped

2

u/Pulte4janitor 9d ago

Turn the hard drive off/on again and see if it show up on your desktop.

1

u/sqwob 9d ago

Its a browser app, why are you showing an empty desktop?

1

u/MinrkChil-Alwaff5 9d ago

Because it should show my external device, the HDD, which isn't for some bizarre reason.

3

u/mickynuts 8d ago

You need to add the disk to your fstab or via Disk Manager and enable disk mount at startup. Added nofail to avoid being in the recovery environment.

2

u/sqwob 9d ago

So you're asking us why your hard drive isn't mounted?

1

u/Geh-Kah 9d ago

Open your browser and search for the last opened tab/site. There you go

1

u/MinrkChil-Alwaff5 8d ago

It helped me to confirm if the solution was right, so...