From ee24567ef9f411f9baa30794f258a50add9600de Mon Sep 17 00:00:00 2001 From: trovier Date: Mon, 25 Mar 2024 14:35:29 +0100 Subject: [PATCH] Fixes as per testing --- .../DocsConnectDameng/DocsConnectDameng.ascx | 4 ++-- .../DocsConnectMsSQL/DocsConnectMsSQL.ascx | 2 +- .../DocsConnectOracle/DocsConnectOracle.ascx | 14 ++++++++++---- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/Web/Controls/Help/Server/Document/DocsConnectDameng/DocsConnectDameng.ascx b/Web/Controls/Help/Server/Document/DocsConnectDameng/DocsConnectDameng.ascx index b935e24b6..c21d99761 100644 --- a/Web/Controls/Help/Server/Document/DocsConnectDameng/DocsConnectDameng.ascx +++ b/Web/Controls/Help/Server/Document/DocsConnectDameng/DocsConnectDameng.ascx @@ -39,10 +39,10 @@
  • DB_TYPE: damengdb
  • DB_HOST: Name (dns name) of the database service in compose file
  • DB_USER: Username
  • -
  • DB_NAME
  • +
  • DB_NAME: Database name
  • DB_PORT: Service port with database
  • -

    Mount the binary directory from the damengdb container so that the document server container has access to the disql utility. Please refer to the docker-compose.yml to learn more.

    +

    Mount the binary directory from the damengdb container so that the document server container has access to the disql utility. Please refer to the docker-compose.yml to learn more.

    Running a stand

    To start the stand, execute the following commands:

      diff --git a/Web/Controls/Help/Server/Document/DocsConnectMsSQL/DocsConnectMsSQL.ascx b/Web/Controls/Help/Server/Document/DocsConnectMsSQL/DocsConnectMsSQL.ascx index 359000b4f..d1d6c8d7a 100644 --- a/Web/Controls/Help/Server/Document/DocsConnectMsSQL/DocsConnectMsSQL.ascx +++ b/Web/Controls/Help/Server/Document/DocsConnectMsSQL/DocsConnectMsSQL.ascx @@ -59,7 +59,7 @@ nano /etc/onlyoffice/documentserver/local.json "dbUser": "sa", "dbPass": "onlYoff1ce" ... -# supervisorctl restart all +supervisorctl restart all
    diff --git a/Web/Controls/Help/Server/Document/DocsConnectOracle/DocsConnectOracle.ascx b/Web/Controls/Help/Server/Document/DocsConnectOracle/DocsConnectOracle.ascx index 146e32cf4..f11187be6 100644 --- a/Web/Controls/Help/Server/Document/DocsConnectOracle/DocsConnectOracle.ascx +++ b/Web/Controls/Help/Server/Document/DocsConnectOracle/DocsConnectOracle.ascx @@ -28,18 +28,24 @@
  • Install Oracle on the same or a separate server: -
    docker run --name oracle -p 8080:1521 -p 8081:5500 \
    +            
    sudo docker run --name oracle -p 8080:1521 -p 8081:5500 \
    +
     -e ORACLE_PASSWORD=admin \
    +
     -e APP_USER=onlyoffice \
    +
     -e APP_USER_PASSWORD=onlyoffice \
    +
     -d gvenzl/oracle-xe:21-slim
     
  • Download a script for creating tables and copy it to the container; afterwards, create a database and run the script:
    wget https://github.com/ONLYOFFICE/server/raw/master/schema/oracle/createdb.sql
    -docker cp ./createdb.sql oracle:/
    -docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
    +
    +sudo docker cp ./createdb.sql oracle:/
    +
    +sudo docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
     
  • @@ -56,7 +62,7 @@ nano /etc/onlyoffice/documentserver/local.json "dbUser": "onlyoffice", "dbPass": "onlyoffice" ... - supervisorctl restart all +supervisorctl restart all