Add Install Scripts: OpenCloud, OnlyOffice Document Server, Collabora Online#177
Add Install Scripts: OpenCloud, OnlyOffice Document Server, Collabora Online#177rhjanssen wants to merge 11 commits intoeshtek:devfrom
Conversation
Updates documentation with troubleshooting guides and latest release note
Updates Emby and Jellyfin default ports. Ignore the updated script dates we can gen:all on the next push
Initial version of the OpenCloud installation script with collaboration support and various configuration options.
This JSON file contains the installation script details for OnlyOffice Document Server, including versioning, requirements, installation questions, and app values.
Added a JSON configuration script for Collabora Online installation, including versioning, requirements, installation questions, and application values.
There was a problem hiding this comment.
Pull request overview
Adds three curated HexOS/TrueNAS install scripts to deploy an OpenCloud-based document collaboration stack (OpenCloud + optional OnlyOffice or Collabora).
Changes:
- Added
opencloud.jsoncurated install script with optional WOPI collaboration configuration. - Added
onlyoffice.jsoncurated install script with JWT coordination and Postgres host-path storage. - Added
collabora.jsoncurated install script with admin/WebUI and allowed-domain configuration.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| docs/public/install-scripts/opencloud.json | New install script for deploying OpenCloud with optional WOPI collaboration settings. |
| docs/public/install-scripts/onlyoffice.json | New install script for deploying OnlyOffice Document Server with configurable web port and persistent Postgres data. |
| docs/public/install-scripts/collabora.json | New install script for deploying Collabora Online with WebUI credentials and allowed-domain configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Hi Robert, I appreciate you help in creating installation scripts for more applications. I would also appreciate it if you could also message me in the hexos forums with any feedback or concerns or if there is anything I can help you with. |
|
I've send you a message 👍. |
|
I am getting a warning saying, that |
Removed mention of HTTPS for now cause it is not allowed for now in scripts for some reason.
rhjanssen
left a comment
There was a problem hiding this comment.
These scripts work on my server, but maybe the phrasing should be adjusted.
Summary
Three new curated install scripts for deploying a complete OpenCloud document collaboration stack on HexOS/TrueNAS:
Scripts
opencloud.jsononlyoffice.jsoncollabora.jsonInstallation Questions
OpenCloud
app_urljwt_secret$RANDOM_STRING(32)enable_collaborationfalsecollaboration_typecollaboracollaboration_urlOnlyOffice Document Server
jwt_secret$RANDOM_STRING(32)web_port30134Collabora Online
server_namealiasgroupadmin_useradminadmin_passwordweb_port9980Key Design Decisions
JWT Secret Coordination (OpenCloud + OnlyOffice)
OpenCloud's TrueNAS chart maps both
opencloud.jwt_secretandopencloud.collaboration.jwt_secretto environment variables that must be identical when using OnlyOffice collaboration. This script uses a singlejwt_secretquestion that feeds both fields.Both OpenCloud and OnlyOffice default to
$RANDOM_STRING(32), allowing either app to be installed first. The user copies the generated JWT from whichever app was installed first into the other app's JWT field.Collabora Uses WOPI Proof Keys (No JWT)
Collabora authenticates via WOPI Proof Keys rather than JWT. OpenCloud sets
collaboration.proof_disable: trueto bypass proof key validation in insecure/LAN setups. No shared secret is needed between OpenCloud and Collabora.Storage Layout
$LOCATION(ApplicationsPerformance)/opencloud/—config,data,radicale_data. Runs as user/group 568, withapps:appsPOSIX permissions.$LOCATION(ApplicationsPerformance)/onlyoffice/postgres_datawithnetdata:dockerpermissions (required by the chart).Resource Allocation
All three scripts request 2 CPUs and
$MEMORY(10%, 4096)(10% of system RAM, minimum 4096 MB).Collabora Password Validation
The TrueNAS Collabora chart enforces
^[a-zA-Z0-9!@#$%^&*?]{8,}$on the admin password. The description instructs users to use a minimum of 8 characters with only letters, numbers, and!@#%^&*?.Tested Configurations
Schema & Macros Used
$RANDOM_STRING(),$QUESTION(),$HOST_PATH(),$LOCATION(),$MEMORY()Checklist
https://URLs in description strings (avoids HexOS editor parse issues)$characters in description text (avoids macro parser conflicts)app_valuesfields match TrueNAS chart question variable names