Articles with the tag:
Close
Changelog
Close
Help Center
Document Server for Docker

Running Document Server using Docker Compose

Document Serverv.4.1 Document Server changelog

Version 4.2.11

Release date: 03/13/2017

New features

Editors

  • Added the possibility to completely hide About and the left toolbar (available to the licensed users only).

Fixes

Back-end

  • Fixed the issue when the JWT token without the permissions field crashes downloadAs.

Version 4.2.10

Release date: 02/20/2017

Fixes

Embedded viewers

  • Fixed the default top position for the toolbar.

Licensing

  • Fixed the availability of the chat and comments buttons for the editors without the license file.

Back-end

  • Fixed the problem with JWT access tokens.

Version 4.2.9

Release date: 02/14/2017

New Features

Spreadsheet Editor

  • The Polish language translations for functions.

Fixes

Spreadsheet Editor

  • Fixed the wrong order of elements in equations (bug #34029).

Version 4.2.8

Release date: 02/06/2017

Fixes

Spreadsheet Editor

  • Fixed entering the characters with diacritical symbols (bug #33908)
  • Fixed the horizontal scroll when using a trackpad (bug #27197)

Plugins

  • Allowed the interface customization using the plugins.

Back-end

  • Minor fixes for logging and status codes.

Version 4.2.7

Release date: 02/01/2017

Fixes

All Editors

  • Prevent editors from performing the save operation if there are no changes to save.

Spreadsheet Editor

  • Fixed error occurring when assembling files with Ranges in some rare cases.

Document conversion

  • Fixed errors occurring when converting from the XLSX to the CSV format.

Back-end

  • Fixed server compilation if the PRODUCT_VERSION and BUILD_NUMBER variables are not defined.

Version 4.2.5

Release date: 01/16/2017

Fixes

All Editors

  • Fixed a rare problem occurring when saving a file with a specific chart type.

Presentation Editor

  • Fixed a problem occurring when saving a file with the notes copied from Document Editor;
  • Fixed a problem occurring when saving a file with a chart copied from Presentation Editor.

Back-end

  • Fixed a problem occurring when opened connection was not closed with close command received while performing some asynchronous actions.

Version 4.2.4

Release date: 01/09/2017

Fixes

Document Editor

  • Fixed the problem with the changes missing when several users enter the text at the same time (bug #33726)
  • Fixed the bug with the cursor positioning after the InsertContent function is used.

Spreadsheet Editor

  • Fixed the Match formula return value in some cases (bug #33735).

Back-end

  • Fixed the missing Asana-Math font in the default installation, needed for equations.

Version 4.2.3

Release date: 12/23/2016

Fixes

Spreadsheet Editor

  • Fixed the usage of functions with references to the other sheets.

Presentation Editor

  • Fixed the timeout error appearing while printing some PPTX files.

Document conversion

  • Fixed the problem with conversion to PDF format when only the first document page was converted.

Licensing

  • Without a valid license file the chat and comment buttons are unavailable, as well as editing the customer information and the logo image at the editor header is not allowed.

Version 4.2.2

Release date: 12/21/2016

Fixes

Presentation Editor

  • Fixed the problem with opening password-protected presentations.

Version 4.2.1

Release date: 12/06/2016

Fixes

Document Editor

  • Fixed the broken Insert number of page button;
  • Fixed the problem with the last hieroglyph duplicate;
  • Fixed the problem with changing the chart type from 2D to 3D (bug #33284).

Spreadsheet Editor

  • Fixed JavaScript error when adding a chart in IE and Edge (bug #33597);
  • Fixed the problem with an empty cell when changing sparklines (bug #33598).

x2t

  • Improved compatibility with the DOC format.

Version 4.2.0

Release date: 12/01/2016

New Features

All Editors

  • Added the possibility to set a dash type for shapes;
  • Redesigned the embedded viewers;
  • Better support of HiDPI systems;
  • Update bootstrap to version 3.3.7.

Document Editor

  • Added the possibility to set Fit to Page or Fit to Width as a default zoom value;
  • Ability to insert number of pages into the document;
  • Added the possibility to open and edit footnotes;
  • Remade version history. Added the possibility to hide minor features.

Spreadsheet Editor

  • Added the possibility to insert equations in Spreadsheet Editor;
  • Added the possibility to open and edit sparklines;
  • Added a new SUMIFS function;
  • Added the possibility to select data from the drop-down menu in the context menu;
  • Added a multiselection support;
  • Added the rotation of 3D charts;
  • Updated and improved the visual styles for all chart types;
  • Brought back the Freeze Panes option in the View Settings menu;
  • Added the new algorithm for calculating a cell height.

Presentation Editor

  • Added the possibility to set Fit to Width as a default zoom value;
  • Added the possibility to insert equations in Presentation Editor.

Back-end

  • Updated nodejs from version 4.2.0 to the current LTS release: 6.9.1.

Fixes

Spreadsheet Editor

x2t

Version 4.1.8

Release date: 11/03/2016

Fixes

License

  • Minor fix for a better license compatibility with the Hide Menu functionality.

Version 4.1.7

Release date: 11/01/2016

Fixes

Editors

  • Fixed a JavaScript error when opening a document in IE 9 and IE 10.

Version 4.1.6

Release date: 10/26/2016

New Features

Editors

  • Added the possibility to hide the menu bars in the editors using the config.

Version 4.1.5

Release date: 10/13/2016

Fixes

Editors

  • Fixed copy-paste on MacOS Sierra.

Plugins

  • Fixed the image load and OLE problems;
  • Viewers do not show plugins any more.

Version 4.1.4

Release date: 10/07/2016

Fixes

Back-end

  • ipfilter can use dns to lookup.

Version 4.1.3

Release date: 09/28/2016

New Features

Plugins

  • Sample plugins are enabled by default.

Version 4.1.2

Release date: 09/22/2016

New Features

Back-end

  • Switched to using PostgreSQL instead of MySQL on back-end;
  • Added the possibility to filter users using ipfilter.

Editors

  • Added whole new code handling text input. Better support for languages which use hieroglyphs;
  • Added whole new copy-paste which is better compatible with external sources.

Changes

  • Improvements in opening of all supported formats.

Fixes

  • A lot small bugfixes in all product modules.

Version 4.0.3

Release date: 08/04/2016

Changes

  • Added the possibility to use full-toolbar mode in the editors with a standard license. Previously the users of standard license were forced to use compact toolbar only.

Version 4.0.2

Release date: 08/03/2016

Fixes

Spreadsheet Editor

  • Fixed losing comments on second and subsequent worksheets (bug #32895);
  • Fixed losing empty values of data with format different from General in the autofilter (bug #32805).

document-server-integration

  • Minor fixes.

Introduction

Docker Compose allows you to:

  • run Document Server and all the necessary infrastructure in a distributed manner;
    This instruction describes how to use the Docker Compose tool on a single computer. To run containers in a distributed manner on several hosts please refer to the Docker Swarm documentation.
  • flexibly scale Document Server performance;
  • provide fault-tolerance and high availability of the application.

This guide will show you how to install Document Server to your machine using Docker Compose.

System requirements

  • CPU
    dual-core 2 GHz or better
  • RAM
    4 GB or more
  • HDD
    at least 2 GB of free space
  • Additional Requirements
    at least 2 GB of swap
  • OS
    amd64 Linux distribution with kernel version 3.10 or later
  • Additional Requirements
    • Docker: version 1.10 or later

Installing Docker Compose

Install docker-compose following the instructions that can be found here.

Getting the docker-compose.yaml file

Execute the following command:

wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-DocumentServer/master/docker-compose.yml

Starting and using Document Server

To start Document Server execute the following command:

sudo docker-compose up -d

To scale Document Server execute the following command:

sudo docker-compose scale onlyoffice-documentserver=<container_number>

where container_number is a number of the Document Server containers running concurrently.

To stop Document Server use the following command:

sudo docker-compose down

Configuring Document Server

Using custom fonts

Mount the fonts folder from your local machine to the fonts folder within the onlyoffice-documentserver-data container. To do that:

  1. open the docker-compose.yml file,
  2. find the services -> onlyoffice-documentserver-data -> volumes section,
  3. replace the - /usr/share/fonts string with the following one:
     - /your_local_fonts_folder:/usr/share/fonts
    

Setting up HTTPS

To use the HTTPS protocol you need to uncomment the following strings in the docker-compose.yml file:

- FORCE_SSL=true
- CERT_FOLDER=/certs/
- /app/onlyoffice/DocumentServer/data/certs/onlyoffice.pem:/certs/cert1.pem

Create the /app/onlyoffice/DocumentServer/data/certs/onlyoffice.pem file that contains a certificate and a private key.

When using CA certified certificates, the Private key (.key) and SSL certificate (.crt) are provided to you by the CA. When using self-signed certificates you need to generate these files yourself. Skip steps 1-3 in the following section if you have CA certified SSL certificates.

Generation of self signed certificates

Generation of self-signed SSL certificates involves a simple 3 step procedure

STEP 1: Create the server private key
openssl genrsa -out onlyoffice.key 2048
STEP 2: Create the certificate signing request (CSR)
openssl req -new -key onlyoffice.key -out onlyoffice.csr
STEP 3: Sign the certificate using the private key and CSR
openssl x509 -req -days 365 -in onlyoffice.csr -signkey onlyoffice.key -out onlyoffice.crt
STEP 4: Merge both the files
cp onlyoffice.crt onlyoffice.pem
cat onlyoffice.key >> onlyoffice.pem
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
You Might Also Like This:
Close