This command works,
sudo docker run -i -t -d -p 8888:443 \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice onlyoffice/documentserver
but files version, activities, time stamp not modified.
Error log for file conversion (doc -> docx):
Error onlyoffice Failed download converted file: https://myNCdomain.com:8888/cache/files/conv_23475841495696955_xlsx/output.xlsx/output.xlsx?md5=PiF0FEgrsZNmm1r_vSWwUw==&expires=1498292517&disposition=attachment&ooname=output.xlsx 2 minutes ago
Error PHP file_get_contents(https://myNCdomain.com:8888/cache/files/conv_23475841495696955_xlsx/output.xlsx/output.xlsx?md5=PiF0FEgrsZNmm1r_vSWwUw==&expires=1498292517&disposition=attachment&ooname=output.xlsx): failed to open stream: operation failed at /var/www/nextcloud/apps/onlyoffice/controller/editorcontroller.php#267 2 minutes ago
Error PHP file_get_contents(): Failed to enable crypto at /var/www/nextcloud/apps/onlyoffice/controller/editorcontroller.php#267 2 minutes ago
Error PHP file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed at /var/www/nextcloud/apps/onlyoffice/controller/editorcontroller.php#267 2 minutes ago
When I start Onlyoffice with this parameters
sudo docker run -i -t -d -p 8888:443 \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/cache:/var/lib/onlyoffice/documentserver/App_Data/cache/files onlyoffice/documentserver
I get this error log:
Error onlyoffice GetConvertedUri: 2347584 Error occurred in the document service: Conversion error 5 minutes ago
Documented here: http://helpcenter.onlyoffice.com/server/docker/document/docker-installation.aspx
This document requires also a mount point for libs: https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/README.md#storing-data
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice
Where are all the mount options for docker described?