Open Derkades opened 3 years ago
running into the same problem. fresh install of nextcloud 21 using docker. only additional installed apps (using the nextcloud-UI):
i used the template from the nextcloud-docker-example you should be able to reproduce the error using this docker-compose.yml and installing the whiteboard-integration after startup.
version: '3'
services:
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- ./volumes/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD='MYSQL_ROOT_PW'
- MYSQL_PASSWORD='MYSQL_PW'
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
nextcloud:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- db
volumes:
- ./volumes/nextcloud:/var/www/html
environment:
- MYSQL_PASSWORD='MYSQL_PW'
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
changes in my environment:
i use traefik as reverse-proxy, redirect http to https and use letsencrypt.
so in my config i removed the ports section an add the following lables for traefik (the domain-name is a environment set outside of the docker-compose.yml)
labels:
- traefik.enable=true
- traefik.http.routers.nextcloud.rule=Host(`$NEXTCLOUD_DOMAINNAME`)
- traefik.http.routers.nextcloud.tls.certresolver=le
- traefik.http.services.nextcloud.loadbalancer.server.port=80
created by https://\<my-nextcloud.example.com>/ocs/v2.php/apps/serverinfo/api/v1/info?format=json info.json.log
just a guess (as i am no php-developer, and i also do NOT plan to become one):
SpacedeckAPIService.php:398 should be modified as followed?:
398c398
< if (!in_array($wbFile->getId())) {
---
> if (!in_array($wbFile->getId(), $fileIds)) {
Unfortunately I don't have reproduction steps for this, hopefully just the error trace is enough.