ONLYOFFICE / Docker-CommunityServer

Collaborative system for managing documents, projects, customer relations and emails in one place
MIT License
478 stars 178 forks source link

docker-compose stack install failure #46

Open GarethFox opened 6 years ago

GarethFox commented 6 years ago

Hi everyone,

I wanted to give a try to onlyoffice using docker-compose to see quickly its features as I was unable to create a 30 days trial session on a remote cloud instance. I first tried with a custom docker-compose.yml file with my own naming/infos. I faced an error while building the stack so I tried to reuse the example file given in this repo, but I end up with the same error. Does someone succeed to have a functional environment using docker-compose method?

Error while building the stack: docker-compose up -d

Creating volume "compose_mail_data" with default driver
Creating volume "compose_mail_certs" with default driver
Creating volume "compose_mail_log" with default driver
Creating volume "compose_document_data" with default driver
Creating volume "compose_document_log" with default driver
Creating volume "compose_document_forgotten" with default driver
Creating volume "compose_community_data" with default driver
Creating volume "compose_community_log" with default driver
Creating volume "compose_mysql_data" with default driver
Creating onlyoffice-mysql-server    ... error
Creating onlyoffice-document-server ...

ERROR: for onlyoffice-mysql-server  Cannot start service onlyoffice-mysql-server: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caCreating onlyoffice-document-server ... error

ERROR: for onlyoffice-document-server  Cannot start service onlyoffice-document-server: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"could not create session key: function not implemented\"": unknown

ERROR: for onlyoffice-mysql-server  Cannot start service onlyoffice-mysql-server: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"could not create session key: function not implemented\"": unknown

ERROR: for onlyoffice-document-server  Cannot start service onlyoffice-document-server: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"could not create session key: function not implemented\"": unknown
ERROR: Encountered errors while bringing up the project.

lsb_release -a

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.4 (stretch)
Release:        9.4
Codename:       stretch

docker version

Client:
 Version:      18.03.1-ce
 API version:  1.37
 Go version:   go1.9.5
 Git commit:   9ee9f40
 Built:        Thu Apr 26 07:17:14 2018
 OS/Arch:      linux/amd64
 Experimental: false
 Orchestrator: swarm

Server:
 Engine:
  Version:      18.03.1-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.5
  Git commit:   9ee9f40
  Built:        Thu Apr 26 07:15:24 2018
  OS/Arch:      linux/amd64
  Experimental: false

docker-compose version

docker-compose version 1.21.2, build a133471
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t  3 May 2016
GarethFox commented 6 years ago

Having the same issue using the custom install script method relying on docker. I am trying to install onlyoffice over an LXC container hosted on a Proxmox Virtual Environmen system.

uname -r 4.15.17-1-pve

Can the errors I have be due to my setup and be avoid passing by a pure VM instead of an LXC ?

ibnpetr commented 6 years ago

Hello

Can the errors I have be due to my setup and be avoid passing by a pure VM instead of an LXC ?

Please try using the example from our repo (and your custom script) on a pure VM We weren't able to reproduce the issue (but we didn't make any tests running docker on LXC containers)