Immich: handle mise monorepo_root rename correctly | bump to 3.0.1#15557
Conversation
Updated both Immich setup scripts (`ct/immich.sh` and `install/immich-install.sh`) to patch `mise.toml` before running `mise //:plugins`. The change ensures `monorepo_root = true` is present while retaining `experimental_monorepo_root = true`, so plugin builds work across old and new mise versions after the v2026.7.0 key rename.
In setup_nodejs, all three global-module install/update branches now fall back to npm install -g --force when the normal install fails. --force is npm's own recommended resolution for this EEXIST
|
Draft due reverted 3.0.0 Branch for now |
|
Honestly I have no idea why this failed for everyone except me, aside from the fact that I only do this so that my Immich works and I don't know how to come up with a way of testing many different possibilities. I can't control for others failing to maintain their LXCs and fucking up their environments. I never had to manually install extism-js - it gets installed when running the mise commands in the sequence that's already in the script. Or at least it should. It's clear I've messed up somewhere. I don't understand why there were 'monorepo' failures or why all of these additions/workarounds are necessary, and frankly I no longer have the time or inclination to find out quickly enough. I don't use LLMs for coding/programming and I'm not actually a coder, it's just one of my special interests. This is a lot of complaining and whining, but what I'm working up to is I want to say I really appreciate you @MickLesk for being so dedicated to this entire project and for stepping up your work on Immich over the past few months, especially as it's becoming increasingly clear I've lost my grasp on the script. I really wish I could contribute more, but life is hard right now so I have a lot less time to do this. Oh! and also, I approve these changes because they seem to work, even if you are on v3.0.0. |
|
Dont merge yet, i forgot something, cant Put Back into draft on mobile App @community-scripts/contributor |
Adjust the Immich installer for upstream packaging changes by switching the plugin install path to `plugins/immich-plugin-core` and copying plugin-core artifacts from `packages/plugin-core`. Update the build steps to include `@immich/cli` build/deploy alongside sdk/web, and bump dependency pins for VectorChord (1.0.0) and the libvips source revision.
|
done |
Everything's fine—it was a struggle. I'd hoped to get it sorted out yesterday, but unfortunately it felt like every user was having different issues. That's why I added a few more fallbacks. In the end, though, it finally seems to be working. In Germany, we call it a "Eierlegende Wollmilchsau (“jack-of-all-trades”) —thanks for your effort; it’s really scary what it takes—these days—to get immich running :/ Everyone would have been spared all that unnecessary Mise and pnpm stuff if there were decent prebuilds available. |
People always complain on failure. It's the easy way out. For me hoewever, I have nothing but praise for your efforts and hours to get this to work. So I'm only grateful. And if I can will help out. |
|
Hello Mick, I got this error if i want to update, any idea? |
|
Your DB is broken (before the Update), so you need to restore and Investigate why the Indexes are broken. Thats not related to Script or update (chunks broken) |
Thanks, you were right — the issue was already in the database before the update and was not caused by the script/update itself. I checked which table the broken TOAST table belonged to, and it pointed to
The reindex completed without errors, so the issue is resolved now. Sorry for posting it here so quickly before digging further myself. Thanks Mick for pointing me in the right direction. |
|
@N1V4K I also had the exact same issue for the first time ever when trying to update. Same thing happened after reverting to a snapshot. Can you provide more detail on how you fixed it? Edit: I went to Administration > Job Status > Smart Search job, and clicked "All" to reprocess. That seems to have fixed the issue for me, as the |
Hi, I am not at home at this moment. I send it you later today |
|
For anyone landing here from the It might be worth having the script check Also worth noting why re-running Smart Search (as suggested above) works too: it rewrites the |
✍️ Description
The change ensure that monorepo_root = true is present while retaining experimental_monorepo_root = true, so plugin builds work across old and new mise versions after the v2026.7.0 key rename
added tools.func bugfixing due pnpm issues - in setup_nodejs, all variants now fall back to npm install -g --force when the normal install fails. --force is npm's own recommended resolution for this EEXIST
🔗 Related Issue
Fixes #15153
Fixes #15556
Fixes #15555
✅ Prerequisites (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.