#migrate everything to a new immich instance, possible?

1 messages · Page 1 of 1 (latest)

tough star
#

So, awhile ago, I had forgotten to update immich in a long time, and when i did, I had a lot of errors that I could not fix. See my post from back then: https://ptb.discord.com/channels/979116623879368755/1164746268568977528 At this point, so many breaking changes have happened, I think I should reinstall. Is there a way to do that and keep my assets and database so that my albums and face-name assignments stay the same? I'm pretty lost on this, as no one else had the problems I did. Any help or guidance would be appreciated. I would just hate to lose my albums etc.

solar krakenBOT
#

:wave: Hey @tough star,

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

Checklist

  1. :blue_square: I have verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: I have read applicable release notes.
  3. :blue_square: I have reviewed the FAQs for known issues.
  4. :blue_square: I have reviewed Github for known issues.
  5. :blue_square: I have tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: I have uploaded the relevant logs, docker compose, and .env files using the buttons below or the /upload command.
  7. :blue_square: I have tried an incognito window, 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.

lean bronze
#

Just keep the database volume (or take a backup of it then restore that to a new instance)

tough star
#

I'm just trying to wrap my head around it lol

#

Another thing: I used portainer to install it, so the docker compose yml etc are within portainer somewhere. All the immich stuff is stored in /home/appuser/immich/. can I just point my new docker compose to that, or should I copy only the necessary directories (library, upload, and profile) to a new folder for the install?

empty cloud
#

The database has been evolved, I think with the breaking changes you see in the logs, it might cause an issue. I would advises to reupload your assets in the library folder to the new instance using the CLI

tough star
#

Unless the new database image won’t affect how quickly I do this lol

tough star
empty cloud
tough star
#

Ok, that makes sense.

So, if I have to manually upload the whole library again with the cli, is there a way to preserve my albums? Restoring the database makes it sound like I have to do it before starting the docker containers. Not sure if it’ll error out if I restore the database before the images get in the library.

tough star
#

I don’t like pinging people but I genuinely don’t know (:

lean bronze
#

If you have the albums as folders you can use the --album flag

tough star
empty cloud
#

To add them album, the assets must be in the directory already since the album is based on the directory structure when you are uploading with the CLI

tough star
#

So I should upload the images that are in albums first, and then the whole library? I just want to make sure the images in albums are not duplicated. I have too many to manually sort them into a new folder structure

tough star
#

Ok, I did a brand new fresh installation. We'll see how this goes I guess

tough star
#

As i'm uploading the photos I want in albums (which I downloaded to my desktop computer), I realized I should have asked. @empty cloud Will I be able to properly install immich CLI on my proxmox LXC (turnkey core) and upload directly from the old directory to the new instance? Or should I somehow copy everything to my desktop

empty cloud
tough star
#

Since it’s the same LXC, should I use the 192.168.1.X:2283 address or some sort of local address?

#

Or the domain name through cloudflare, that’s another option

empty cloud
tough star
#

As a update thread….. messed with it last night awhile, going to have to install npm and nodejs a different way, as the one in the apt repo for my turnkey core LXC was node 12.22.x and I didn’t catch it until immich cli just wouldn’t work lol