[PR #9752] [MERGED] Refactor: Inventree (uses now ubuntu 24.04) #8247

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

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/9752
Author: @MickLesk
Created: 12/7/2025
Status: Merged
Merged: 12/7/2025
Merged by: @tremor021

Base: mainHead: fix/inventree-refactor


📝 Commits (4)

  • 5cea823 fix(inventree): refactor to Ubuntu 24.04 with deb822 repo format
  • 83aecf3 remove old deps
  • 6c4406a Restrict OS support check to only Ubuntu
  • de1981b Update log messages for InvenTree update script

📊 Changes

3 files changed (+30 additions, -20 deletions)

View changed files

📝 ct/inventree.sh (+10 -4)
📝 frontend/public/json/inventree.json (+2 -2)
📝 install/inventree-install.sh (+18 -14)

📄 Description

✍️ Description

  • Switch to Ubuntu 24.04 LTS (officially supported, newer than Debian 12)
  • Use setup_deb822_repo for modern repository format
  • Set SETUP_NO_CALLS=true to prevent external IP lookup
  • Configure site_url with local IP address automatically
  • Remove libssl1.1 hack (not needed with proper OS)

Fixes #8340

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/9752 **Author:** [@MickLesk](https://github.com/MickLesk) **Created:** 12/7/2025 **Status:** ✅ Merged **Merged:** 12/7/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `fix/inventree-refactor` --- ### 📝 Commits (4) - [`5cea823`](https://github.com/community-scripts/ProxmoxVE/commit/5cea823e0250a0f1c9d1d2430c2c1ac8c7ecafea) fix(inventree): refactor to Ubuntu 24.04 with deb822 repo format - [`83aecf3`](https://github.com/community-scripts/ProxmoxVE/commit/83aecf38ac9eef374e7c3ea666987e8a3a57a127) remove old deps - [`6c4406a`](https://github.com/community-scripts/ProxmoxVE/commit/6c4406a084db96a3f97ebbf7f07c2b990e13267c) Restrict OS support check to only Ubuntu - [`de1981b`](https://github.com/community-scripts/ProxmoxVE/commit/de1981bfe53bcd125ee5f803a3e4a8b1c7df93db) Update log messages for InvenTree update script ### 📊 Changes **3 files changed** (+30 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `ct/inventree.sh` (+10 -4) 📝 `frontend/public/json/inventree.json` (+2 -2) 📝 `install/inventree-install.sh` (+18 -14) </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 - Switch to Ubuntu 24.04 LTS (officially supported, newer than Debian 12) - Use setup_deb822_repo for modern repository format - Set SETUP_NO_CALLS=true to prevent external IP lookup - Configure site_url with local IP address automatically - Remove libssl1.1 hack (not needed with proper OS) ## 🔗 Related Issue Fixes #8340 ## ✅ 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. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [x] 💥 **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:32:17 +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#8247
No description provided.