38.8 OnlyOffice Deployment (with PostgreSQL)
Installing Nextcloud and Nginx
Installing OnlyOffice
# pkg install onlyoffice-documentserver# cd /usr/ports/www/onlyoffice-documentserver/
# make install cleanViewing OnlyOffice Installation Information
/
├── usr
│ └── local
│ ├── etc
│ │ ├── onlyoffice
│ │ │ └── documentserver
│ │ │ ├── local.json # OnlyOffice local configuration file
│ │ │ ├── default.json # OnlyOffice default configuration file
│ │ │ ├── nginx
│ │ │ │ └── ds.conf # OnlyOffice Nginx configuration
│ │ │ └── supervisor
│ │ │ └── *.conf # OnlyOffice supervisord configuration
│ │ └── supervisord.conf # supervisord main configuration file
│ ├── bin
│ │ ├── documentserver-pluginsmanager.sh # Plugin manager script
│ │ └── documentserver-update-securelink.sh # Secure link update script
│ └── www
│ └── onlyoffice
│ └── documentserver
│ └── server
│ └── schema
│ ├── postgresql
│ │ ├── createdb.sql # PostgreSQL database creation script
│ │ └── upgrade # PostgreSQL upgrade scripts
│ └── mysql
│ ├── createdb.sql # MySQL database creation script
│ └── upgrade # MySQL upgrade scripts
└── var
├── log
│ └── onlyoffice
│ └── documentserver
│ └── converter
│ └── out.log # OnlyOffice log file
└── db
└── rabbitmq
└── .erlang.cookie # RabbitMQ Erlang CookieConfiguring Services
Configuring the Database
Configuring RabbitMQ
Allowing LAN Access
Configuring Nginx
Configuring supervisord
Starting the Service

Configuring Nextcloud


Completion



Troubleshooting and Unfinished Items
References
Last updated