mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
fix Bug 59826 - Fix database creation without onlyoffice owner
This commit is contained in:
@ -44,12 +44,10 @@ For the document service to work correctly it is necessary to install the follow
|
||||
login and password introduced during installation, then enter commands:
|
||||
|
||||
```sql
|
||||
CREATE DATABASE onlyoffice;
|
||||
CREATE USER onlyoffice WITH PASSWORD 'onlyoffice';
|
||||
CREATE DATABASE onlyoffice OWNER onlyoffice;
|
||||
\c onlyoffice
|
||||
\i 'schema/postgresql/createdb.sql';
|
||||
GRANT ALL PRIVILEGES ON DATABASE onlyoffice to onlyoffice;
|
||||
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO onlyoffice;
|
||||
```
|
||||
|
||||
2. Delete from `server\Common\config\development-windows.json` option `sql`.
|
||||
|
||||
Reference in New Issue
Block a user