NextcloudPI and BTRFS

Hi,
I am trying to move from ext4 towards BTRFS to run the backup process faster. I have changed the external harddisk to BTRFS and moved the datafile towards /media/drive/ncdata

pi@nextcloudpi:~ $ sudo file -sL /dev/sd*
/dev/sda: DOS/MBR boot sector; partition 1 : ID=0xee, start-CHS (0x0,0,1), end-CHS (0x3ff,254,63), startsector 1, 1953458175 sectors, extended partition table (last)
/dev/sda1: BTRFS Filesystem label “drive”, sectorsize 4096, nodesize 16384, leafsize 16384, UUID=6da5f116-ae07-4f21-9258-2a8611fd6d03, 36642816/1000168488960 bytes used, 1 devices

When I try to create a BTRFS snapshot I get the following:
Launching nc-snapshot
Maintenance mode enabled
Nextcloud is in maintenance mode – no app have been loaded

/ is not in a BTRFS filesystem
Done. Press any key…

The system stays in maintenance mode and I need to close it with:
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

can you share the output of

sudo ncp-report

@Nachoparker see below. Something is wrong I guess, I just rebooted the system but still get below result.

sudo ncp-report
<–! Paste this in GitHub report -->

NextCloudPi diagnostics

Cannot load Zend OPcache - it was already loaded

it takes a while for the command to finish. You can also try

sudo ncp-diag

<–! Paste this in GitHub report -->

NextCloudPi diagnostics

Cannot load Zend OPcache - it was already loaded
NextCloudPi version  v0.46.6
NextCloudPi image    NextCloudPi_10-03-17
distribution         Raspbian GNU/Linux 9 \n \l
automount            yes
USB devices          sda
datadir              /media/Drive/ncdata
data in SD           yes
data filesystem      ext2/ext3
data disk usage      5.3G/15G
rootfs usage         5.3G/15G
swapfile             /var/swap
Nextcloud check      ok
Nextcloud version    13.0.0.14
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   192.168.1.115
gateway              192.168.1.1
interface            wlan0
certificates         none
certs due            none
NAT loopback         no
uptime               6min

Nextcloud configuration

Cannot load Zend OPcache - it was already loaded
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "1": "192.168.1.115",
            "5": "nextcloudpi.local",
            "4": "jasper.ddns.net",
            "3": "jasper.ddns.net"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/jasper.ddns.net",
        "dbtype": "mysql",
        "version": "13.0.0.14",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "maintenance": false,
        "mail_smtpsecure": "tls",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "26",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "updater.release.channel": "stable",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

HTTPd logs

[Sun Feb 11 23:02:12.590330 2018] [mpm_event:notice] [pid 749:tid 1992859648] AH00491: caught SIGTERM, shutting down
[Sun Feb 11 23:02:12.738245 2018] [ssl:warn] [pid 15465:tid 1992581120] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 11 23:02:13.042654 2018] [ssl:warn] [pid 15467:tid 1992581120] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 11 23:02:14.005084 2018] [mpm_event:notice] [pid 15467:tid 1992581120] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Feb 11 23:02:14.005295 2018] [core:notice] [pid 15467:tid 1992581120] AH00094: Command line: '/usr/sbin/apache2'
[Sun Feb 11 23:53:20.653632 2018] [mpm_event:notice] [pid 15467:tid 1992581120] AH00491: caught SIGTERM, shutting down
[Sun Feb 11 23:53:34.274439 2018] [ssl:warn] [pid 414:tid 1992097792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 11 23:53:35.046664 2018] [ssl:warn] [pid 691:tid 1992097792] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Feb 11 23:53:36.003257 2018] [mpm_event:notice] [pid 691:tid 1992097792] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Sun Feb 11 23:53:36.003397 2018] [core:notice] [pid 691:tid 1992097792] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 12 00:06:44.989095 2018] [mpm_event:notice] [pid 691:tid 1992097792] AH00491: caught SIGTERM, shutting down
[Mon Feb 12 00:06:54.467602 2018] [ssl:warn] [pid 392:tid 1992515584] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 12 00:06:55.045421 2018] [ssl:warn] [pid 695:tid 1992515584] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 12 00:06:56.003494 2018] [mpm_event:notice] [pid 695:tid 1992515584] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Mon Feb 12 00:06:56.003652 2018] [core:notice] [pid 695:tid 1992515584] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 12 17:47:48.858599 2018] [mpm_event:notice] [pid 695:tid 1992515584] AH00491: caught SIGTERM, shutting down
[Mon Feb 12 17:48:02.286586 2018] [ssl:warn] [pid 428:tid 1992081408] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 12 17:48:03.050332 2018] [ssl:warn] [pid 751:tid 1992081408] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Mon Feb 12 17:48:04.003690 2018] [mpm_event:notice] [pid 751:tid 1992081408] AH00489: Apache/2.4.25 (Raspbian) OpenSSL/1.0.2l configured -- resuming normal operations
[Mon Feb 12 17:48:04.003859 2018] [core:notice] [pid 751:tid 1992081408] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2018-02-12 17:47:49 1639236416 [Note] /usr/sbin/mysqld: Shutdown complete

2018-02-12 17:48:13 1988444160 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2018-02-12 17:48:13 1988444160 [Note] InnoDB: The InnoDB memory heap is disabled
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-02-12 17:48:13 1988444160 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Compressed tables use zlib 1.2.8
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Using Linux native AIO
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Using generic crc32 instructions
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Completed initialization of buffer pool
2018-02-12 17:48:13 1988444160 [Note] InnoDB: Highest supported file format is Barracuda.
2018-02-12 17:48:14 1988444160 [Note] InnoDB: 128 rollback segment(s) are active.
2018-02-12 17:48:14 1988444160 [Note] InnoDB: Waiting for purge to start
2018-02-12 17:48:14 1988444160 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.35-80.0 started; log sequence number 46294478
2018-02-12 17:48:14 1442837312 [Note] InnoDB: Dumping buffer pool(s) not yet started
2018-02-12 17:48:14 1988444160 [Note] Plugin 'FEEDBACK' is disabled.
2018-02-12 17:48:14 1988444160 [Note] Server socket created on IP: '127.0.0.1'.
2018-02-12 17:48:14 1988444160 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.1.23-MariaDB-9+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 9.0

Nextcloud logs

{"reqId":"WoE3BX8AAQEAAAL7hr0AAABT","level":2,"time":"2018-02-12T06:41:09+00:00","remoteAddr":"185.100.87.249","user":"--","app":"core","method":"HEAD","url":"\/","message":"Trusted domain error. \"185.100.87.249\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE3BX8AAQEAAAL7hr4AAABP","level":2,"time":"2018-02-12T06:41:09+00:00","remoteAddr":"185.100.87.249","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.249\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE3Bn8AAQEAAAL6JAoAAAAO","level":2,"time":"2018-02-12T06:41:10+00:00","remoteAddr":"185.100.87.249","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.249\" tried to access using \"83.83.7.25\" as host.","userAgent":"--","version":"13.0.0.14"}
{"reqId":"WoE3U38AAQEAAAL6JAsAAAAT","level":2,"time":"2018-02-12T06:42:27+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"HEAD","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE3U38AAQEAAAL7hsIAAABV","level":2,"time":"2018-02-12T06:42:27+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"--","version":"13.0.0.14"}
{"reqId":"WoE3U38AAQEAAAL6JAwAAAAE","level":2,"time":"2018-02-12T06:42:27+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE35n8AAQEAAAL7hsQAAABD","level":2,"time":"2018-02-12T06:44:54+00:00","remoteAddr":"185.100.87.246","user":"--","app":"core","method":"HEAD","url":"\/","message":"Trusted domain error. \"185.100.87.246\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE35n8AAQEAAAL7hsUAAABQ","level":2,"time":"2018-02-12T06:44:54+00:00","remoteAddr":"185.100.87.246","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.246\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE3538AAQEAAAL7hscAAABA","level":2,"time":"2018-02-12T06:44:55+00:00","remoteAddr":"185.100.87.246","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.246\" tried to access using \"83.83.7.25\" as host.","userAgent":"--","version":"13.0.0.14"}
{"reqId":"WoE4Bn8AAQEAAAL7hsgAAABF","level":2,"time":"2018-02-12T06:45:26+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"HEAD","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE4B38AAQEAAAL7hskAAABB","level":2,"time":"2018-02-12T06:45:27+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE4CH8AAQEAAAL7hsoAAABH","level":2,"time":"2018-02-12T06:45:28+00:00","remoteAddr":"208.100.26.231","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"208.100.26.231\" tried to access using \"83.83.7.25\" as host.","userAgent":"--","version":"13.0.0.14"}
{"reqId":"WoE4qH8AAQEAAAL7hs0AAABS","level":2,"time":"2018-02-12T06:48:08+00:00","remoteAddr":"139.162.78.135","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"139.162.78.135\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/45.0.2454.101 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE6An8AAQEAAAL6JBAAAAAW","level":2,"time":"2018-02-12T06:53:54+00:00","remoteAddr":"185.100.87.248","user":"--","app":"core","method":"HEAD","url":"\/","message":"Trusted domain error. \"185.100.87.248\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE6An8AAQEAAAL6JBEAAAAH","level":2,"time":"2018-02-12T06:53:54+00:00","remoteAddr":"185.100.87.248","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.248\" tried to access using \"83.83.7.25\" as host.","userAgent":"Mozilla\/5.0 (Windows NT 6.1) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/36.0.1985.125 Safari\/537.36","version":"13.0.0.14"}
{"reqId":"WoE6BH8AAQEAAAL6JBMAAAAV","level":2,"time":"2018-02-12T06:53:56+00:00","remoteAddr":"185.100.87.248","user":"--","app":"core","method":"GET","url":"\/","message":"Trusted domain error. \"185.100.87.248\" tried to access using \"83.83.7.25\" as host.","userAgent":"--","version":"13.0.0.14"}
{"reqId":"WoE-V38AAQEAAAL6JNkAAAAX","level":4,"time":"2018-02-12T07:21:41+00:00","remoteAddr":"83.83.7.25","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2018\/VID_20171128_223524.mp4-chunking-557675310-462-34","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 1024000 got 98304\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(132): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #17)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #17)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('VID_20171128_22...', Resource id #17)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('InstantUpload\\\/C...', Resource id #17, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":437}","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.0.0","version":"13.0.0.14"}
{"reqId":"WoFEHX8AAQEAAAL7hv0AAABY","level":4,"time":"2018-02-12T07:37:02+00:00","remoteAddr":"83.83.7.25","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2018\/VID_20171128_223857.mp4-chunking-986122927-518-36","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 1024000 got 892928\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(132): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #17)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #17)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('VID_20171128_22...', Resource id #17)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('InstantUpload\\\/C...', Resource id #17, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":437}","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.0.0","version":"13.0.0.14"}
{"reqId":"WoFE8H8AAQEAAAL6JUIAAAAA","level":4,"time":"2018-02-12T07:40:34+00:00","remoteAddr":"83.83.7.25","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2018\/VID_20170317_102631.mp4-chunking-1185300904-86-33","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 1024000 got 360448\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(132): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #17)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #17)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('VID_20170317_10...', Resource id #17)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('InstantUpload\\\/C...', Resource id #17, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":437}","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.0.0","version":"13.0.0.14"}
{"reqId":"WoFNeH8AAQEAAAL7iBwAAABF","level":4,"time":"2018-02-12T08:22:02+00:00","remoteAddr":"83.83.7.25","user":"admin","app":"webdav","method":"PUT","url":"\/remote.php\/webdav\/InstantUpload\/Camera\/2018\/VID_20171128_223524.mp4-chunking-557675310-462-366","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\BadRequest\",\"Message\":\"expected filesize 1024000 got 73728\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(132): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->createFileChunked(Resource id #17)\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/Directory.php(151): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->put(Resource id #17)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1096): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\Directory->createFile('VID_20171128_22...', Resource id #17)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(525): Sabre\\\\DAV\\\\Server->createFile('InstantUpload\\\/C...', Resource id #17, NULL)\\n#4 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPut(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PUT', Array)\\n#7 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#8 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#9 \\\/var\\\/www\\\/nextcloud\\\/remote.php(164): require_once('\\\/var\\\/www\\\/nextcl...')\\n#10 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php\",\"Line\":437}","userAgent":"Mozilla\/5.0 (Android) Nextcloud-android\/3.0.0","version":"13.0.0.14"}

@Nachoparker sorry, I was a bit impatient :slight_smile:

what do you mean by this? your external hard drive is ext4, according to the above output. That’s why the snapshots are failing. They require a BTRFS formatted drive.

I think I found it, sounds so stupid. But I have restored a previous version and somehow the data was stored at an old location. So I have moved the datadir to the BTRFS external harddisk again and afterwards I was able to create the snapshot. Thanks for your help!

Btw: I am stealing my own post now…but when I start ncp-config I will get something like below in my terminal:
sudo ncp-config
Too many arguments.

usage: git clone [] [–] []

The git clone command failed: No connectivity to https://github.com ?

yes, that bug has been fixed, but you need to type

sudo ncp-update

( or do the ncp-web or ncp-config update ) to fix it

Thanks!! All is working again…

good, please mark as solved and use the appliaces forum for NCP topics

Hi
I have pretty much the same issue, only that ncp-report, says that my data filesystem is btrfs (as you would expect after formatting it as btrfs…), but I still cannot use nc-snapshot.

Here is what I did: I moved my ncdata directory to a new drive which I had previously formatted as btrfs. Then I connected it to my Rock64 and started it.

ncp-report output:

ncp-report
<–! Paste this in GitHub report -->


NextCloudPi diagnostics

```

Cannot load Zend OPcache - it was already loaded
NextCloudPi version v0.66.4
NextCloudPi image NextCloudPlus_05-10-18
distribution Debian GNU/Linux 9 \n \l
automount yes
_USB devices sda _
datadir /media/USBdrive/ncdata
data in SD no
data filesystem btrfs
data disk usage 156G/2.8T
rootfs usage 6.0G/15G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 14.0.3.0
HTTPD service up
PHP service up
MariaDB service up
Redis service up
Postfix service up
internet check ok
port check 80 open
port check 443 open
IP REMOVED SENSITIVE VALUE
gateway REMOVED SENSITIVE VALUE
interface eth0
certificates REMOVED SENSITIVE VALUE
NAT loopback no
uptime 3min

```

nc-snapshot output:
Launching nc-snapshot
Cannot load Zend OPcache - it was already loaded
Maintenance mode enabled
Cannot load Zend OPcache - it was already loaded
Nextcloud is in maintenance mode - no apps have been loaded

ERROR: not a btrfs filesystem: /media/553ebad3-6bed-4e8e-8461-5be0e1c37fc0/…/ncp-snapshots
Cannot load Zend OPcache - it was already loaded
Maintenance mode disabled
Done. Press any key…

Any idea what might be the problem?

did you use nc-datadir to move the data?

no, I formatted the new drive on an external computer as btrfs (as nc-format doesn’t work) and then copied the ncdata folder from the old hdd to the new one.

should have used nc-datadir to move the data, because it creates a btrfs subvolume for it automatically. You can still change it to a different place in the drive and it should do it for you.