Support intro
Sorry to hear youâre facing problems
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
Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me
The issue you are facing: I upgraded my router and that led to some connection drop for nextcloudPi on my raspberry Pi every hour until it fully stopped connecting. It became completely inaccessible from my computer or phone. At that time, I tried to install a fresh version of nextcloudPi on my SD card as I have my data in a USB SSD drive and the backup in a USB hard drive. I canât remember how I setup the backup initially but it seems I went for dateless backup with snapshot. At this time, this is what I am trying to do.
Step 1 - Boot up with the fresh install of nextcloudPi - successful
Step 2 - Enable NC Auto mount via web interafce - successful
Step 3 - Enable SSH via web interface - successful
Step 4 - Grab the backup drive path and the tar file location via SSH - successful
Step 5 - Run nc-restore via web interface after pasting the link to the tar file from the backup drive - failing
This Step 5 has failed multiple times with the below error. Grabbed it from /var/log/ncp.lg
[ nc-restore ] (Sat Jun 3 03:46:32 BST 2023)
check free spaceâŚ
extracting backup file /media/backupdrive/ncp-backups/nextcloud-bkp_20230530_1685430003.tarâŚ
restore filesâŚ
Restoring old â/var/www/nextcloud/dataâ to â/var/www/nextcloud/dataââŚ
restore databaseâŚ
No datadir found in backup
This version of Nextcloud is not compatible with > PHP 8.0.
You are currently running 8.1.18.CleanupâŚ
Is this the first time youâve seen this error? (Y/N): Y
Steps to replicate it: Already mentioned above
Output of ncp-report
<â! Paste this in GitHub report â
NextcloudPi diagnostics
NextcloudPi version v1.52.0
NextcloudPi image NextCloudPi_RaspberryPi_v1.52.0.img
OS Debian GNU/Linux 11. 5.15.61-v8+ (aarch64)
automount yes
USB devices sda sdb
datadir /media/myCloudDrive/ncdata/data
data in SD no
data filesystem btrfs
data disk usage 594G/3.7T
rootfs usage 4.6G/29G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check error
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service down
Postfix service up
Internet check ok
Public IPv4 ***REMOVED SENSITIVE VALUE***
Public IPv6 ***REMOVED SENSITIVE VALUE***
Port 80 open
Port 443 open
IP ***REMOVED SENSITIVE VALUE***
Gateway ***REMOVED SENSITIVE VALUE***
Interface eth0
Certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
Uptime 18:22
Nextcloud configuration
This version of Nextcloud is not compatible with > PHP 8.0.<br/>You are currently running 8.1.18.
</details>
The output of your Nextcloud log in **Admin > Logging**:
The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):
```<?php
$CONFIG = array (
'passwordsalt' => '<blanked>',
'secret' => '<blanked>',
'trusted_domains' =>
array (
0 => 'localhost',
22 => 'nextcloudpi',
11 => '<blanked>',
1 => '<blanked>',
3 => 'mynextcloudpi',
'' => '<blanked>',
14 => 'mynextcloudpi',
18 => '<blanked>',
12 => '<blanked>',
),
'datadirectory' => '/media/myCloudDrive/ncdata/data',
'dbtype' => 'mysql',
'version' => '23.0.6.1',
'overwrite.cli.url' => 'https://mynextcloudpi/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => '<blanked>',
'installed' => true,
'instanceid' => 'ocpe8kxr2xem',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => '<blanked>',
),
'tempdirectory' => '/media/myCloudDrive/ncdata/data/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'loglevel' => '2',
'maintenance' => true,
'trusted_proxies' =>
array (
11 => '127.0.0.1',
12 => '::1',
13 => 'mynextcloudpi',
14 => ';; connection timed out; no servers could be reached',
),
'logfile' => '/media/myCloudDrive/ncdata/data/nextcloud.log',
'log_type' => 'file',
'theme' => '',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'donotreply',
'mail_domain' => '<blanked>',
'data-fingerprint' => '<blanked>',
);
The output of your Apache/nginx/system log in /var/log/____
:
[PASTE HERE](https://pastebin.com/TtjLgfky)
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
[PASTE HERE](https://pastebin.com/TtjLgfky)
Please let me know what I should do to fix this error. Thanks in advance.