[PR #5872] [MERGED] Refactor: Stirling-PDF #6173

Closed
opened 2025-11-20 07:09:26 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/5872
Author: @MickLesk
Created: 7/9/2025
Status: Merged
Merged: 7/9/2025
Merged by: @michelroegl-brunner

Base: mainHead: ref_stirlingpdf


📝 Commits (3)

📊 Changes

3 files changed (+159 additions, -102 deletions)

View changed files

📝 ct/stirling-pdf.sh (+32 -22)
📝 frontend/public/json/stirling-pdf.json (+33 -33)
📝 install/stirling-pdf-install.sh (+94 -47)

📄 Description

✍️ Description

full refactor of stirling-pdf
now missing tools are available too (new unoserver service)

=> For all old users, its better to recreate the LXC

Edit, build an check for old installs with exit, so users need to recreate.
if ! -f /etc/systemd/system/unoserver.service ; then
msg_custom "⚠️ " "\e[33m" "Legacy installation detected – please recreate the container using the latest install script."
exit 0
fi

Link: #5816

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/5872 **Author:** [@MickLesk](https://github.com/MickLesk) **Created:** 7/9/2025 **Status:** ✅ Merged **Merged:** 7/9/2025 **Merged by:** [@michelroegl-brunner](https://github.com/michelroegl-brunner) **Base:** `main` ← **Head:** `ref_stirlingpdf` --- ### 📝 Commits (3) - [`5b446e6`](https://github.com/community-scripts/ProxmoxVE/commit/5b446e60bb05cef281de3d7f4cac96cc50c5dfa8) Refactor: Stirling-PDF - [`d3a4f4f`](https://github.com/community-scripts/ProxmoxVE/commit/d3a4f4f80f92b2e3313ab4d295e165ce6f7e74c2) Update stirling-pdf.sh - [`a0462f4`](https://github.com/community-scripts/ProxmoxVE/commit/a0462f4653e6a5d1a3c1818271259c8681f10e2b) add missing login informations ### 📊 Changes **3 files changed** (+159 additions, -102 deletions) <details> <summary>View changed files</summary> 📝 `ct/stirling-pdf.sh` (+32 -22) 📝 `frontend/public/json/stirling-pdf.json` (+33 -33) 📝 `install/stirling-pdf-install.sh` (+94 -47) </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 full refactor of stirling-pdf now missing tools are available too (new unoserver service) => For all old users, its better to recreate the LXC Edit, build an check for old installs with exit, so users need to recreate. if [[ ! -f /etc/systemd/system/unoserver.service ]]; then msg_custom "⚠️ " "\e[33m" "Legacy installation detected – please recreate the container using the latest install script." exit 0 fi ## 🔗 Related PR / Issue Link: #5816 ## ✅ 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>
saavagebueno added the pull-request label 2025-11-20 07:09:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#6173