Try the fastest and simplest way to install ONLYOFFICE

DocumentServer not working (22 bytes after save)

Suggestions on Document Server Installation/Functionality

DocumentServer not working (22 bytes after save)

Postby owlboy » Tue Jun 21, 2016 8:48 pm

Hello!

After fresh install on CentOS7 (commands):
Code: Select all
yum install -y epel-release
yum install -y nano wget htop
yum update
yum install docker
systemctl stop postfix
yum remove postfix
service docker start
docker run -i -t -d  --name onlyoffice-document-server onlyoffice/documentserver
docker run --privileged -i -t -d --name onlyoffice-mail-server -p 25:25 -p 143:143 -p 587:587 -h yourdomain.com onlyoffice/mailserver
docker run -i -t -d -p 80:80 -p 5222:5222 -p 443:443 --link onlyoffice-mail-server:mail_server --link onlyoffice-document-server:document_server onlyoffice/communityserver


After setting up portal (password and mail) if we create any type doc (spreadsheet, for example), edit (add some text) after we save and close the document it becomes only "22 bytes". If we open file it shows error "Conversion failed";

How to test:
1. Fresh CentOS7 (commands above)
2. Setup portal (user, mail)
3. Edit or create a new document, save at exit (ctrl+s / cmd+s)
4. After one minute in list of files we have size "22 bytes".


Server params: 16 CPU @2.66 / 24Gb ram
owlboy
 
Posts: 1
Joined: Tue Jun 21, 2016 8:31 pm

Re: DocumentServer not working (22 bytes after save)

Postby maumar » Wed Jun 29, 2016 12:28 pm

RedHat and CentOS 7 uses xfs as default filesystem type.

I've noticed some binary elements of OnlyOffice doesn't supports this filesystem type.

I've had the same problem in my CentOS and I've solved using ext4 for my partitions. In my case I'm not using docker but installing the software directly inside the vm.

If you don't want to redo the machine, you can try to add a new disk with a new partition in ext4 and put docker elements inside it.
maumar
 
Posts: 7
Joined: Sun Oct 18, 2015 10:44 am


Return to Document Server

Who is online

Users browsing this forum: No registered users and 1 guest

cron