Articles avec le tag :
Fermer
Changelog
Fermer
Essayer dans le cloud
Centre d'aide
ONLYOFFICE Docs Developer Edition

Updating ONLYOFFICE Docs Developer Edition for Docker to the latest version

ONLYOFFICE Docsv4.1 - ONLYOFFICE Docsv6.4 ONLYOFFICE Docs changelog

Version 6.4.1

Release date: 09/28/2021

Version 6.4.0

Release date: 08/26/2021

Version 6.3.2

Release date: 08/10/2021

Version 6.3.1

Release date: 06/08/2021

Version 6.3.0

Release date: 05/20/2021

Version 6.2.2

Release date: 04/19/2021

Version 6.2.1

Release date: 03/31/2021

Version 6.2.0

Release date: 03/01/2021

Version 6.1.1

Release date: 01/28/2021

Version 6.1.0

Release date: 12/02/2020

Version 6.0.2

Release date: 11/12/2020

Version 6.0.1

Release date: 10/28/2020

Version 6.0.0

Release date: 10/14/2020

Version 5.6.5

Release date: 09/21/2020

Version 5.6.4

Release date: 09/08/2020

Version 5.6.3

Release date: 08/17/2020

Version 5.6.2

Release date: 08/07/2020

Version 5.6.1

Release date: 08/05/2020

Version 5.6.0

Release date: 07/29/2020

Version 5.5.3

Release date: 05/22/2020

Version 5.5.1

Release date: 04/09/2020

Version 5.5.0

Release date: 03/05/2020

Version 5.4.2

Release date: 11/27/2019

Version 5.4.1

Release date: 10/02/2019

Version 5.4.0

Release date: 09/03/2019

Version 5.3.4

Release date: 07/16/2019

Version 5.3.2

Release date: 06/24/2019

Version 5.3.1

Release date: 06/06/2019

Version 5.3.0

Release date: 05/28/2019

Version 5.2.8

Release date: 02/05/2019

Version 5.2.7

Release date: 01/16/2019

Version 5.2.6

Release date: 12/25/2018

Version 5.2.4

Release date: 12/12/2018

Version 5.2.3

Release date: 10/31/2018

Version 5.2.2

Release date: 10/05/2018

Version 5.2.0

Release date: 09/28/2018

Version 5.1.5

Release date: 07/18/2018

Version 5.1.4

Release date: 05/24/2018

Version 5.1.3

Release date: 04/27/2018

Version 5.1.2

Release date: 04/11/2018

Version 5.1.1

Release date: 04/05/2018

Version 5.1.0

Release date: 03/28/2018

Version 5.0.7

Release date: 01/16/2018

Version 5.0.6

Release date: 12/11/2017

Version 5.0.5

Release date: 11/28/2017

Version 5.0.4

Release date: 11/14/2017

Version 5.0.3

Release date: 11/02/2017

Version 5.0.2 SaaS only

Release date: 10/13/2017

Version 5.0.1 SaaS only

Release date: 10/05/2017

Version 5.0.0 SaaS only

Release date: 09/23/2017

Version 4.4.4

Release date: 09/13/2017

Windows-only release

See changelog on GitHub

Version 4.4.3

Release date: 08/14/2017

Version 4.4.2

Release date: 07/24/2017

Version 4.4.1

Release date: 07/05/2017

Version 4.3.6

Release date: 06/14/2017

Version 4.3.5

Release date: 06/05/2017

Version 4.3.4

Release date: 05/16/2017

Version 4.3.3

Release date: 04/28/2017

Version 4.3.2

Release date: 04/17/2017

Version 4.3.1

Release date: 04/06/2017

Version 4.3.0

Release date: 04/03/2017

Version 4.2.11

Release date: 03/13/2017

Version 4.2.10

Release date: 02/20/2017

Version 4.2.9

Release date: 02/14/2017

Version 4.2.8

Release date: 02/06/2017

Version 4.2.7

Release date: 02/01/2017

Version 4.2.5

Release date: 01/16/2017

Version 4.2.4

Release date: 01/09/2017

Version 4.2.3

Release date: 12/23/2016

Version 4.2.2

Release date: 12/21/2016

Version 4.2.1

Release date: 12/06/2016

Version 4.2.0

Release date: 12/01/2016

Version 4.1.8

Release date: 11/03/2016

Version 4.1.7

Release date: 11/01/2016

Version 4.1.6

Release date: 10/26/2016

Version 4.1.5

Release date: 10/13/2016

Version 4.1.4

Release date: 10/07/2016

Version 4.1.3

Release date: 09/28/2016

Version 4.1.2

Release date: 09/22/2016

Version 4.0.3

Release date: 08/04/2016

Version 4.0.2

Release date: 08/03/2016

Introduction

This guide will show you how to update your ONLYOFFICE Docs Developer Edition Docker version to the latest version.

Shutting down ONLYOFFICE Docs

Due to the operational characteristic, ONLYOFFICE Docs saves a document only after the document has been closed by all the users who edited it. To avoid data loss, you must forcefully disconnect the ONLYOFFICE Docs users when you need to stop ONLYOFFICE Docs in case of the application update. To do that, execute the following script:

sudo docker exec {{DOCUMENT_SERVER_ID}} documentserver-prepare4shutdown.sh

where {{DOCUMENT_SERVER_ID}} stands for the ONLYOFFICE Docs container name or ID.

You can easily find out the current ONLYOFFICE Docs container name or ID using the Docker command which will list all the existing containers:

sudo docker ps -a
Executing the script may take a long time (up to 5 minutes).
Disconnecting users may take a long time (up to 5 minutes).

Updating ONLYOFFICE Docs for Docker

Step 1: Check if all the external data storage folders are mounted

Make sure that all the container volumes used to store ONLYOFFICE Docs data are mounted using the following command:

sudo docker inspect --format='{{range $p,$conf:=.HostConfig.Binds}}{{$conf}};{{end}}' {{DOCUMENT_SERVER_ID}}
Step 2: Stop the current ONLYOFFICE Docs Docker container.
sudo docker stop {{DOCUMENT_SERVER_ID}}
Step 3: Download the latest ONLYOFFICE Docs image

Download the latest ONLYOFFICE Docs image specifying the latest tag:

docker pull onlyoffice/documentserver:latest
docker pull onlyoffice/documentserver-ee:latest
docker pull onlyoffice/documentserver-de:latest
Step 4: Run the new image with the same map paths
sudo docker run -i -t -d -p 80:80 --restart=always \
    -v /host_folder:/volume \
    -v /host_folder:/volume onlyoffice/documentserver
sudo docker run -i -t -d -p 80:80 --restart=always \
    -v /host_folder:/volume \
    -v /host_folder:/volume onlyoffice/documentserver-ee
sudo docker run -i -t -d -p 80:80 --restart=always \
    -v /host_folder:/volume \
    -v /host_folder:/volume onlyoffice/documentserver-de

Make sure that you run the new image with the folder paths mapped exactly as they had been mounted for the previous version, otherwise the data stored in these folders will not be picked up automatically. To do that, specify the -v option arguments replacing the /host_folder:/volume values with the actual paths as they were shown in Step 1.

If you've installed the previous version using a different port or HTTPS and want to install the new version in the same way, please refer to the installation instruction installation instruction installation instruction to find the necessary commands.

Once the installation process is over, run ONLYOFFICE Docs and check it for correct work.

Step 5 (Optional): Remove old ONLYOFFICE Docs container and image

After you make sure that everything is ok and your updated ONLYOFFICE Docs version works correctly, you can remove an old ONLYOFFICE Docs container:

sudo docker rm {{OLD_DOCUMENT_SERVER_CONTAINER_ID}}

where {{OLD_DOCUMENT_SERVER_CONTAINER_ID}} stands for the OLD ONLYOFFICE Docs container name or ID.

If you want to free up space, you can also remove an old image. Display all docker images:

sudo docker images -a

Find the unnecessary image ID in the image list and remove the image:

sudo docker rmi {{OLD_DOCUMENT_SERVER_IMAGE_ID}}
The database schema has been changed in v6.3. When updating to v6.3 (if you use the Docker version of ONLYOFFICE Docs with an external database), you may also need to upgrade the database schema to ensure the ability to use the password protection feature.
  1. Download the script for upgrading the database schema.
  2. Execute the script using the command line.
    • For PostgreSQL: psql -U onlyoffice -W onlyoffice < {path-to-upgradev630.sql}
    • For MySQL: mysql -u root -p onlyoffice < {path-to-upgradev630.sql}

    Specify the password used when creating the database (onlyoffice).

Download Host on your own server Available for
Docker, Windows and Linux
Cela peut vous aider aussi :
Fermer