ONLYOFFICE 7.0: online forms, password protection in sheets, collaboration improvements and much more
ONLYOFFICE 7.0 released

Accessing OnlyOffice

I installed onlyoffice-ds from the snap store on my Ubuntu 20 machine. I attempt to run onlyoffice-ds, which returns with “command not found”, and tried accessing https://localhost/welcome, but neither seems to work for me.

Hello,
Please make a screenshot of the command you are trying to run and its output.

snap list
Name               Version                     Rev    Tracking       Publisher       Notes
bare               1.0                         5      latest/stable  canonical✓      base
bashtop            0.9.25                      435    latest/stable  kz6fittycent    -
chromium           97.0.4692.99                1878   latest/stable  canonical✓      -
code               899d46d8                    85     latest/stable  vscode✓         classic
core               16-2.54.2                   12603  latest/stable  canonical✓      core
core18             20211215                    2284   latest/stable  canonical✓      base
core20             20211129                    1270   latest/stable  canonical✓      base
dell-wd19-tool     7bab427                     x1     -              -               devmode
gnome-3-28-1804    3.28.0-19-g98f9e67.98f9e67  161    latest/stable  canonical✓      -
gnome-3-34-1804    0+git.3556cb3               77     latest/stable  canonical✓      -
gnome-3-38-2004    0+git.cd626d1               87     latest/stable  canonical✓      -
gtk-common-themes  0.1-59-g7bca6ae             1519   latest/stable  canonical✓      -
hexchat            2.14.2                      42     latest/stable  tingping        -
keepassxc          2.6.6                       1522   latest/stable  keepassxreboot  -
notepadqq          1.4.8                       855    latest/stable  danieleds       -
onlyoffice-ds      7.0.0                       62     latest/stable  onlyoffice✓     -
snap-store         3.38.0-66-gbd5b8f7          558    latest/stable  canonical✓      -
standard-notes     3.9.10                      x1     -              -               -
termius-app        7.32.0                      98     latest/stable  termius✓        -

 ~ ································································································································································································ 08:59:20 AM 
❯ onlyoffice-ds
onlyoffice-ds: command not found

There is no such command as onlyoffice-ds as per installation guide:

Once installed, you should be able to see the welcome page when accessing http://localhost on the server. In your case the 80 port might be occupied by some other application, please check it. Also you can try changing the port:
https://github.com/ONLYOFFICE/snap-documentserver#configuration

I updated the port to 8888, even did a restart of the snap, and the page will still not load. doing a netstat, the port 8888 doesn’t show up. so I tried it again, and it still does not show up. parsing through my logs, I found the following:

syslog:Jan 28 08:28:32 <my-device-name> onlyoffice-ds.mysql[892083]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:28:32 <my-device-name> kernel: [332365.072976] audit: type=1400 audit(1643376512.288:1691): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=892083 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:28:32 <my-device-name> kernel: [332365.200090] audit: type=1400 audit(1643376512.412:1692): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.mysql" name="/bin/systemctl" pid=892155 comm="mysql.server" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:28:34 <my-device-name> onlyoffice-ds.mysql[892326]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:28:34 <my-device-name> kernel: [332367.599355] audit: type=1400 audit(1643376514.810:1693): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=892326 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.180965] audit: type=1400 audit(1643376515.390:1694): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=892425 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> onlyoffice-ds.mysql[892437]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.300688] audit: type=1400 audit(1643376515.511:1695): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=892437 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.462763] audit: type=1400 audit(1643376515.675:1696): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.mysql" name="/bin/systemctl" pid=892501 comm="mysql.server" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.552427] audit: type=1400 audit(1643376515.763:1697): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=892527 comm="my_print_defaul" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.599179] audit: type=1400 audit(1643376515.811:1698): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=892576 comm="my_print_defaul" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:28:35 <my-device-name> kernel: [332368.738472] audit: type=1400 audit(1643376515.951:1699): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=892713 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:28:36 <my-device-name> kernel: [332369.706876] audit: type=1400 audit(1643376516.919:1700): apparmor="DENIED" operation="capable" profile="snap.onlyoffice-ds.rabbitmq" pid=892230 comm="async_5" capability=1  capname="dac_override"
syslog:Jan 28 08:28:38 <my-device-name> kernel: [332370.943784] audit: type=1400 audit(1643376518.156:1703): apparmor="DENIED" operation="capable" profile="snap.onlyoffice-ds.rabbitmq" pid=892913 comm="async_118" capability=1  capname="dac_override"
syslog:Jan 28 08:28:42 <my-device-name> kernel: [332374.908673] audit: type=1400 audit(1643376522.121:1704): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.rabbitmq" name="/bin/df" pid=893145 comm="sh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:28:42 <my-device-name> kernel: [332375.394635] audit: type=1400 audit(1643376522.605:1705): apparmor="DENIED" operation="capable" profile="snap.onlyoffice-ds.rabbitmq" pid=892913 comm="5_scheduler" capability=12  capname="net_admin"
syslog:Jan 28 08:30:33 <my-device-name> onlyoffice-ds.mysql[894049]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:30:33 <my-device-name> kernel: [332486.177877] audit: type=1400 audit(1643376633.378:1706): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=894049 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:30:33 <my-device-name> kernel: [332486.304446] audit: type=1400 audit(1643376633.506:1707): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.mysql" name="/bin/systemctl" pid=894132 comm="mysql.server" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:30:35 <my-device-name> onlyoffice-ds.mysql[894298]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:30:35 <my-device-name> kernel: [332488.697419] audit: type=1400 audit(1643376635.897:1708): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=894298 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332488.877155] audit: type=1400 audit(1643376636.077:1709): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=894400 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> onlyoffice-ds.mysql[894412]: chmod: changing permissions of '/tmp': Permission denied
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332488.913079] audit: type=1400 audit(1643376636.113:1710): apparmor="DENIED" operation="chmod" profile="snap.onlyoffice-ds.mysql" name="/tmp/" pid=894412 comm="chmod" requested_mask="w" denied_mask="w" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332489.067378] audit: type=1400 audit(1643376636.265:1711): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.mysql" name="/bin/systemctl" pid=894471 comm="mysql.server" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332489.103136] audit: type=1400 audit(1643376636.301:1712): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=894493 comm="my_print_defaul" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332489.160421] audit: type=1400 audit(1643376636.361:1713): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=894542 comm="my_print_defaul" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:30:36 <my-device-name> kernel: [332489.381623] audit: type=1400 audit(1643376636.581:1714): apparmor="DENIED" operation="open" profile="snap.onlyoffice-ds.mysql" name="/etc/mysql/mariadb.cnf" pid=894681 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
syslog:Jan 28 08:30:37 <my-device-name> kernel: [332490.280880] audit: type=1400 audit(1643376637.481:1715): apparmor="DENIED" operation="capable" profile="snap.onlyoffice-ds.rabbitmq" pid=894207 comm="async_3" capability=1  capname="dac_override"
syslog:Jan 28 08:30:43 <my-device-name> kernel: [332495.919611] audit: type=1400 audit(1643376643.120:1716): apparmor="DENIED" operation="exec" profile="snap.onlyoffice-ds.rabbitmq" name="/bin/df" pid=895191 comm="sh" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
syslog:Jan 28 08:30:43 <my-device-name> kernel: [332496.672948] audit: type=1400 audit(1643376643.872:1717): apparmor="DENIED" operation="capable" profile="snap.onlyoffice-ds.rabbitmq" pid=894895 comm="2_scheduler" capability=12  capname="net_admin"

Is there an apparmor profile for this app?

Can anyone please assist me?

Hello,
Unfortunately, we don’t have an apparmor profile for the Document Server. If this application prevents the Document Server from functioning, I’d recommend adding in to some exception list.

How else can I use/ run this so it works? Is there a different install process for server?

You can try any other available installation type:
https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx
I’d recommend starting with Docker.