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): 23.0.2
Operating system and version (eg, Ubuntu 20.04): `Raspbian Bullseye
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.0
The issue you are facing:
When I try to create a btrfs snapshot I get an error.
the folder, in my configuration ncp_snapshots gets created in:
/media/ncp-snapshots
and not in the same folder where the ncdata is in
I guess that is the Problem, but I do not know how to fix this.
Is this the first time youâve seen this error? (Y/N): Yes
Steps to replicate it:
- In NCP use nc-snapshot to create a BTRFS Snapshot in the Datadir
The output of the error is this
Running nc-snapshot
Maintenance mode enabled
Nextcloud is in maintenance mode, hence the database isn't accessible.
Cannot perform any command except 'maintenance:mode --off'
ERROR: not a btrfs filesystem: /media/data1/../ncp-snapshots
Maintenance mode disabled
Done. Press any key...
But the drive ist definately Btrfs⌠Here the out put of a df -hT:
pi@raspberrypi:~ $ df -hT
Dateisystem Typ GrĂśĂe Benutzt Verf. Verw% Eingehängt auf
/dev/root ext4 29G 20G 8,2G 71% /
devtmpfs devtmpfs 1,8G 0 1,8G 0% /dev
tmpfs tmpfs 1,9G 16K 1,9G 1% /dev/shm
tmpfs tmpfs 768M 1,4M 767M 1% /run
tmpfs tmpfs 5,0M 8,0K 5,0M 1% /run/lock
/dev/sda1 btrfs 466G 4,8G 460G 2% /media/data
/dev/sdb1 btrfs 120G 50G 70G 42% /media/data1
/dev/loop1 squashfs 46M 46M 0 100% /snap/core18/2251
/dev/loop2 squashfs 46M 46M 0 100% /snap/core18/2288
/dev/loop0 squashfs 94M 94M 0 100% /snap/core/12727
/dev/loop3 squashfs 52M 52M 0 100% /snap/core20/1331
/dev/loop4 squashfs 52M 52M 0 100% /snap/core20/1362
/dev/loop5 squashfs 191M 191M 0 100% /snap/sabnzbd/3799
/dev/loop6 squashfs 190M 190M 0 100% /snap/sabnzbd/3757
/dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot
tmpfs tmpfs 384M 76K 384M 1% /run/user/1000
pi@raspberrypi:~ $
We are talking about /dev/sdb1
Output of nc-report without database and http
pi@raspberrypi:~ $ sudo ncp-report
<--! Paste this in GitHub report -->
<details>
<summary>NextCloudPi diagnostics</summary>
NextCloudPi version v1.46.6
OS Raspbian GNU/Linux 11. 5.10.92-v7l+ (armv7l)
automount no
USB devices sda sdb
datadir /media/data1/ncdata
data in SD no
data filesystem btrfs
data disk usage 50G/120G
rootfs usage 20G/29G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check ok
Nextcloud version 23.0.2.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB 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 8:10
</details>
<details>
<summary>Nextcloud configuration</summary>
{
âsystemâ: {
âpasswordsaltâ: âREMOVED SENSITIVE VALUEâ,
âsecretâ: âREMOVED SENSITIVE VALUEâ,
âtrusted_domainsâ: {
â0â: âlocalhostâ,
â11â: â78.35.183.108â,
â1â: â192.168.178.22â,
â5â: ânextcloudpi.localâ,
â7â: ânextcloudpiâ,
â8â: ânextcloudpi.lanâ,
â4â: ânextcloud.mentese.euâ,
â12â: ânextcloud.mentese.euâ,
â3â: âraspberrypiâ,
â22â: âraspberrypiâ,
â14â: âraspberrypiâ,
ââ: ânextcloud.mentese.euâ
},
âdefault_phone_regionâ: âDEâ,
âdatadirectoryâ: âREMOVED SENSITIVE VALUEâ,
âdbtypeâ: âmysqlâ,
âversionâ: â23.0.2.1â,
âoverwrite.cli.urlâ: âhttps://raspberrypi/â,
â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\Redisâ,
âmemcache.lockingâ: â\OC\Memcache\Redisâ,
âredisâ: {
âhostâ: âREMOVED SENSITIVE VALUEâ,
âportâ: 0,
âtimeoutâ: 0
},
âtempdirectoryâ: â/media/data1/ncdata/tmpâ,
âmail_smtpmodeâ: âsendmailâ,
âmail_smtpauthtypeâ: âLOGINâ,
âmail_from_addressâ: âREMOVED SENSITIVE VALUEâ,
âmail_domainâ: âREMOVED SENSITIVE VALUEâ,
âpreview_max_xâ: â2048â,
âpreview_max_yâ: â2048â,
âjpeg_qualityâ: â60â,
âoverwriteprotocolâ: âhttpsâ,
âloglevelâ: â2â,
âlog_typeâ: âfileâ,
âmaintenanceâ: false,
âthemeâ: ââ,
âlogfileâ: â/media/data1/ncdata/nextcloud.logâ,
âdata-fingerprintâ: â3b392877a6a02688a4d91cacee0239faâ,
âapp_install_overwriteâ: [
ânextcloudpiâ,
âsocialsharing_diasporaâ,
âsocialsharing_facebookâ,
âsocialsharing_twitterâ,
âsocialsharing_emailâ,
âadmin_notificationsâ,
âzenodoâ,
âorcidâ,
âdashboardâ,
âemlviewerâ
],
âtrusted_proxiesâ: âREMOVED SENSITIVE VALUEâ
}
}
does anyone has an idea what could be the Problem. I have already tried to reformat the usb stick with ncp an not with gparted.