NextcloudPlus does not start any more / datadir cannot be found

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 15.1 (?)
Operating system and version (eg, Ubuntu 17.04): Raspbian/ Linux 9
Apache or nginx version (eg, Apache 2.4.25): unknown
PHP version (eg, 7.1): unknown

The issue you are facing:
Cannot open web interface of nextcloud. Nextcloud version unknown as nextcloud plus updates itself automatically.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Always occurs

The output of your Nextcloud log in Admin > Logging:

No clue how to access this

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'passwordsalt' => 'deleted',
  'secret' => 'deleted',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.1.101',
    2 => 'deleted.de',
    3 => '192.168.1.101',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    4 => 'deleted',
    11 => 'deleted',
  ),
  'datadirectory' => '/media/Touro1TB/NCP',
  'overwrite.cli.url' => 'deleted/',
  'dbtype' => 'mysql',
  'version' => '15.0.5.3',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'deleted',

The output of your Apache/nginx/system log in /var/log/____:

root@nextcloudplus:/var/log/apache2# cd /var/log/apache2
root@nextcloudplus:/var/log/apache2# ls
access.log       error.log.9.gz       nc-error.log             other_vhosts_access.log.1
access.log.1     nc-access.log        nc-error.log.1           other_vhosts_access.log.10.gz
error.log        nc-access.log.1      nc-error.log.10.gz       other_vhosts_access.log.11.gz
error.log.1      nc-access.log.10.gz  nc-error.log.11.gz       other_vhosts_access.log.12.gz
error.log.10.gz  nc-access.log.11.gz  nc-error.log.12.gz       other_vhosts_access.log.13.gz
error.log.11.gz  nc-access.log.12.gz  nc-error.log.13.gz       other_vhosts_access.log.14.gz
error.log.12.gz  nc-access.log.13.gz  nc-error.log.14.gz       other_vhosts_access.log.2.gz
error.log.13.gz  nc-access.log.14.gz  nc-error.log.2.gz        other_vhosts_access.log.3.gz
error.log.14.gz  nc-access.log.2.gz   nc-error.log.3.gz        other_vhosts_access.log.4.gz
error.log.2.gz   nc-access.log.3.gz   nc-error.log.4.gz        other_vhosts_access.log.5.gz
error.log.3.gz   nc-access.log.4.gz   nc-error.log.5.gz        other_vhosts_access.log.6.gz
error.log.4.gz   nc-access.log.5.gz   nc-error.log.6.gz        other_vhosts_access.log.7.gz
error.log.5.gz   nc-access.log.6.gz   nc-error.log.7.gz        other_vhosts_access.log.8.gz
error.log.6.gz   nc-access.log.7.gz   nc-error.log.8.gz        other_vhosts_access.log.9.gz
error.log.7.gz   nc-access.log.8.gz   nc-error.log.9.gz
error.log.8.gz   nc-access.log.9.gz   other_vhosts_access.log

The output of ncp-report:

https://pastebin.com/8ZfbMerr

Well, it looks like your external drive, which usually mounts on /media/Touro1TB/NCP isn’t there. Have you checked your external volume for errors?

1 Like

also note in ncp-report that php is down and so is mariadb and postfix…

looks like the SD card is failing, and the drive is not mounting either