Hi everyone,
I followed this documentation to install Seafile with Onlyoffice in Docker:
- Seafile Community Installation - Seafile Admin Manual
- OnlyOffice Integration - Seafile Admin Manual
This server is exposed through Cloudflare tunnel, and the docker-compose.yaml is:
services:
db:
image: mariadb:10.11
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=? # Requested, set the root's password of MySQL service.
- MYSQL_LOG_CONSOLE=true
- MARIADB_AUTO_UPGRADE=1
volumes:
- /opt/seafile-mysql/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
networks:
- seafile-net
memcached:
image: memcached:1.6.18
container_name: seafile-memcached
entrypoint: memcached -m 256
networks:
- seafile-net
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
ports:
- "8011:80"
volumes:
- /opt/seafile-data:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=? # Requested, the value should be root's password of MySQL service.
- TIME_ZONE=Europe/Madrid # Optional, default is UTC. Should be uncomment and set to your local time zone.
- SEAFILE_ADMIN_EMAIL=?# Specifies Seafile admin user, default is 'me@example.com'.
- SEAFILE_ADMIN_PASSWORD=? # Specifies Seafile admin password, default is 'asecret'.
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
depends_on:
- db
- memcached
networks:
- seafile-net
oods:
image: onlyoffice/documentserver:latest
container_name: seafile-oods
networks:
- seafile-net
environment:
- JWT_ENABLED=true
- JWT_SECRET=?
networks:
seafile-net:
The problem comes when randomly without a pattern, there are some users that are experiencing the following error when trying to edit a file with Onlyoffice:
Translated:
You do not have permissions to perform the action you are trying to do.
Please contact the document server administrator.
The error appears at the moment that the user types anything.
I have the following logs from the onlyoffice docker container:
==> /var/log/onlyoffice/documentserver/docservice/out.log <==
[2024-08-28T12:16:00.639] [WARN] [localhost] [231d9679f6c8f8a4e7aa] [05971ce5e9ea45bc9561c71fd1d8c184@auth.local11] nodeJS - conn.user.view||isCloseCoAuthoring access deny: type = getLock
[2024-08-28T12:16:08.784] [WARN] [localhost] [231d9679f6c8f8a4e7aa] [05971ce5e9ea45bc9561c71fd1d8c184@auth.local12] nodeJS - conn.user.view||isCloseCoAuthoring access deny: type = getLock
[2024-08-28T12:16:17.653] [WARN] [localhost] [231d9679f6c8f8a4e7aa] [05971ce5e9ea45bc9561c71fd1d8c184@auth.local13] nodeJS - conn.user.view||isCloseCoAuthoring access deny: type = getLock
[2024-08-28T12:18:26.487] [WARN] [localhost] [231d9679f6c8f8a4e7aa] [05971ce5e9ea45bc9561c71fd1d8c184@auth.local] nodeJS - UpdateVersion expired
Thanks in advance!