Step 1: Creating database backup
To avoid the loss of data perform the backup of the following folders:
c:\Program Files\Ascensio System SIA\ONLYOFFICE\Data\
(or use the path where you have your 7.7 version installed)
c:\Program Files\Ascensio System SIA\ONLYOFFICE\WebStudio\
(or use the path where you have your 7.7 version installed)
Backup MySQL database using any available software you have for such purposes.
After all the data is backed up, please check the portal for correct launch and remember some user data to be able to check it after the upgrade.
Step 2: Updating software version
Download version 8.1 here:
http://sourceforge.net/projects/teamlab/files/ONLYOFFICE_CommunityServer/v8.1/
Install version 8.1 over version 7.7 with the same database name.
If you changed the database name during the initial portals installation, you will need to use your own database name.
Download and run this script to ensure the portal correct work
Alter your web.appsettings.config
file, adding the following parameters:
<?xml version="1.0" encoding="utf-8"?>
<appSettings>
<add key="files.docservice.viewed-docs" value=".pptx|.ppsx|.pptt|.ppt|.pps|.odp|.gslides|.xlsx|.xlst|.xls|.ods|.gsheet|.csv|.docx|.doct|.doc|.odt|.gdoc|.txt|.rtf|.mht|.html|.htm|.fb2|.epub|.pdf|.djvu|.xps" />
<add key="files.docservice.edited-docs" value=".pptx|.ppsx|.pptt|.ppt|.pps|.odp|.xlsx|.xlst|.xls|.ods|.csv|.docx|.doct|.doc|.odt|.txt|.rtf|.mht|.html|.htm|.fb2|.epub" />
<add key="files.docservice.convert-docs" value=".ppt|.pps|.odp|.xls|.ods|.doc|.odt|.rtf|.mht|.html|.htm" />
<add key="files.docservice.coauthor-docs" value=".pptx|.pptt|.xlsx|.xlst|.docx|.doct" />
<add key="files.docservice.url.converter" value="http://documentserver/ConvertService.ashx" />
<add key="files.docservice.url.api" value="http://documentserver/OfficeWeb/apps/api/documents/api.js" />
<add key="files.docservice.url.apinew" value="http://documentserver/OfficeWeb/apps/api/documents/api.js" />
<add key="files.docservice.url.preloader" value="http://documentserver/OfficeWeb/apps/api/documents/cache-scripts.html" />
<add key="files.docservice.url.storage" value="http://documentserver/FileUploader.ashx" />
<add key="files.docservice.url.portal" value="http://communityserver/" />
<add key="files.docservice.url.command" value="http://documentserver/coauthoring/CommandService.ashx" />
</appSettings>
Be sure to change documentserver
and communityserver
to the actual computer network addresses corresponding to ONLYOFFICE Docs and ONLYOFFICE Community Server accordingly.
Once the installation is over please launch the portal and check it for correct work and all data presence.