[PR #4382] [MERGED] (fix) Documenso: fix build failures #4923

Closed
opened 2025-11-20 06:12:22 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/4382
Author: @vhsdream
Created: 5/10/2025
Status: Merged
Merged: 5/10/2025
Merged by: @tremor021

Base: mainHead: 4305-fix


📝 Commits (1)

  • dfdcf39 (fix) Documenso: fix build failures

📊 Changes

2 files changed (+68 additions, -64 deletions)

View changed files

📝 ct/documenso.sh (+42 -37)
📝 install/documenso-install.sh (+26 -27)

📄 Description

✍️ Description

This PR fixes the various issues with the current installer that cause a number of failures.

  • change build command to turbo run build --filter=@documenso/remix to reflect the as-yet undocumented changes the Documenso devs made
  • change port in ENV file for NEXT_PUBLIC_WEBAPP_URL from 9000 to 3000 - otherwise you can't login
  • remove sed commands from install script that try to edit config options that no longer exist
  • change systemd service file: WorkingDir to the app root; Execstart to turbo run start --filter=@documenso/remix
  • ensure turbo daemon is stopped to prevent hang on exit: at some point during the install, turbo starts it's daemon, causing the script to hang at the end because the daemon is running
  • formatting fixes: fix indentation

This is a breaking change as the differences from before are too great to accomodate in the update function. Users should reinstall from scratch, or manually make the changes themselves.

Link: #4305

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/4382 **Author:** [@vhsdream](https://github.com/vhsdream) **Created:** 5/10/2025 **Status:** ✅ Merged **Merged:** 5/10/2025 **Merged by:** [@tremor021](https://github.com/tremor021) **Base:** `main` ← **Head:** `4305-fix` --- ### 📝 Commits (1) - [`dfdcf39`](https://github.com/community-scripts/ProxmoxVE/commit/dfdcf397b126da0a50a01d77f62f158dfab48e18) (fix) Documenso: fix build failures ### 📊 Changes **2 files changed** (+68 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `ct/documenso.sh` (+42 -37) 📝 `install/documenso-install.sh` (+26 -27) </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 This PR fixes the various issues with the current installer that cause a number of failures. - change build command to `turbo run build --filter=@documenso/remix` to reflect the as-yet undocumented changes the Documenso devs made - change port in ENV file for `NEXT_PUBLIC_WEBAPP_URL` from 9000 to 3000 - otherwise you can't login - remove `sed` commands from install script that try to edit config options that no longer exist - change systemd service file: `WorkingDir` to the app root; `Execstart` to `turbo run start --filter=@documenso/remix` - ensure turbo daemon is stopped to prevent hang on exit: at some point during the install, `turbo` starts it's daemon, causing the script to hang at the end because the daemon is running - formatting fixes: fix indentation This is a breaking change as the differences from before are too great to accomodate in the update function. Users should reinstall from scratch, or manually make the changes themselves. ## 🔗 Related PR / Issue Link: #4305 ## ✅ 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) - [x] 🐞 **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. - [ ] 🔧 **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 06:12:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#4923