Nextcloud version (eg, 18.0.2):
Raspberry Pi 4 4GB with nextcloudpi installation
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.1):
Hi Community,
After a electricity crash the nextcloud installation and CloudDrive files, becomes not accessible.
Next, the nextcloud dont boot anymore. Then I created a new fresh installation from nextcloudpi and select as storage drive my CloudDrive after formatted it.
Look here:
root@nextcloudpi:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 7.3T 0 disk
└─sda1 8:1 0 7.3T 0 part /media/CloudDrive
sdb 8:16 0 7.3T 0 disk
└─sdb1 8:17 0 7.3T 0 part /media/BackupCloud
mmcblk0 179:0 0 29.7G 0 disk
├─mmcblk0p1 179:1 0 256M 0 part /boot
└─mmcblk0p2 179:2 0 29.5G 0 part /
I facing now a problem with restore my Backup from my BackupCloud.
I tryed sudo ncp-config
to restore the Backup.
root@nextcloudpi:/media/BackupCloud# ls
ncp-config_20200704.tar ncp-restore.8NdivV nextcloud-bkp_20200501_1588298406.tar
Then this appears:
Running nc-restore
check free space...
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
extracting backup file /media/BackupCloud/nextcloud-bkp_20200501_1588298406.tar...
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
The Admin Logs say nothing.
How I can recover my Files? Is it not possible to do it on the Raspberry Pi? If not how I can read out the data from the Backup Drive on Windows to save all files?
I hope someone can help me
Here my config.php file:
<?php
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'localhost',
5 => 'nextcloudpi.local',
7 => 'nextcloudpi',
8 => 'nextcloudpi.lan',
1 => '192.168.2.149',
),
'datadirectory' => '/media/CloudDrive/ncdata',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'installed' => true,
'instanceid' => 'ocrnfg5r4p1o',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'tempdirectory' => '/media/CloudDrive/ncdata/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
'mail_domain' => 'ownyourbits.com',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'maintenance' => false,
'logfile' => '/media/CloudDrive/ncdata/nextcloud.log',
);