-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "No snapshots found" in WEBUI and fix restore-snapshot #1842
base: master
Are you sure you want to change the base?
Fix "No snapshots found" in WEBUI and fix restore-snapshot #1842
Conversation
Hi, thank you for the PR! Unfortunately this can't be fixed so easily, because the data directory location is either in /ncdata or in/ncdata/data, depending on whether you are using nc-encrypt or not. I'll have a look at this after the next update (that's shortly going to be released). |
@theCalcaholic how can I get to the situation where the data directory is /ncdata ? I just enabled nc-encrypt -> rebooted -> unlocked via the web interface and I get /ncdata/data as data dir.
Then I disabled nc-crypt and rebooted. The data dir ramained in /ncdata/data.
|
Any more work being done regarding this fix? |
I am also very interested in the current status, as the standard recovery routine involving snapshots seems to be broken. |
Issue #1573: No snapshots found on WEBUI backups page
When creating BTRFS snapshots, either manually or automatically, the snapshots are stored in
/media/myCloudDrive/ncp-snapshots
. The snapshots should be displayed on WEBUI Backups page but there is an error "No snapshots found".The reason is that backups.php looks for snapshots in
/media/myCloudDrive/ncdata/ncp-snapshots
which is the wrong path.Solution: Fix the path in backups.php, now the snapshots are displayed correctly on WEBUI Backups page.
Issue #1830: Restore BTRFS snapshot fails
Restoring a BTRFS snapshot fails with "ERROR: Not a Btrfs subvolume: Invalid argument". That is because nc-restore-snapshot.sh tries to delete
/media/myCloudDrive/ncdata/data
instead of/media/myCloudDrive/ncdata
.Thanks to @Dimitar-Boychev for pointing out the issue and providing the solution.