Nextcloud won't install (Owncloud installs fine)

Hello everyone, I am trying to do a fresh install of Nextcloud on a fresh Dietpi install, however, I am getting this error. Sorry couldn’t copy paste so posting a screenshot. A solution will very much be appreciated.

I did a clean install for testing last week on Dietpi 6.16. The NextCloud install went well. Also the update to 6.17 was without issues. With the 6.17 image I get the same error:



  • Date | Sun 4 Nov 20:47:59 GMT 2018
  • Bug report | N/A
  • DietPi version | v6.17.12 (Fourdee/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 3 Model B+ (armv7l) (index=3)
  • Kernel version | #1145 SMP Fri Sep 21 15:38:35 BST 2018
  • Distro | stretch (index=4)
  • Command | ncc maintenance:install
  • Exit code | 1
  • Software title | DietPi-Software

Steps to reproduce:

Expected behaviour:

Actual behaviour:

Extra details:

Additional logs:

Log file contents:
An unhandled exception has been thrown:
Error: Class 'Memcached' not found in /var/www/nextcloud/config/config.php:1156
Stack trace:
#0 /var/www/nextcloud/lib/private/Config.php(214): include()
#1 /var/www/nextcloud/lib/private/Config.php(63): OC\Config->readData()
#2 /var/www/nextcloud/lib/base.php(140): OC\Config->__construct('/var/www/nextcl...')
#3 /var/www/nextcloud/lib/base.php(591): OC::initPaths()
#4 /var/www/nextcloud/lib/base.php(1068): OC::init()
#5 /var/www/nextcloud/console.php(46): require_once('/var/www/nextcl...')
#6 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#7 {main}


[FAILED] DietPi-Software | Unable to continue, DietPi-Software will now terminate.

Known issue and fixed for v6.18. To fix now please do the following:

sed -i "\|cp '/var/www/nextcloud/config/config.sample.php'|d" /DietPi/dietpi/dietpi-software
rm /var/www/nextcloud/config/config.php
rm /var/www/nextcloud/occ
dietpi-software install 114