-
DescriptionI'm having trouble integrating Collabora Online with OpenCloud when using rootless Podman and systemd Quadlet containers. The problem is that the Collabora editor does not appear when trying to edit a file. The interface just doesn’t load the editor frame. I've tried accessing it both through a reverse proxy (with I have based my setup on the official Setup and container configurationI'm running three rootless Podman containers using systemd Quadlet. opencloud.container[Unit]
Description=Container OpenCloud
[Container]
ContainerName=opencloud
Image=docker.io/opencloudeu/opencloud-rolling:latest
Network=opencloud.network
PublishPort=9200:9200
Volume=%h/opencloud/config:/etc/opencloud
Volume=%h/opencloud/data:/var/lib/opencloud
Entrypoint=/bin/sh
Exec=-c "opencloud init || true; opencloud server"
Environment=OC_URL=https://opencloud.xxx.com
Environment=OC_INSECURE=false
Environment=ADRESSE_HTTP_PROXY=0.0.0.0:9200
Environment=START_ADDITIONAL_SERVICES=notifications
Environment=OC_LOG_LEVEL=info
Environment=OC_LOG_COLOR=true
Environment=OC_LOG_PRETTY=true
Environment=PROXY_CPS_CONFIG_FILE_LOCATION=/etc/opencloud/cps.yaml
# Collabora
Environment=COLLABORA_DOMAIN=collabora.xxx.com
Environment=NATS_NATS_HOST=0.0.0.0
Environment=GATEWAY_GRPC_ADDR=0.0.0.0:9142
Environment=FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR=eu.opencloud.api.collaboration.CollaboraOnline
Environment=GRAPH_AVAILABLE_ROLES=b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5,a8d5fe5e-96e3-418d-825b-534dbdf22b99,...
[Install]
WantedBy=default.target collabora.container[Unit]
Description= Conteneur Collabora
Requires=opencloud.container
After=opencloud.container
[Container]
ContainerName=collabora
Image=docker.io/collabora/code:latest
Network=opencloud.network
HostName=collabora
PublishPort=9980:9980
Entrypoint=/bin/sh
Exec=-c "coolconfig generate-proof-key && /start-collabora-online.sh"
AddCapability=MKNOD
Environment=aliasgroup1=https://collaboration.xxx.com:443
Environment=DONT_GEN_SSL_CERT=YES
Environment=extra_params=--o:ssl.enable=false --o:ssl.ssl_verification=false --o:ssl.termination=true --o:welcome.enable=true --o:net.frame_ancestors=opencloud.xxx.com
Environment=username=admin
Environment=password=admin
[Install]
WantedBy=default.target collaboration.container[Unit]
Description= Conteneur OpenCloud
Requires=opencloud.container
Requires=collabora.container
After=collabora.container
[Container]
ContainerName=collaboration
Image=docker.io/opencloudeu/opencloud-rolling:latest
Network=opencloud.network
HostName=collaboration
PublishPort=9300:9300
Volume=%h/opencloud/config:/etc/opencloud
Entrypoint=/bin/sh
Exec=-c "opencloud collaboration server"
Environment=COLLABORATION_GRPC_ADDR=0.0.0.0:9301
Environment=COLLABORATION_HTTP_ADDR=0.0.0.0:9300
Environment=MICRO_REGISTRY=nats-js-kv
Environment=MICRO_REGISTRY_ADDRESS=opencloud:9233
Environment=COLLABORATION_WOPI_SRC=https://collaboration.xxx.com
Environment=COLLABORATION_APP_NAME=CollaboraOnline
Environment=COLLABORATION_APP_PRODUCT=Collabora
Environment=COLLABORATION_APP_ADDR=https://collabora.xxx.com
Environment=COLLABORATION_APP_ICON=https://collabora.xxx.com/favicon.ico
Environment=COLLABORATION_APP_INSECURE=false
Environment=COLLABORATION_CS3API_DATAGATEWAY_INSECURE=false
Environment=COLLABORATION_LOG_LEVEL=info
Environment=OC_URL=https://opencloud.xxx.com
[Install]
WantedBy=default.target All containers are on the same custom Podman network ( Steps to reproduce
ScreenshotIs there anything obvious I’ve done wrong? Or any step I may have skipped? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I have this working with podman rootless quadlets, so it can work:) I am not an expert though... One thing may be that you set --o:net.frame_ancestors=opencloud.xxx.com, while accessing it via sca-aal:9200. Does it also fail when you access it through opencloud.xxx.com? You could try (for testing, for a moment) to remove the frame ancestor setting and see if it works then. |
Beta Was this translation helpful? Give feedback.
See here: https://github.com/lrdecoder/opencloud-quadlets . I redacted the files and simplified them somewhat. For the rest, this is the setup that I am running. As I said I am not an expert, but I am happy with it so far. Hope it helps you find the problem!