November 5, 2024

Installing NextCloud Hub with OnlyOffice on Ubuntu 18.04

Author: Stephen Downes
Source

These are the things I encountered following Dave Lane’s instructions here:

https://tech.oeru.org/installing-nextcloud-hub-onlyoffice-ubuntu-1804

and finally restart the network stack and ufw on your server
sudo service networking restart

Failed. Used systemd-networkd restart
https://superuser.com/questions/1423959/ubuntu-server-fail-to-restart-networking-service-unit-network-service-not-foun

—————

sudo apt-get install nginx-full

Failed. Ran sudo apt-get update first. Then it worked.

—————

sudo apt-get install mariadb-server-10.0 mariadb-client-10.0

Failed. No such pacxkage available.

Used:  sudo apt-get install mariadb-server mariadb-client -y

—————

replace “me” with your non-root username on the server)

??

This implies that a non-root user has been created, but this step has been skipped in the instructions

—————-

nginx.conf

Placed in /home/data/nextcloud-nginx/nginx/nginx.conf though the instructions don’t say explicitly where it goes

—————-

(From Let’s Encrypt instructions)

If it works, it gratifyingly results in a message that starts with “Congratulations”!

– not any more, it seems

—————–

    # this is a deprecated rule, not required in Ubuntu 20.04’s nginx
    # ssl on;

—————–

Configuring database access / Configuring the Admin User

– now works in a single interface, you have to select Maria/Mysql and finn in inform for db and admin user in the same form

—————–

‘skip’ install recommended apps

(Note that I failed utterly to make the Gmail settings work, so I’ll be trying to install Mailcow on the server.

Read more