Migrating from Windows Docker -> Linux Docker
So i just got my Beelink and want to move my Immich instance.
I understand that backup & restore is the way to go.
My setup is this:
Beelink Mini S 13 with a 500 GB SSD and Ubuntu 24.04 installed + an extra 2 TB M2 SSD.
The currently problem is that i get the following error when starting the immich_server:
46 Replies
:wave: Hey @Weathon,
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. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: 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.df -Ht
Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
My current suspicion is that i somehow mounted my second, internal SSD (nvme0n1) somehow wrong?
I never did much with linux so this is brand new to me.
I think you might have snap docker
What's snap docker? π
something terrible
I installed docker desktop
oh phfew
let me put my kid to bed and I'll be right there
thank you!
Can check with
sudo systemctl status snap.docker.dockerd.service
Unit snap.docker.dockerd.service could not be found.
https://docs.docker.com/desktop/setup/install/linux/ubuntu/
This is what i followed/installed today
Docker Documentation
Ubuntu
Learn how to install, launch and upgrade Docker Desktop on Ubuntu. This quick guide will cover prerequisites, installation methods, and more.
Docker desktop runs inside a VM
You probably don't want that, and it's also the reason for the error you're getting
First time I heard of that
oh gosh
But yes that would explain that
Docker Documentation
Ubuntu
Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.
I actually wanted to start with that.. and eeverywhere it's stated docker desktop is eassier, also comes with compose.. π
I'm gonna install the proper docker then and try again. Will report back. Thank you
it's stated docker desktop is eassierwhoever is saying this is wrong >.<
"Docker Engine comes bundled with Docker Desktop for Linux. This is the easiest and quickest way to get started."
From your link π
i think that line sold me on installing docker desktop instead
But well maybe they are not wrong.. its the quickest way to get started.. π
You want the second option
the apt repo
It's the quickest way to get started for sure
And then 5 steps later you run face first into the wall π
i installed via apt repo, and the docker hello works
However afterwards i installed docker compose plugin like this:
https://docs.docker.com/compose/install/linux/#install-using-the-repository
and when i run docker compose up -d now i get this
checked with
sudo service --status-all
and docker appears to be running (also the docker hello works..) - so i guess something off with the compose?
No the compose is fine
The docker service is looking for your docker desktop socket
Honestly I'd start with a simple reboot before we try any funky fixes
I think i tried already, but to be sure i try again
also just went through this and didnt help: https://superuser.com/a/1784928
Removed /home/<user>/.dockerTry that first π So just
rm -rf /home/joshua/.docker
then try docker context ls
NAME DESCRIPTION DOCKER ENDPOINT ERROR
default * Current DOCKER_HOST based configuration unix:///var/run/docker.sock
right now it should work I think
docker compose required a sudo but now it's pulling!
Thx!
if it required sudo it should now all run under sudo
so be aware that any future commands need 'sudo'
sudo = root containers
If you don't use sudo it will look for 'your' containers, which won't be there of course
one more thing - i noticed that the 'Data' folder only appears once i click it in ubuntu desktop - so it looks like the drive is only mounted once i initiate it? it's an internal ssd, not connected via usb
makes sense, that's fine. thx
and something a lot of people seem to miss
&&
= stitch two commands together
if you need sudo, you need to sudo both sides of the &&
still needs sudo twice i assume?
+
so
docker compose pull && docker compose up -d
sudo-fied -> sudo docker compose pull && sudo docker compose up -d
I don't really understand here
Your folder is right there, at /media/joshua/Data
So when i reboot the device, the Data drive is not there when i navigate there with the terminal
ah right, you need to put it in fstab
But once i open the Data folder via ubuntu desktop, it also apppears in the terminal
ah to make it permanent
yes
will look that up, thx
Ask Ubuntu
17.10: How to auto mount drives on startup?
Every time I log in, I need to go to disks and mount all my partitions manually.
How can I make it automatic?
This is old but probably still relevant
I knew there had to a be a GUI option for this
found it in the UI thx!
(Disks, select partition, cogwheel, change mount options, mount on boot)
Just wanted to give an update:
everything seems to work now and i'm trying to copy over all the files (unfortunately the beelink seems to completely freeze sometimes when copying lots of files.. no idea if it continues doing sth or not, but thats a whole different issue)
Giving up for today. No idea why this is happening, it's just a standard ubuntu installation..no special hw, nothing.. I guess that mini pc already doesn't like me π€·ββοΈ
Of course i couldn't give up π
I just started completely from scratch, fresh ubuntu, no idea what caused it to freeze all the time but everything works fine now, 'migration complete'! π
Thanks for the help!
is there a way to close this helpdesk ticket or do we just let it idle?
you can /close
This thread has been closed. To re-open, use the button below.