Nextcloud won't install (Owncloud installs fine)

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
consig1iere
Posts: 17
Joined: Sat Dec 30, 2017 6:33 am

Nextcloud won't install (Owncloud installs fine)

Post by consig1iere »

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.
Attachments
Nextcloud errir
Nextcloud errir
PiOSFan
Posts: 12
Joined: Mon Dec 05, 2016 8:36 am

Re: Nextcloud won't install (Owncloud installs fine)

Post by PiOSFan »

Hi,
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:

--------------------------------------------------------------------
- DietPi has encounted an error, and, is unable to continue -
- Please create a ticket: https://github.com/Fourdee/DietPi/issues -
- Copy and paste the BLUE lines below, into the ticket -
--------------------------------------------------------------------


#### Details:
- 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:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...

#### Expected behaviour:
<!-- What SHOULD be happening? -->
- ...

#### Actual behaviour:
<!-- What IS happening? -->
- ...

#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...

#### 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.
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Nextcloud won't install (Owncloud installs fine)

Post by MichaIng »

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

Code: Select all

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
Post Reply