Unknown resource: //hosting/discovery

Hey,

there are are multiple topics about this, but somehow I still can’t get it to work. When i want to open a file I get “permission denied”. So I checked the logs:

Error:

ERR Unknown resource: //hosting/discovery| wsd/LOOLWSD.cpp:1223

docker-compose (without nginx proxy):

version: ‘2’

services:

nextcloud:
container_name: nextcloud
image: wonderfall/nextcloud
links:
- nextcloud-db
environment:
- UID=1000
- GID=1000
- UPLOAD_MAX_SIZE=10G
- APC_SHM_SIZE=128M
- OPCACHE_MEM_SIZE=128
- CRON_PERIOD=15m
- TZ=Europe/Berlin
- ADMIN_USER=kwerulant
- ADMIN_PASSWORD=*********
- DB_TYPE=mysql
- DB_NAME=nextcloud
- DB_USER=nextcloud
- DB_PASSWORD=xxxxxxxx
- DB_HOST=nextcloud-db
- VIRTUAL_HOST=cloud.xxxxx.me
- VIRTUAL_NETWORK=proxy-ssl
- VIRTUAL_PORT=8888
- LETSENCRYPT_HOST=cloud.xxxxx.me
- LETSENCRYPT_EMAIL=xxxxx@gmx.de
volumes:
- /srv/docker/nextcloud/data:/data
- /srv/docker/nextcloud/config:/config
- /srv/docker/nextcloud/apps:/apps2
networks:
- front
- back

nextcloud-db:
container_name: nextcloud-db
image: mariadb:10
volumes:
- /srv/docker/nextcloud/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=********
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=*********
networks:
- back

collabora:
image: collabora/code
expose:
- 9980
cap_add:
- MKNOD
environment:
- domain=cloud.xxxxxx.me
- VIRTUAL_HOST=office.xxxxxx.me
- VIRTUAL_NETWORK=proxy-ssl
- VIRTUAL_PORT=9980
- VIRTUAL_PROTO=https
- LETSENCRYPT_HOST=office.xxxxxx.me
- LETSENCRYPT_EMAIL=xxxxx@gmx.de
networks:
- front

networks:
front:
external:
name: proxy-ssl
back:

Nexcloud-Collabora Settings are set to: office.xxxxxx.me
https://office.xxxxxx.me returns OK
https://office.xxxx.me/hosting/discovery returns a valid XML

docker info:

Containers: 5
Running: 2
Paused: 0
Stopped: 3
Images: 6
Server Version: 1.13.1
Storage Driver: devicemapper
Pool Name: docker-253:1-786365-pool
Pool Blocksize: 65.54 kB
Base Device Size: 10.74 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 3.005 GB
Data Space Total: 107.4 GB
Data Space Available: 20.77 GB
Metadata Space Used: 4.022 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.143 GB
Thin Pool Minimum Free Space: 10.74 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
WARNING: Usage of loopback devices is strongly discouraged for production use. Use --storage-opt dm.thinpooldev to specify a custom block storage device.
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.110 (2015-10-30)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1
runc version: 9df8b306d01f59d3a8029be411de015b7304dd8f
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-62-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 992.4 MiB
Name: docker-1gb-fra1-01
ID: FC5P:IGXF:FOQN:TVIX:2JDE:2Z3S:7Z5V:S6TS:AWLL:MKUY:FIEN:JEDF
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: xxx://index.docker.io/v1/ (max 2 urls limit)
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

1 Like

Oh that’s stupid.

I had to change the Collabora-URL:

From: https://office.xxxx.me/
To: https://office.xxxx.me

The last “/” was my mistake. This should be definitely checked by nextcloud.

3 Likes