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:18.0.7
Operating system and version: Linux nextcloudpi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux
Apache or nginx version: Apache/2.4.38 (Raspbian)
PHP version (eg, 7.1): PHP 7.3.19-1~deb10u1 (cli) (built: Jul 5 2020 06:46:45) ( NTS )
The issue you are facing:
Because btrfs-sync no longer works and doesnât work again I set up a new device and ran it manually
sudo nohup /usr/local/bin/btrfs-sync -vd -z â/media/myCloudDrive1/ncp-snapshotsâ â/media/myCloudDrive2/ncp-snapshotsâ
and redirecting the output to a file with the following errors:
- Check source
- Check destination
- Synchronizing â/media/myCloudDrive1/ncp-snapshots/daily_2020-08-13_211702ââŚ
ERROR: creating subvolume daily_2020-08-13_211702 failed: File exists
Delete subvolume (no-commit): â/media/myCloudDrive2/ncp-snapshots/daily_2020-08-13_211702â - Retrying â/media/myCloudDrive1/ncp-snapshots/daily_2020-08-13_211702ââŚ
- Synchronizing â/media/myCloudDrive1/ncp-snapshots/daily_2020-08-13_211702ââŚ
ERROR: chown XXXX/files_versions/pdfs/wt/ft/2010/ft_03_2010.pdf.v1446820566 failed: No such file or directory - Retrying â/media/myCloudDrive1/ncp-snapshots/daily_2020-08-13_211702ââŚ
- Synchronizing â/media/myCloudDrive1/ncp-snapshots/daily_2020-08-13_211702ââŚ
ERROR: realpath(/media/myCloudDrive2/ncp-snapshots) failed: No such file or directory
Abort
dmesg | grep -i btrfs results to
[297826.284226] btrfs_dev_stat_print_on_error: 12 callbacks suppressed
[297826.284233] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 1, rd 0, flush 0, corrupt 0, gen 0
[297826.284956] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 2, rd 0, flush 0, corrupt 0, gen 0
[297826.285028] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 3, rd 0, flush 0, corrupt 0, gen 0
[297826.285082] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 4, rd 0, flush 0, corrupt 0, gen 0
[297826.285328] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 5, rd 0, flush 0, corrupt 0, gen 0
[297826.285398] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 6, rd 0, flush 0, corrupt 0, gen 0
[297826.285508] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 7, rd 0, flush 0, corrupt 0, gen 0
[297826.286210] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 8, rd 0, flush 0, corrupt 0, gen 0
[297826.286484] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 9, rd 0, flush 0, corrupt 0, gen 0
[297826.288085] BTRFS error (device sdc1): bdev /dev/sdc1 errs: wr 10, rd 0, flush 0, corrupt 0, gen 0
[297827.375064] BTRFS: error (device sdc1) in btrfs_commit_transaction:2276: errno=-5 IO failure (Error while writing out transaction)
[297827.375091] BTRFS info (device sdc1): forced readonly
[297827.375100] BTRFS warning (device sdc1): Skipping commit of aborted transaction.
[297827.375108] BTRFS: error (device sdc1) in cleanup_transaction:1827: errno=-5 IO failure
[297827.375124] BTRFS info (device sdc1): delayed_refs has NO entry
I also recovered the Source Device from backup because there were also btrfs errors. Now after the recovery the device seem to be ok:
sudo btrfs check /dev/sda1
Opening filesystem to checkâŚ
Checking filesystem on /dev/sda1
UUID: 0b5acce4-4549-490c-8bfe-449290aa4682
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 11403001856 bytes used, no error found
total csum bytes: 10926016
total tree bytes: 211615744
total fs tree bytes: 193036288
total extent tree bytes: 6488064
btree space waste bytes: 34183721
file data blocks allocated: 36782981120
referenced 36782825472
Iâve no idea what to do more to get things working again.
Any help or ideas are appreciated.
TIA
KJ