Page 1 of 1

Installing NextCloud

Posted: Sat 06 Apr 06 2019 11:29 pm
by Daniel Wee
We are NOT using ngix as the webserver, but apache2 - do NOT follow instructions that lead to installation of ngix because it will end up conflicting over the same port.

You will need to install mcrypt for php at some point:-

(note: latest version of mcrypt is 1.0.2 at the time of this entry. Article suggests 1.0.1 which does not work with PHP 7.3.3) ... 18-04-lts/

For Nextcloud, follow instructions here:- ... 1-support/

Note that we are NOT using MariaDB but MySQL. Apart from that, the instructions should be roughly the same.

When the install calls for php7.1 modules - change them to 7.2 (or whichever version the server is using), but remove the mcrypt line as it will error out and nothing will install.

Re: Installing NextCloud

Posted: Mon 08 Apr 08 2019 1:29 am
by Daniel Wee
To install on linux:-

sudo apt install nextcloud-client

Re: Installing NextCloud

Posted: Mon 08 Apr 08 2019 1:39 am
by Daniel Wee
To get out of being stuck in maintenance mode:-

sudo -u php /var/www/html/nextcloud/occ maintenance:mode --off