Try the fastest and simplest way to install ONLYOFFICE

[SOLVED] - Unknow error : when editing or create document

Questions/problems on Docker

[SOLVED] - Unknow error : when editing or create document

Postby Issa » Fri Oct 13, 2017 7:13 am

Hello there,

Hello,
i m on a frech install using docker on ubuntu 16.04.

using this how to --> https://www.linuxbabe.com/linux-server/ ... untu-16-04

my probleme is when i try to create a document i have this error :

erreur_only_office.jpg
erreur_only_office.jpg (55.93 KiB) Viewed 78 times



can u please helpe me to found how debug this probleme

thanks
Last edited by Issa on Mon Oct 16, 2017 8:33 am, edited 1 time in total.
Issa
 
Posts: 3
Joined: Fri Oct 13, 2017 7:09 am

Re: Unknow error : when editing or create document

Postby Maxim » Fri Oct 13, 2017 7:27 am

Hello!
Please use our instruction to install Onlyoffice for Docker using provided script - Community Edition or Enterprise Edition.
Maxim
 
Posts: 1077
Joined: Tue Oct 11, 2016 2:34 pm

Re: Unknow error : when editing or create document

Postby Issa » Fri Oct 13, 2017 7:28 am

about my installation :
this my container :

Code: Select all
onlyOffice@srv-linux-01:~$ sudo docker ps
[sudo] password for onlyOffice:
CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                                                                                                    NAMES
797d3ddb8641        onlyoffice/communityserver   "/usr/bin/dumb-ini..."   25 hours ago        Up 18 hours         443/tcp, 3306/tcp, 5280/tcp, 9865-9866/tcp, 9871/tcp, 9882/tcp, 9888/tcp, 0.0.0.0:5222->5222/tcp, 0.0.0.0:8080->80/tcp   onlyoffice-community-server
eb4fcf3c20ea        onlyoffice/mailserver        "/bin/sh -c 'expor..."   2 days ago          Up 18 hours         0.0.0.0:25->25/tcp, 0.0.0.0:143->143/tcp, 3306/tcp, 0.0.0.0:587->587/tcp, 8081/tcp                                       onlyoffice-mail-server
057848c2e769        onlyoffice/documentserver    "/bin/sh -c 'bash ..."   2 days ago          Up 18 hours         80/tcp, 443/tcp                                                                                                          onlyoffice-document-server
onlyOffice@srv-linux-01:~$


this is my nginx :


Code: Select all
server {
        listen 80;
        server_name oo.myDomaine.com;
        return 301 https://$server_name$request_uri;
}

server {
        listen 443 ssl http2;
        server_name oo.myDomaine.com;

       ssl                  on;
       ssl_certificate      /etc/ssl/oo.myDomaine.com/oo.myDomaine.com.crt;
       ssl_certificate_key  /etc/ssl/oo.myDomaine.com/oo.myDomainee.com.key;

        ssl_session_timeout 1d;
        ssl_session_cache shared:SSL:10m;
        ssl_session_tickets off;
        ssl_protocols TLSv1.1 TLSv1.2;


        error_log /var/log/nginx/onlyoffice.error;
        access_log /var/log/nginx/onlyoffice.access;

        location / {
                proxy_pass http://127.0.0.1:8080;
        }

}



Issa
 
Posts: 3
Joined: Fri Oct 13, 2017 7:09 am

Re: Unknow error : when editing or create document

Postby Issa » Mon Oct 16, 2017 8:32 am

Hello my problem is solved with this step :


Hello,

so i do this simple task :

1> Install frech ubuntu server 16.04 LTS
2> Install OnlyOffice with script :
- wget http://download.onlyoffice.com/install/ ... install.sh
- bash opensource-install.sh -md "yourdomain.com"
3> Create my own ssl certificate :
- domaine=oo.mydmoine.com
- cd /etc/ssl
- mkdir $domaine
- cd $domaine
- openssl genrsa -out $domaine.key 2048
- openssl req -new -key $domaine.key -out $domaine.csr
- openssl x509 -req -days 365 -in $domaine.csr -signkey $domaine.key -out $domaine.crt
4> Copy certificat files on docker onlyOffice :
- cp /etc/ssl/$domaine.key ./app/onlyoffice/CommunityServer/data/certs/onlyoffice.key
- cp /etc/ssl/$domaine.crt /app/onlyoffice/CommunityServer/data/certs/onlyoffice.crt

5> restart docker community
- found docker id with
- docker ps
- restart the cdocker community :
- docker restart b510353c2b25

6> go to web access https://yourdomain.com
and works

thanks !!!!
Issa
 
Posts: 3
Joined: Fri Oct 13, 2017 7:09 am

Re: [SOLVED] - Unknow error : when editing or create documen

Postby Maxim » Tue Oct 17, 2017 7:45 am

Hello Issa!
:D
Maxim
 
Posts: 1077
Joined: Tue Oct 11, 2016 2:34 pm


Return to Docker Version

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron