Skip to content
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

Backup app kills the config.php file #421

Closed
juliensl opened this issue Sep 7, 2022 · 2 comments
Closed

Backup app kills the config.php file #421

juliensl opened this issue Sep 7, 2022 · 2 comments

Comments

@juliensl
Copy link

juliensl commented Sep 7, 2022

Hi everybody,

I am reporting an issue that can happen when backup app is uncorrectly used.

My problem appeared in 2022 April, but some people have it just few days ago, step to reproduce :

  • Begin the backup
  • Your disk become full because you do not have enough space
  • The backup and server crash
  • You delete the backup folder
  • You cannot connect yourself again to your server because the config.php file has been cleaned

Exemple of a config.php file after :

$CONFIG = array (
  'instanceid' => 'oc8ig6j7n1sq',
);

Actually, thanks to @kyrofa, we succeed to re-create a new config.php file, so I do not need help anymore.
But the problem could happen for other people.

Maybe you should add a "space verificator" before to begin the backup, to not fullfill the disk.

To see all the sources, you can find my first post here :
https://help.nextcloud.com/t/disk-full-after-trying-to-backup/144556
And my comments here : nextcloud-snap/nextcloud-snap#2162

Just to know, I am using Nextcloud with snap on an Ubuntu server.

Thank you for your work !

@ArtificialOwl
Copy link
Member

this might be fixed by nextcloud/server#34009

@ArtificialOwl
Copy link
Member

tested and can confirm it will be fixed in next release of NC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants