[PR #11375] [MERGED] Immich Refactor #2 #9438

Closed
opened 2026-02-26 16:36:16 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/11375
Author: @vhsdream
Created: 1/30/2026
Status: Merged
Merged: 2/1/2026
Merged by: @tremor021

Base: mainHead: fix/immich-checks


📝 Commits (5)

  • 0054e7e Minor refactoring
  • 75b7f05 Use gh_fetch and gh_check functions for VectorChord install & update
  • 5284974 Symlink immich (CLI) and immich-admin cmds to /usr/bin
  • dc03d54 Add service healthchecks to post-install & post-update functions
  • c47fa83 Refactor service healthchecks

📊 Changes

2 files changed (+69 additions, -43 deletions)

View changed files

📝 ct/immich.sh (+38 -26)
📝 install/immich-install.sh (+31 -17)

📄 Description

✍️ Description

  • Minor refactors to increase clarity and decrease line count
  • Use gh_fetch and gh_check functions for VectorChord version tracking
  • Symlink immich (CLI) and immich-admin commands to /usr/bin - can now simply run immich or immich-admin to access cli
  • Add Immich Web and Immich Machine-Learning service healthchecks to post-install and post-update functions
    • will attempt one restart of the services if abnormal response returned, with message to check the specific log for more info

Fixes #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/11375 **Author:** [@vhsdream](https://github.com/vhsdream) **Created:** 1/30/2026 **Status:** ✅ Merged **Merged:** 2/1/2026 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `fix/immich-checks` --- ### 📝 Commits (5) - [`0054e7e`](https://github.com/community-scripts/ProxmoxVE/commit/0054e7eeba52d9ad1454bca33e8c9be095526b17) Minor refactoring - [`75b7f05`](https://github.com/community-scripts/ProxmoxVE/commit/75b7f050991862baf02ec146411fd9620e07335e) Use gh_fetch and gh_check functions for VectorChord install & update - [`5284974`](https://github.com/community-scripts/ProxmoxVE/commit/528497482fcad0ed2a9b7252890257455b86772f) Symlink `immich` (CLI) and `immich-admin` cmds to /usr/bin - [`dc03d54`](https://github.com/community-scripts/ProxmoxVE/commit/dc03d548a2878e2497c65a9b2e5860e35455c2ed) Add service healthchecks to post-install & post-update functions - [`c47fa83`](https://github.com/community-scripts/ProxmoxVE/commit/c47fa83a575a7a7100e2aabcadaf23d6b1f514ea) Refactor service healthchecks ### 📊 Changes **2 files changed** (+69 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `ct/immich.sh` (+38 -26) 📝 `install/immich-install.sh` (+31 -17) </details> ### 📄 Description <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description - Minor refactors to increase clarity and decrease line count - Use `gh_fetch` and `gh_check` functions for VectorChord version tracking - Symlink `immich` (CLI) and `immich-admin` commands to `/usr/bin` - can now simply run `immich` or `immich-admin` to access cli - Add Immich Web and Immich Machine-Learning service healthchecks to post-install and post-update functions - will attempt one restart of the services if abnormal response returned, with message to check the specific log for more info ## 🔗 Related Issue Fixes # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [x] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [ ] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [x] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 16:36:16 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#9438
No description provided.