I
Immich2w ago
TomKay

Do these containers also need updates?

Since I am using portainer just for a few weeks and am a general noob with Docker etc. I was wondering if these containers also needs to be updated from time to time or just the immich-server container? How can I be notified about that? Is there a RSS feed to subscribe to? Will I destroy any data when re-creating those containers? For the server-container the update to v133 went properly, just wondering about the other three.
No description
31 Replies
Immich
Immich2w ago
:wave: Hey @TomKay, 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. :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. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
NoMachine
NoMachine2w ago
how are you managing those containers? via docker compose, portainer stack ?
TomKay
TomKayOP2w ago
its a stack using docker compose, yes.
NoMachine
NoMachine2w ago
then everything is updated automatically when you update the stack (unless you are specifically just choosing to update one image) also, the DB has been upgraded to vectorchord, you may want to replace your DB container this image should be compatible with your current version, previous backup https://github.com/immich-app/base-images/pkgs/container/postgres/421825600?tag=16-vectorchord0.3.0-pgvectors0.2.0
TomKay
TomKayOP2w ago
DB wont be deleted or resetted when "Re-pull image and redeploy" ?
NoMachine
NoMachine2w ago
no, but still you should backup before every update
TomKay
TomKayOP2w ago
I got like 120k images in my DB, so it would be good if everything stays there 😉 I do copy the all these folders to another drive every night
No description
NoMachine
NoMachine2w ago
you should always take a backup of the DB anyway, check in backups if Immich is creating one automatically nothing is going to be deleted when upgrading the image, but you always have to be prepared for the worst. errors can happen
TomKay
TomKayOP2w ago
there is no backup of the DB in the folder
TomKay
TomKayOP2w ago
its active though
No description
NoMachine
NoMachine2w ago
humm, go to jobs, create one (upper right), look for create dump, check server logs to see if there's any error
TomKay
TomKayOP2w ago
Created the job, no errors in log. will check tomorrow if the dump was done. I also have to check, how to make use of that image that you sent me above to upgrade DB. never did that.. just have to replace the labels accordingly?
No description
TomKay
TomKayOP2w ago
I now did this, according to ChatGPT:
No description
TomKay
TomKayOP2w ago
Am I safe to re-deploy 😄 ?
CJPeckover
CJPeckover2w ago
Appears to be correct, though the Immich docs and release notes were using pg14. You need to also remove the "command" and "healthcheck" sections from immich-db in your compose if you haven't already. The db update is all explained in the release notes
TomKay
TomKayOP2w ago
okay, will check the release notes
CJPeckover
CJPeckover2w ago
But yeah, the image you have there should be good since you already used pg16 👍
TomKay
TomKayOP2w ago
i commented those lines... nothing with "command" there
No description
TomKay
TomKayOP2w ago
will update now 😄 hope it goes well.. I have no idea what I am doing ^^
TomKay
TomKayOP2w ago
lets see 😄
No description
CJPeckover
CJPeckover2w ago
Backup and Restore | Immich
A 3-2-1 backup strategy is recommended to protect your data. You should keep copies of your uploaded photos/videos as well as the Immich database for a comprehensive backup solution. This page provides an overview on how to backup the database and the location of user-uploaded pictures and videos. A template bash script that can be run as a cron...
TomKay
TomKayOP2w ago
And I am now running on v1.133.1
No description
CJPeckover
CJPeckover2w ago
You can access webui fine?
TomKay
TomKayOP2w ago
yes :3 Thank you guys! If I wouldnt be supporter already, I would be it now 😄
CJPeckover
CJPeckover2w ago
Np! Like NoMachine mentioned, always make a backup of the db before updates, just in case, and always check the release notes for breaking changes 👍
TomKay
TomKayOP2w ago
will do.. have to monitor if now the dumps are being created at night
TomKay
TomKayOP2w ago
I just saw this error here in the immich-server logs ... not sure how severe or just normal..
No description
TomKay
TomKayOP2w ago
No description
TomKay
TomKayOP2w ago
Immich-DB looks like this:
No description
TomKay
TomKayOP2w ago
Redis like this:
No description
NoMachine
NoMachine2w ago
nothing to be worried about

Did you find this page helpful?