Skip to content

Backup app kills the config.php file #421

Description

@juliensl

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 !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions