Installing NextCloud

Reviews and other little ventures that don't quite fit into the other forums
Post Reply
Daniel Wee
Site Admin
Posts: 2166
Joined: Wed 25 Feb 25 2009 8:00 pm

Installing NextCloud

Post by Daniel Wee » Sat 06 Apr 06 2019 11:29 pm

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)

https://websiteforstudents.com/install- ... 18-04-lts/


For Nextcloud, follow instructions here:-

https://websiteforstudents.com/setup-ne ... 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.
Daniel Wee
Site Admin
Posts: 2166
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: Installing NextCloud

Post by Daniel Wee » Mon 08 Apr 08 2019 1:29 am

To install on linux:-

sudo apt install nextcloud-client
Daniel Wee
Site Admin
Posts: 2166
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: Installing NextCloud

Post by Daniel Wee » Mon 08 Apr 08 2019 1:39 am

To get out of being stuck in maintenance mode:-

sudo -u www.data php /var/www/html/nextcloud/occ maintenance:mode --off
Post Reply