Articles with the tag:
Close
Changelog
Close
Help Center
Community Server for Linux
  • All
  • Usage issues
  • CentOS issues
  • Ubuntu issues

Usage issues

Q:I need to backup my portal data. How can I do that?

A:First create a data backup manually by copying your data from the following directory:

  • /var/www/onlyoffice/Data

Then backup your SQL database using the following command:

mysqldump -h localhost -u [uname] -p[pass] [db_to_backup] > [backupfile.sql]

This SQL backup can be restored later using the command:

mysql -u [uname] -p[pass] [db_to_restore] < [backupfile.sql]

CentOS issues

Q:I cannot use full text search with Community Server under CentOS. How can set it up?

A:The full text search will be installed automatically when you run the configure.sh script.

Q:After installing Community Server on CentOS 7 minimal I try to open it in a browser and get the following error: 502 Bad Gateway. How can I resolve this issue?

A:SELinux is enabled on Centos 7 minimal by default. That can be verified using the sestatus command. SELinux blocks nginx access to the onlyoffice socket.

You can solve this issue in one of the following ways:

  1. Add exceptions for nginx to SELinux.
    yum install -y policycoreutils-{python,devel}
    
    grep nginx /var/log/audit/audit.log | audit2allow -M nginx
    
    semodule -i nginx.pp
    
  2. Disable SELinux.
    1. Open the /etc/sysconfig/selinux file using any text editor.
    2. Set the SELINUX value to SELINUX=disabled and save the changes.
    3. Reboot your server for the changes to take effect.

Ubuntu issues

Q:I cannot use full text search with Community Server under Ubuntu. How can set it up?

A:To set up full text search in Community Server under Ubuntu you will need to do the following:

  1. Install the latest version of sphinx. Read more details here on how to do that.
  2. Stop the sphinxsearch service using the following command:
    sudo service sphinxsearch stop
    
  3. Restart the onlyofficeIndex service:
    sudo service onlyofficeIndex restart
    

Automatic installation is not supported for Ubuntu due to the installator security restrictions.

Q:Talk does not work with 5222 port. How can I change it to another port?

A:To change port for Talk in Community Server under Ubuntu you will need to do the following:

  1. Locate the /var/www/onlyoffice/Services/Jabber/TeamLabSvc.exe.Config file and open it using a text editor.
  2. Change the bindPort string value of 5222 to another one:
    <property name="bindPort" value="5223" />
  3. Restart the onlyofficeJabber service:
    sudo service onlyofficeJabber restart
    

Download Host on your own server Available for Docker,
Windows, Linux and virtual machines
You Might Also Like This:
Close