You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@d4niel1402 You might try setting the STORAGE_USERS_POSIX_ROOT env var in /etc/opencloud/opencloud.env to play around with that. But this is where I'm stuck - changing that will work in some ways but will break things like sharing, cause issues with Spaces, and might also cause some uploads to fail if uploading a large number of files.
If you are using an NFS share, then I certainly encourage you to experiment and to share your results.
Any luck with this? I keep my VMs/Containers on A separate SSD pool. Then If I need mass storage (like for a cloud service, SMB , Media, etc.) I bind mount to a separate CEPH pool of spinning rust, setting it up like this would be a requirement for me to use it, I just don't have enough SSD space in proportion to data I store to not do so. Also does anyone else use Fossorial Pangolin? I could really use some help getting it working behind it for whatever reason opencloud doesn't like it when I try to route traffic through it. I can only assume its some configuration file settings, I'm missing somewhere. I'm really looking forward to open cloud getting added here! :)
@d4niel1402 You might try setting the STORAGE_USERS_POSIX_ROOT env var in /etc/opencloud/opencloud.env to play around with that. But this is where I'm stuck - changing that will work in some ways but will break things like sharing, cause issues with Spaces, and might also cause some uploads to fail if uploading a large number of files.
If you are using an NFS share, then I certainly encourage you to experiment and to share your results.
Any luck with this? I keep my VMs/Containers on A separate SSD pool. Then If I need mass storage (like for a cloud service, SMB , Media, etc.) I bind mount to a separate CEPH pool of spinning rust, setting it up like this would be a requirement for me to use it, I just don't have enough SSD space in proportion to data I store to not do so. Also does anyone else use Fossorial Pangolin? I could really use some help getting it working behind it for whatever reason opencloud doesn't like it when I try to route traffic through it. I can only assume its some configuration file settings, I'm missing somewhere. I'm really looking forward to open cloud getting added here! :)
@Data-PhiIe nope, unfortunately i wasnt successful until now with using my external Drive for the data. For setting up opencloud and pangolin I used proxmox helper script and installed newt in the lxc. In pangolin settings pointed to Port 9200, 9980 collabora and 9300 wopi
@d4niel1402 You might try setting the STORAGE_USERS_POSIX_ROOT env var in /etc/opencloud/opencloud.env to play around with that. But this is where I'm stuck - changing that will work in some ways but will break things like sharing, cause issues with Spaces, and might also cause some uploads to fail if uploading a large number of files.
If you are using an NFS share, then I certainly encourage you to experiment and to share your results.
Any luck with this? I keep my VMs/Containers on A separate SSD pool. Then If I need mass storage (like for a cloud service, SMB , Media, etc.) I bind mount to a separate CEPH pool of spinning rust, setting it up like this would be a requirement for me to use it, I just don't have enough SSD space in proportion to data I store to not do so. Also does anyone else use Fossorial Pangolin? I could really use some help getting it working behind it for whatever reason opencloud doesn't like it when I try to route traffic through it. I can only assume its some configuration file settings, I'm missing somewhere. I'm really looking forward to open cloud getting added here! :) @Data-PhiIe nope, unfortunately i wasnt successful until now with using my external Drive for the data. For setting up opencloud and pangolin I used proxmox helper script and installed newt in the lxc. In pangolin settings pointed to Port 9200, 9980 collabora and 9300 wopi
Does the NEWT container need to be in the same LXC? I have a dedicated VM running NEWT.
@MickLesk I haven't looked at this for a while. The Opencloud team is not likely to add support for SMB storage in the near future. NFS may still work but I'm not capable of trying that (I use MergerFS and NFS was very unstable last time I tried it).
We could release it as-is, with only support for storage on the LXC disk and nothing else. I just thought it wouldn't make sense to release like that since it limits it's usefulness.
See this discussion as to why SMB is not supported. Although, since NFS (4.2+) is technically supported, perhaps I should pick this up again, even if I won't be able to use it myself.
@vhsdream Please release it already 😉 I would use it with mountpoints only, behind my traefik and OpenId with Authentik...
Also would be nice if you could add optional Colabora and Apache Tika.
I would use it with mountpoints only!! yes, nobody needs external HDD or something else. Its only a file Server. give the LXC 32GB space and it works for 95% users.
The opencloud script is ready for testing: bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/opencloud.sh)"
Default credentials:
Username: admin
Password: randomly generated during the installation process
Valid TLS certificates and fully-qualified domain names behind a reverse proxy (Caddy) for 3 services - OpenCloud, Collabora, and WOPI are REQUIRED
Forgot your admin password? Check admin_password in the 'idm' section in /etc/opencloud/opencloud.yaml Optional External Apps: extract zip archives from App Store to /etc/opencloud/assets/apps Optional CalDAV and CardDAV: requires separate Radicale install. Edit and rename /opt/opencloud/proxy.yaml.bak and change your Radicale config to use http_x_remote_user as the auth method Optional OpenID: Authelia and PocketID supported. Uncomment relevant lines in /opt/opencloud/opencloud.env and consult OpenCloud GitHub discussions for configuration tips Optional Full-text Search with Apache Tika: requires your own Tika LXC. See https://community-scripts.github.io/ProxmoxVE/scripts?id=apache-tika Relevant services: opencloud.service, opencloud-wopi.service, coolwsd.service
Note: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
Collabora Online (CODE) install is still bundled with OpenCloud.
For CalDAV/CardDAV and full-text search, your own Radicale and Tika installs are required, respectively.
Note that your Radicale install has to use HTTP_X_REMOTE_USER authentication instead of htpasswd in order for the integration to work. Do so at your own risk.
I haven't yet confirmed if the external OIDC configuration is still valid.
I haven't yet tested how to use an external NFS share, so the disk size was increased from 6GB to 20GB.
Hey @tremor021 I can't reply to your message in Discord (no permission), but I had some issues with that as well, which I thought I fixed by adding a sleep after enabling the coolwsd and opencloud services:
I just tested the OIDC functionality and had to add the KEYCLOAK_DOMAIN and IDP_DOMAIN config options to make OIDC work. The first option is referenced in the csp.yaml and the second one seems to be internally used - This one i copied over from my existing OpenCloud instance running in Docker
@tomfrenzel I assume that means that you use Keycloak? I also had to add my PocketID FQDN to the csp.yaml which makes sense. I'll look into the IDP_DOMAIN thing to see if it should be added to the env.
@tomfrenzel I assume that means that you use Keycloak?
Nope, i use PocketID with Caddy. For some reason, only adding my Pocket ID FQDN to the csp.yaml did not make OIDC work. After redirecting back from Pocket ID, OpenCloud stays the "logging in" screen.
I think the 'KEYCLOAK_DOMAIN' variable got replaced anyway. The csp.yaml in the opencloud-compose repository references the 'IDP_DOMAIN' variable.
@vhsdream Sorry for the inconvenience - it was an Browser issue. I guess there was something cached from my old OpenCloud instance which i ran using Docker Compose under the same domain. Deleting all site data fixed it.
Now using the default variables + adding the Pocket ID domain to csp.yaml works now.
What's also nice is, that i was able to use my exiting OpenCloud data + config.
In my previous docker instance, i had the OpenCloud data and config directory located in an NFS share, mounted to the Docker LXC. I was able to mount the same share to the new OpenCloud LXC, changed the owner to opencloud:opencloud for both directories and updated the OC_BASE_DATA_PATH and OC_CONFIG_DIR variables to pont to the mounted directories.
With that, everything worked as before 👍
Yes. But i mounted the share on the PVE host and created a mount point to the LXC after creation. I can try mounting the share directly to the LXC (saw that option during the setup process) but since i previously had problems with NFS mounts in unprivileged LXCs, i sticked with the host mount for now.
Let me know if you want me to try the "direct" mount
If so, then this script is pretty much ready for release
I currently don't see the options for creating OpenDocument or MS files, which you showed in your screenshot.
The wopi domain returns 404 page not found and the collabora domain returns Ok. The Caddy seems to be working correctly.
I'll have to try again with a fresh instance, since i think the issue could be that i used my existing opencloud.yaml config.
@vhsdream Just to make sure, did you add any special options to your Caddyfile or did you just use the bare reverse_proxy option?
Try restarting the opencloud-wopi service in the LXC. I find sometimes that the Collabora stuff doesn't appear until I do that. The wopi domain is not supposed to be accessed directly, so showing 404 is correct.
My Caddyfile is just the basic reverse_proxy directive for each subdomain and it works well.
And for the NFS stuff - the way you did it is the preferred way. I'm just bummed because I typically don't use NFS due to the fact that I use MergerFS which I've had major issues with before. SMB has been more stable for me.
I don't want to have to make an exception like I have for Nextcloud - for that I use a privileged LXC and mount an NFS share directly via fstab.
Edit: Here's what my OpenCloud looks like if I simply restart the LXC:
Then, after I restart opencloud-wopi the Collabora stuff appears:
There must be something wrong with my systemd service config, I'll have to fix that before releasing the script.
Alright, then yes, mounting an NFS share trough the host works 😄 I also used privileged LXCs before the get mounts working but now i much rather have my PVE UI cluttered with multiple storages then having to make all my LXCs that use shares, privileged.
As for the collabora issue: I tried restarting the wopi service but that did not help. I also switched back to the original config and data directory but i still don't see the menu entries. I'll sping up a fresh instance later and are going to test it again.
Does service opencloud-wopi status return anything more than "Started opencloud-wopi.service ..." on your system?
For me, on boot it returns an error with regards to the Collabora domain:
Dec 11 10:39:58 opencloud-dev systemd[1]: Started opencloud-wopi.service - OpenCloud WOPI Server.
Dec 11 10:39:58 opencloud-dev opencloud[190]: {"level":"error","service":"collaboration","WopiAppUrl":"https://office.opencloud.tld/hosting/discovery","HttpCode":502,"time":"2025-12-11T10:39:58-05:00","message":"WopiDiscovery: wopi app url failed with unexpected code"}
You might want to check if you can reach that URL in your browser: https://your-collabora.url/hosting/discovery.
Also, I made a couple of changes to the Opencloud WOPI service file and added an override to the coolwsd service, and I notice that while the link with Collabora isn't available immediately, if I wait a couple of minutes and refresh the page, it is suddenly there. That appears to be the best I can manage though.
I saw that error as well at some point. But now it does not occur anymore. The discovery URl seems to work as it returns some XML.
I'm going to create a new LXC with the updated script and see if it works then 😉
I've got the menu items working now! Not sure what exactly the issue was, but a fresh install helped.
Unfortunately, I still have to restart the wopi service after an LXC reboot, since it tires to call the collabora URL before the service is actually reachable.
And I also see this message in the browser console: Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' https://keycloak.opencloud.test/” (Missing 'unsafe-eval')
Although, I'm not sure how big of a problem that is since everything seems to run just fine
@vhsdream Adding ExecStartPre=/bin/sleep 10 to opencloud-wopi.service fixed the issue of manually having to restart the wopi service for me. It's not the most elegant but as far as i know, systemd does not have a native option for delaying a service start.
@tomfrenzel Thanks, I'll add that. For your thing above, that's has to do with your csp.yaml file and I guess one of your env vars. You might want to look into that before a production deployment, since it would allow a malicious actor to register 'opencloud.test' (if it's available) and execute scripts in your instance.
Alright 👍 I looked into that CSP error and added my Pocket ID domain to the csp.yaml also at the bottom script-src section. The error still occurs but just adding unsafe-eval will possibly allow XSS attacks (as you also suggested). Therefore I'm just gonna ignore the error and maybe OpenCloud will remover the eval() function call at some point which will make the error go away
Yup, sounds good 👍 Do you think it makes sense to include the IDP_DOMAIN variable to the default opencloud.env? That way users only have to care about the .env file and not that csp.yaml as well when using OIDC. I can imagine that many forget about the csp file 😄
There's also a small typo in the update script for finding the most recent GH release: opencloud-.*linux-amd64 should be opencloud-*-linux-amd64 since the release is called opencloud-4.0.0-linux-amd64. Changing that locally and lowering the version number in .opencloud lets the update script run through without any issues.
Other than that i don't know what else to test. Everything is looking good to me!
@vhsdream Do you want to update the pinned version to 4.1.0 so we can test this new release?
I already ran the update script locally with the release set to 4.1.0 and so far everything seems to work as expected (even collabora)
Could it be released without CIFS working temporarily and fix it along the way? I personally use a bind mount to CephFS, so I could use it now in its current state if that is all that is broken. Obviously I understand its not all about me, I don't know how many other people besides me use this configuration, but if there are any others it would be nice if we could use it now.
On second look, the mail app feature isn't really integrated in a way that I can decipher, and doesn't seem like it's meant for production yet.
So we can release the script as-is right now, and Opencloud will work with the LXC storage. I'd still prefer if someone with NFS 4.2+ could test a setup with bind-mounted external storage though.
Sounds good to me! For my setup (TrueNAS 24.04 NFS Share mounted as Storage in PVE 9.1.4 and passed through to the LXC via a mount point) everything is working fine. I also double checked the NFS version with nfsstat -m and it shows that i'm using NFS4.2:
/mnt/pve/opencloud from truenas.internal:/mnt/tank/opencloud
Flags: rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,fatal_neterrors=none,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.20.251,local_lock=none,addr=192.168.20.140
On second look, the mail app feature isn't really integrated in a way that I can decipher, and doesn't seem like it's meant for production yet.
So we can release the script as-is right now, and Opencloud will work with the LXC storage. I'd still prefer if someone with NFS 4.2+ could test a setup with bind-mounted external storage though.
I do have a Truenas box in my network, if you would like I can try to test with NFS, I always seem to run into ACL issues with NFS though, which is why I personally stopped using it. But if you guys need help testing I don't mind spinning up a temporary instance to test functionality
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) git.community-scripts.org:(✔️ )
✔️ Updated Container OS
Enter the hostname of your OpenCloud server (eg cloud.domain.tld):
Enter the hostname of your Collabora server (eg collabora.domain.tld):
Enter the hostname of your WOPI server (eg wopiserver.domain.tld):
✔️ Installed Collabora Online
✔️ Deployed: opencloud (4.1.0)
bash: line 64: CONFIG_DIR: unbound variable
✖️ Installation failed in container 106 (exit code: 1)
✔ Installation log: /tmp/install-lxc-106-8693920b.log
@vhsdreamOpenCloud 5.0.0 just released. I ran the update and haven't seen any issues so far. The breaking change for ocdav seems not to affect my installation. I tested the search functionality and was also able to get preview images for my files. So i guess the ocdav / WebDAV stuff is working 😄
@MickLesk I think we can release it. I'll be updating my PVE nodes to 9 very soon so I can continue with investigating how bind mounting of NFS shares can be configured - it seems some people are already doing it anyways.
We can merge it, as far as I'm concerned. I was never able to test it properly. Either I'm too stupid, or the thing just won't run on localhost. I don't want to connect it via domain/public. Maybe we should do a little error handling here, right? For example, I can press Enter or enter 192.168.1.1.
maybe another @community-scripts/contributor will take a look too?
Activity
Data-Hoarderr commentedon Jul 27, 2025
Any luck with this? I keep my VMs/Containers on A separate SSD pool. Then If I need mass storage (like for a cloud service, SMB , Media, etc.) I bind mount to a separate CEPH pool of spinning rust, setting it up like this would be a requirement for me to use it, I just don't have enough SSD space in proportion to data I store to not do so. Also does anyone else use Fossorial Pangolin? I could really use some help getting it working behind it for whatever reason opencloud doesn't like it when I try to route traffic through it. I can only assume its some configuration file settings, I'm missing somewhere. I'm really looking forward to open cloud getting added here! :)
d4niel1402 commentedon Jul 28, 2025
Data-Hoarderr commentedon Jul 30, 2025
Does the NEWT container need to be in the same LXC? I have a dedicated VM running NEWT.
thelightsense commentedon Aug 26, 2025
it break when Ceph Filesystem used. Release it without NFZ - USB - Support !! w all need opencloud
MickLesk commentedon Oct 22, 2025
@vhsdream any updates of this? I almost accidentally deleted it from the repository because I assumed it was already completed. 😄
vhsdream commentedon Oct 22, 2025
@MickLesk I haven't looked at this for a while. The Opencloud team is not likely to add support for SMB storage in the near future. NFS may still work but I'm not capable of trying that (I use MergerFS and NFS was very unstable last time I tried it).
We could release it as-is, with only support for storage on the LXC disk and nothing else. I just thought it wouldn't make sense to release like that since it limits it's usefulness.
tremor021 commentedon Oct 22, 2025
what's "unstable" about it? maybe we can contact the devs directly about the issue?
MickLesk commentedon Oct 22, 2025
That can i do in German, maybe they answer a little bit better as to vhs
vhsdream commentedon Oct 27, 2025
See this discussion as to why SMB is not supported. Although, since NFS (4.2+) is technically supported, perhaps I should pick this up again, even if I won't be able to use it myself.
konkos1 commentedon Oct 30, 2025
@vhsdream Please release it already 😉 I would use it with mountpoints only, behind my traefik and OpenId with Authentik...
Also would be nice if you could add optional Colabora and Apache Tika.
thelightsense commentedon Nov 18, 2025
I would use it with mountpoints only!! yes, nobody needs external HDD or something else. Its only a file Server. give the LXC 32GB space and it works for 95% users.
github-actions commentedon Dec 7, 2025
The opencloud script is ready for testing:
bash -c "$(curl -fsSL https://github.com/community-scripts/ProxmoxVED/raw/main/ct/opencloud.sh)"Default credentials:
Username: admin
Password: randomly generated during the installation process
Valid TLS certificates and fully-qualified domain names behind a reverse proxy (Caddy) for 3 services - OpenCloud, Collabora, and WOPI are REQUIRED
Forgot your admin password? Check
admin_passwordin the 'idm' section in/etc/opencloud/opencloud.yamlOptional External Apps: extract zip archives from App Store to
/etc/opencloud/assets/appsOptional CalDAV and CardDAV: requires separate Radicale install. Edit and rename
/opt/opencloud/proxy.yaml.bakand change your Radicale config to usehttp_x_remote_useras the auth methodOptional OpenID: Authelia and PocketID supported. Uncomment relevant lines in
/opt/opencloud/opencloud.envand consult OpenCloud GitHub discussions for configuration tipsOptional Full-text Search with Apache Tika: requires your own Tika LXC. See
https://community-scripts.github.io/ProxmoxVE/scripts?id=apache-tikaRelevant services:
opencloud.service,opencloud-wopi.service,coolwsd.serviceNote: This is not in the official repo yet—it's just a dev version! After merging into ProxmoxVE, it will need to be recreated.
vhsdream commentedon Dec 7, 2025
HTTP_X_REMOTE_USERauthentication instead ofhtpasswdin order for the integration to work. Do so at your own risk.vhsdream commentedon Dec 9, 2025
Hey @tremor021 I can't reply to your message in Discord (no permission), but I had some issues with that as well, which I thought I fixed by adding a sleep after enabling the coolwsd and opencloud services:
Guess it's not working? I've found that simply restarting
opencloud-wopiworks, have you tried that?tremor021 commentedon Dec 9, 2025
Weird that you have no permissions on discord... @bramsuurdje can you check on that?
@vhsdream I didn't try restarting only wopi service, i tried restarting entire lxc, didnt help. Gonna try only wopi and report back
vhsdream commentedon Dec 9, 2025
@tremor021 I just can't reply to your comment, which you made in the Testers Wanted thread. Everything else seems all good.
tremor021 commentedon Dec 9, 2025
trying to create new excel document gives this... i guess we need to set some more vars @vhsdream
vhsdream commentedon Dec 9, 2025
I just did a fresh install:
What's your TLS and reverse proxy setup? I'm using Caddy, but I'm wondering if things are different for those using other reverse proxies.
tremor021 commentedon Dec 9, 2025
Nothing much really.
cloud.domain.compoints to LXCIP:9200collabora.domain.compoints to LXCIP:9980wopi.domain.compoints to LXCIP:9300vhsdream commentedon Dec 9, 2025
Is that NPM? I can't remember how TLS is provisioned with that. Might be the SSL termination settings in Collabora?
Shot in the dark - try the below and then restart all services:
This might result in worse things, so to revert just do
sudo -u cool coolwsd set ssl.termination truetremor021 commentedon Dec 9, 2025
Nah, that didn't help. Did you do any extra config on Caddy?
tremor021 commentedon Dec 9, 2025
Ok, Caddy works... this is interesting... both Zoraxy and NPM failed to proxy this correctly
vhsdream commentedon Dec 9, 2025
Perhaps it's a difference in the Host header, at least according to this.
If you go back to testing NPM/Zoraxy, check the browser Devtools for console errors and see what it says.
tremor021 commentedon Dec 9, 2025
Yea, gonna try to debug it further... Its user configuration error then... :)
btw:
you never save $COOLPASS anywhere so password is unknown
vhsdream commentedon Dec 9, 2025
That is fantastic for security!
tomfrenzel commentedon Dec 10, 2025
I just tested the OIDC functionality and had to add the
KEYCLOAK_DOMAINandIDP_DOMAINconfig options to make OIDC work. The first option is referenced in the csp.yaml and the second one seems to be internally used - This one i copied over from my existing OpenCloud instance running in Dockervhsdream commentedon Dec 11, 2025
@tomfrenzel I assume that means that you use Keycloak? I also had to add my PocketID FQDN to the
csp.yamlwhich makes sense. I'll look into theIDP_DOMAINthing to see if it should be added to the env.MickLesk commentedon Dec 11, 2025
we should add a check if domain and co is valid, ive entered the first read and then its broken 😄
tomfrenzel commentedon Dec 11, 2025
Nope, i use PocketID with Caddy. For some reason, only adding my Pocket ID FQDN to the csp.yaml did not make OIDC work. After redirecting back from Pocket ID, OpenCloud stays the "logging in" screen.
I think the 'KEYCLOAK_DOMAIN' variable got replaced anyway. The csp.yaml in the opencloud-compose repository references the 'IDP_DOMAIN' variable.
vhsdream commentedon Dec 11, 2025
@tomfrenzel That's my exact setup too. Have you uncommented and modified the full OpenID config in the
opencloud.env?This works for me (and adding my PocketID to
csp.yaml:And good point about the
csp.yamlfile - I'll have the script grab the more recent one from the opencloud-compose repo.tomfrenzel commentedon Dec 11, 2025
@vhsdream Sorry for the inconvenience - it was an Browser issue. I guess there was something cached from my old OpenCloud instance which i ran using Docker Compose under the same domain. Deleting all site data fixed it.
Now using the default variables + adding the Pocket ID domain to csp.yaml works now.
tomfrenzel commentedon Dec 11, 2025
What's also nice is, that i was able to use my exiting OpenCloud data + config.
In my previous docker instance, i had the OpenCloud
dataandconfigdirectory located in an NFS share, mounted to the Docker LXC. I was able to mount the same share to the new OpenCloud LXC, changed the owner toopencloud:opencloudfor both directories and updated theOC_BASE_DATA_PATHandOC_CONFIG_DIRvariables to pont to the mounted directories.With that, everything worked as before 👍
vhsdream commentedon Dec 11, 2025
OK, so what you're saying is - it really does work with an NFS share? If so, then this script is pretty much ready for release.
tomfrenzel commentedon Dec 11, 2025
Yes. But i mounted the share on the PVE host and created a mount point to the LXC after creation. I can try mounting the share directly to the LXC (saw that option during the setup process) but since i previously had problems with NFS mounts in unprivileged LXCs, i sticked with the host mount for now.
Let me know if you want me to try the "direct" mount
tomfrenzel commentedon Dec 11, 2025
I currently don't see the options for creating OpenDocument or MS files, which you showed in your screenshot.
The wopi domain returns
404 page not foundand the collabora domain returnsOk. The Caddy seems to be working correctly.I'll have to try again with a fresh instance, since i think the issue could be that i used my existing
opencloud.yamlconfig.@vhsdream Just to make sure, did you add any special options to your Caddyfile or did you just use the bare
reverse_proxyoption?vhsdream commentedon Dec 11, 2025
Try restarting the
opencloud-wopiservice in the LXC. I find sometimes that the Collabora stuff doesn't appear until I do that. The wopi domain is not supposed to be accessed directly, so showing 404 is correct.My Caddyfile is just the basic
reverse_proxydirective for each subdomain and it works well.And for the NFS stuff - the way you did it is the preferred way. I'm just bummed because I typically don't use NFS due to the fact that I use MergerFS which I've had major issues with before. SMB has been more stable for me.
I don't want to have to make an exception like I have for Nextcloud - for that I use a privileged LXC and mount an NFS share directly via fstab.
Edit: Here's what my OpenCloud looks like if I simply restart the LXC:
Then, after I restart
opencloud-wopithe Collabora stuff appears:There must be something wrong with my systemd service config, I'll have to fix that before releasing the script.
tomfrenzel commentedon Dec 11, 2025
Alright, then yes, mounting an NFS share trough the host works 😄 I also used privileged LXCs before the get mounts working but now i much rather have my PVE UI cluttered with multiple storages then having to make all my LXCs that use shares, privileged.
As for the collabora issue: I tried restarting the wopi service but that did not help. I also switched back to the original config and data directory but i still don't see the menu entries. I'll sping up a fresh instance later and are going to test it again.
Does
service opencloud-wopi statusreturn anything more than "Started opencloud-wopi.service ..." on your system?vhsdream commentedon Dec 11, 2025
For me, on boot it returns an error with regards to the Collabora domain:
You might want to check if you can reach that URL in your browser:
https://your-collabora.url/hosting/discovery.Also, I made a couple of changes to the Opencloud WOPI service file and added an override to the coolwsd service, and I notice that while the link with Collabora isn't available immediately, if I wait a couple of minutes and refresh the page, it is suddenly there. That appears to be the best I can manage though.
tomfrenzel commentedon Dec 11, 2025
I saw that error as well at some point. But now it does not occur anymore. The discovery URl seems to work as it returns some XML.
I'm going to create a new LXC with the updated script and see if it works then 😉
vhsdream commentedon Dec 11, 2025
I'll have to update my nodes to PVE9 because PVE8.4 doesn't seem to support NFSv4.2.
tomfrenzel commentedon Dec 12, 2025
I've got the menu items working now! Not sure what exactly the issue was, but a fresh install helped.
Unfortunately, I still have to restart the wopi service after an LXC reboot, since it tires to call the collabora URL before the service is actually reachable.
And I also see this message in the browser console:
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' https://keycloak.opencloud.test/” (Missing 'unsafe-eval')Although, I'm not sure how big of a problem that is since everything seems to run just fine
tomfrenzel commentedon Dec 12, 2025
@vhsdream Adding
ExecStartPre=/bin/sleep 10toopencloud-wopi.servicefixed the issue of manually having to restart the wopi service for me. It's not the most elegant but as far as i know, systemd does not have a native option for delaying a service start.vhsdream commentedon Dec 12, 2025
@tomfrenzel Thanks, I'll add that. For your thing above, that's has to do with your
csp.yamlfile and I guess one of your env vars. You might want to look into that before a production deployment, since it would allow a malicious actor to register 'opencloud.test' (if it's available) and execute scripts in your instance.tremor021 commentedon Dec 12, 2025
Or you can use timer
tomfrenzel commentedon Dec 12, 2025
Alright 👍 I looked into that CSP error and added my Pocket ID domain to the
csp.yamlalso at the bottomscript-srcsection. The error still occurs but just addingunsafe-evalwill possibly allow XSS attacks (as you also suggested). Therefore I'm just gonna ignore the error and maybe OpenCloud will remover theeval()function call at some point which will make the error go awayvhsdream commentedon Dec 12, 2025
@tomfrenzel You're using the csp.yaml that has
IDP_DOMAINin it, right?You can try two things:
IDP_DOMAIN=<your pocketid url>toopencloud.envIDP_DOMAINareKEYCLOAK_DOMAINThen restart Opencloud and check if the error is there. I don't have the error because I'm still using the 'older' csp.yaml in my dev instance.
Edit: wait I see what you mean. I had that error as well - yeah I suppose it's best to ignore it unless we find something broken as a result.
tomfrenzel commentedon Dec 12, 2025
Yup, sounds good 👍 Do you think it makes sense to include the
IDP_DOMAINvariable to the defaultopencloud.env? That way users only have to care about the.envfile and not thatcsp.yamlas well when using OIDC. I can imagine that many forget about the csp file 😄tomfrenzel commentedon Dec 12, 2025
There's also a small typo in the update script for finding the most recent GH release:
opencloud-.*linux-amd64should beopencloud-*-linux-amd64since the release is calledopencloud-4.0.0-linux-amd64. Changing that locally and lowering the version number in.opencloudlets the update script run through without any issues.Other than that i don't know what else to test. Everything is looking good to me!
tomfrenzel commentedon Dec 20, 2025
@vhsdream Do you want to update the pinned version to 4.1.0 so we can test this new release?
I already ran the update script locally with the release set to 4.1.0 and so far everything seems to work as expected (even collabora)
vhsdream commentedon Dec 20, 2025
Updated!
vhsdream commentedon Dec 20, 2025
Looks like with 4.1 they've added an email app via some kind of integration with Stalwart.
I'm pretty much off the grid from the 22nd until Jan 7th so don't expect any work done to figure that out until after the 7th.
MickLesk commentedon Dec 20, 2025
That have time! Enjoy the Christmas season and New Year with friends and family! :-)
Data-Hoarderr commentedon Jan 2, 2026
Could it be released without CIFS working temporarily and fix it along the way? I personally use a bind mount to CephFS, so I could use it now in its current state if that is all that is broken. Obviously I understand its not all about me, I don't know how many other people besides me use this configuration, but if there are any others it would be nice if we could use it now.
vhsdream commentedon Jan 12, 2026
On second look, the mail app feature isn't really integrated in a way that I can decipher, and doesn't seem like it's meant for production yet.
So we can release the script as-is right now, and Opencloud will work with the LXC storage. I'd still prefer if someone with NFS 4.2+ could test a setup with bind-mounted external storage though.
tomfrenzel commentedon Jan 12, 2026
Sounds good to me! For my setup (TrueNAS 24.04 NFS Share mounted as Storage in PVE 9.1.4 and passed through to the LXC via a mount point) everything is working fine. I also double checked the NFS version with
nfsstat -mand it shows that i'm using NFS4.2:Data-Hoarderr commentedon Jan 15, 2026
I do have a Truenas box in my network, if you would like I can try to test with NFS, I always seem to run into ACL issues with NFS though, which is why I personally stopped using it. But if you guys need help testing I don't mind spinning up a temporary instance to test functionality
MickLesk commentedon Jan 15, 2026
✔️ Git DNS: github.com:(✔️ ) raw.githubusercontent.com:(✔️ ) git.community-scripts.org:(✔️ ) ✔️ Updated Container OS Enter the hostname of your OpenCloud server (eg cloud.domain.tld): Enter the hostname of your Collabora server (eg collabora.domain.tld): Enter the hostname of your WOPI server (eg wopiserver.domain.tld): ✔️ Installed Collabora Online ✔️ Deployed: opencloud (4.1.0) bash: line 64: CONFIG_DIR: unbound variable ✖️ Installation failed in container 106 (exit code: 1) ✔ Installation log: /tmp/install-lxc-106-8693920b.logfvezzoli commentedon Jan 16, 2026
I think the CONFIG_DIR unbound variable error in the previous comment is related to this commit: 021a4c6#diff-be90f72da8cac1210a7255df433b363d30b8b9866c426605dec0e8dbf5f573ecR64
vhsdream commentedon Jan 19, 2026
Yep that would screw it up - thx @MickLesk for fixing it!
tomfrenzel commentedon Jan 26, 2026
@vhsdream OpenCloud 5.0.0 just released. I ran the update and haven't seen any issues so far. The breaking change for
ocdavseems not to affect my installation. I tested the search functionality and was also able to get preview images for my files. So i guess theocdav/WebDAVstuff is working 😄Do you want to bump the version to 5.0.0?
vhsdream commentedon Jan 29, 2026
Bumped to 5.0.1
konkos1 commentedon Jan 30, 2026
Is the script now released?
MickLesk commentedon Jan 31, 2026
Nope
tomfrenzel commentedon Jan 31, 2026
Works for me 👍🏽
vhsdream commentedon Feb 2, 2026
@MickLesk I think we can release it. I'll be updating my PVE nodes to 9 very soon so I can continue with investigating how bind mounting of NFS shares can be configured - it seems some people are already doing it anyways.
MickLesk commentedon Feb 2, 2026
We can merge it, as far as I'm concerned. I was never able to test it properly. Either I'm too stupid, or the thing just won't run on localhost. I don't want to connect it via domain/public. Maybe we should do a little error handling here, right? For example, I can press Enter or enter 192.168.1.1.
maybe another @community-scripts/contributor will take a look too?
michelroegl-brunner commentedon Feb 4, 2026
works for me, i say we merge it.
github-actions commentedon Feb 4, 2026
A PR has been created for opencloud: community-scripts/ProxmoxVE#11538
michelroegl-brunner commentedon Feb 5, 2026
Merged with #11538 in ProxmoxVE
github-actions commentedon Feb 5, 2026
Files deleted with PR #1420