Closed scubamuc closed 6 months ago
The code is based on your #1042
Here you can see what it backups: https://github.com/the-djmaze/snappymail/blob/9bc56a5abd58c554904b45a2d701fc47c529c655/plugins/backup/index.php#L52-L60
@the-djmaze thanks for the heads up... I should have remained on #1042 instead of creating a new request
now when trying to configure extension, there' nothing to configure. so I'm guessing this is doing the backup somewhere in the background.
only I'm not seeing any archive in the APP_DATA_FOLDER
at all. this is the reason for me asking...
possibly this has to do with Nextcloud snap confinement?
There is nothing to configure. Just an admin menu
Thanks for that screen shot... I'm not seeing that menu nor the button to "Backup now!"
Refresh/reload admin after activating
nope, that has no effect.
I've tried several options;
to no avail, I'm still not seeing that backup/restore admin menu
I wonder if Nextcloud is setting cache headers and prevents loading.
Will check.
Hey @the-djmaze, I've figured out how to get the backup/restore admin menu visible... I disabled the "integrate with Nextcloud" extension. obviously that extension has some issues.
Extension disabled and removed --> issue resolved
Thanks for your great support
@the-djmaze so the backup works fine and I can download the archive. sadly the restore process doesn't work at all there are no errors displayed and the restore gives me no feedback. even after 15 minutes wait time the settings and configs are not restored.
should I open a new issue or reopen this or #1042
Just open your logs and find out why yours is failing.
Mine works flawless
are you using Nextcloud snap?
Steps taken:
here's my log;
[PHP] Fehler: file_put_contents(/var/snap/nextcloud/common/nextcloud/data/appdata_snappymail/_data_/_default_/cache/CACHEDIR.TAG): Failed to open stream: No such file or directory at /var/snap/nextcloud/40721/nextcloud/extra-apps/snappymail/app/snappymail/v/2.35.4/app/libraries/MailSo/Cache/Drivers/File.php#31
POST /index.php/settings/apps/enable
von 93.104.236.100 von scuba um 18.03.2024, 15:29:04
cleared log and repeated process above, new log:
[lib] Fehler: ResourceLocator can not find a web root (root: /var/snap/nextcloud/current/nextcloud, file: extra-apps/snappymail/l10n/de.js, webRoot: , throw: false)
GET /index.php/settings/admin/additional
von 93.104.236.100 von scuba um 18.03.2024, 16:51:02
okay @the-djmaze .... it looks like this issue https://github.com/nextcloud-snap/nextcloud-snap/issues/2641 so we'll have to wait until that is resolved and retest.
Ok. Since it is not a normal Nextcloud and nextcloud-snap specific. I will close this and nextcloud-snap should fix issues.
@the-djmaze thanks for the backup & restore extension upgrade!
just realised, that without the Nextcloud (integrate) extension the auto complete for mail recipients would stop working. so that extension is not obligatory and must be active for address book integration.
thanks for your great work
Describe the bug unclear usage of backup extension
thanks for creating the backup extension. assuming that this extension will create a backup of snappymail settings & config for transfer/migration to a new/different instance.
please explain functionality, possibly point to documentation/manual
thanks for great software and brilliant support