Update Immich to v1.88.1 on BigBearCasaOS

About

High performance self-hosted photo and video backup solution

App Store

Commit

Info


Immich - High performance self-hosted photo and video backup solution

My casaos says “impossible to update right now” when I try updating immich bigbear app. Any hint to solve this?

Do you have more info about the error? In this from the CasaOS ui or Immich?

Do you maybe have a screenshot?

I try to update from the CasaOS UI, as always, and that message is the only error I got.
I don’t know how else should I update (sorry, pretty new to self-host world).

Screenshot 2023-11-22 162116

Thank you for answering me, BTW! :smiley:

You’re welcome.

Can you look at the logs:

less /var/log/casaos/app-management.log

Also what button are you pushing to update?

I pressed the three-dots on Immich apps and clicked “update” like I did before.

In my log I found some error like that:

2023-11-22T15:27:07.744Z info App does not have x-casaos extension - skipping {“app”: “main_app”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.744Z info app not found in any appstore {“id”: “laughing_thanh”, “func”: “service.(*AppStoreManagement).ComposeApp”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go”, “line”: 390}
2023-11-22T15:27:07.744Z info Using default appstore {“func”: “service.(*AppStoreManagement).ComposeApp”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go”, “line”: 397}
2023-11-22T15:27:07.744Z error store compose app not found, thus no update available {“storeAppID”: “laughing_thanh”, “func”: “service.(*ComposeApp).IsUpdateAvailable”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 181}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “immich-microservices”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “immich-proxy”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “immich-server”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “immich-web”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “redis”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “typesense”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “database”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.753Z info App does not have x-casaos extension - skipping {“app”: “immich-machine-learning”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.754Z info main apps of local app and store app have different image tag, thus update is available {“local”: “Package immich-server · GitHub”, “store”: “Package immich-server · GitHub”, “func”: “service.(*ComposeApp).IsUpdateAvailableWith”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 227}
2023-11-22T15:27:07.759Z info App does not have x-casaos extension - skipping {“app”: “app”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.759Z info App does not have x-casaos extension - skipping {“app”: “db”, “func”: “service.(*ComposeApp).StoreInfo”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 71}
2023-11-22T15:27:07.759Z info main apps of local app and store app have different image tag, thus update is available {“local”: “wisdomsky/casaos-toolbox:0.2”, “store”: “wisdomsky/casaos-toolbox:undefined”, “func”: “service.(*ComposeApp).IsUpdateAvailableWith”, “file”: “/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/compose_app.go”, “line”: 227}

Have you tried to uninstall Immich and uncheck delete config. Then reinstall?

Very dumb question: won’t I loose my photos and metadata?

You want to back them up just in case, but uncheck the ‘delete’ option when you’re uninstalling.

Keep in mind that Immich has a disclaimer. I would not be depending on Immich to keep your only backup of photos.

Disclaimer

  • :warning: The project is under very active development.
  • :warning: Expect bugs and breaking changes.
  • :warning: Do not use the app as the only way to store your photos and videos.
  • :warning: Always follow 3-2-1 backup plan for your precious photos and videos!

Re-installing worked like charme, thank you!
I know about the disclaimer :slight_smile:
Thank you again for your support!

Awesome glad it’s working now. You’re welcome.

Just wanted to make sure!

You’re welcome!

Is there any solution to avoid uninstalling the app when there are breaking changes in the docker-compose update ?

@grum I haven’t come across one yet, but as long as you have your volumes backed up and you make sure to uncheck the “delete” option, you should be safe when redeploying the container.

You could take the docker-compose.yml and edit it with my script:

@AndreaDiNapoli @grum

IceWhale did look into this and determined from the logs that the immich app that you have has a random ID, so it did not come from Big Bear CasaOS. That’s why it could not update.

So to get the updates from Big Bear CasaOS, it needs to be installed from Big Bear CasaOS.

Hi I’m new with casaos and immich but I’ve got some updates yet. At the momento I’ve manually changed the docker image version from the dropdown in the container for each server, the casaos’s button to update the app doesn’t work. is there a different way to update? a more friendly way? thank you.

Hello! Here are some steps to follow: