Skip to content

Cannot recreate from backup #733

@esnitko

Description

@esnitko

Description
Trying to recreate from backup to ensure backups are functional is unsuccessful. Despite all files being present in the running and the backup, the backup does not recognize a single repo as a repo. Diving into the bare repos themselves, they function correctly and all data is present, as expected.

Steps to reproduce the behavior:

  1. Stop docker container
  2. sudo tar the folder with compose file and data folder
  3. untar to another folder or machine and recreate container
  4. Et viola! Now none of your repositories are recognized as repositories.

Expected behavior
That it functions identically to how it did before.

Environment:

  • OS: Containerized with docker compose
  • Version: soft-serve/latest

Additional comments
There's also an error when trying to force push to recreate the repo, which is git detecting dubious ownership in the current directory. Again, I went through the existing files for the live and verified that permissions and ownership matched, and even on my other machine the username and uid/gid are identical.

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