Having trouble installing

Setting up onlyoffice-documentserver (7.2.2-56) …
adduser: Warning: The home directory `/var/www/onlyoffice/documentserver’ does not belong to the user you are currently creating.
Adding user www-data to group ds
ds:docservice: ERROR (no such process)
ds:docservice: ERROR (no such process)
ds:converter: ERROR (no such process)
ds:converter: ERROR (no such process)
nginx.service is not active, cannot reload.
dpkg: error processing package onlyoffice-documentserver (–configure):
installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1
Setting up gconf-service-backend (3.2.6-6ubuntu1) …
Processing triggers for libc-bin (2.31-0ubuntu9.9) …
Errors were encountered while processing:
onlyoffice-documentserver
E: Sub-process /usr/bin/dpkg returned an error code (1)

ubuntu 20.04 Help plz

used this guide

https://
helpcenter.onlyoffice.com/installation/docs-community-install-ubuntu.aspx

Hello @galiaf

To start off, please share output of next commands:
supervisorctl status all
service nginx status

Looking forward to your feedback.

The provided screenshot confirmed that you do not have enough rights for the installation.
Please try accessing the machine with root rights and then proceeding to the installation of Document Server.

Sorry for the stupid question. I switched to Linux quite recently and have not quite mastered it yet. I didn’t quite understand what you mean. Could you elaborate on what needs to be done.

The root user account on Linux has full administrative privileges over the entire system.
For most systems you can execute sudo su to change the user to root. A password maybe required for this procedure.
I’d recommend you to check how this can be achieved for your exact OS in the Internet to make sure that you are doing everything right.