Skip to content

Cannot run. "Config file already exists" though no config file exists. #2477

@F1zzyD

Description

@F1zzyD

Describe the bug

Trying to set up a working local version of OpenCloud and running into several errors. When trying to fix the errors and filling in the gaps from the documentation, I and trying to add a directory for OC_CONFIG_DIR. After defining a directory that I have created and OpenCloud should have permission to access, running docker compose up makes the project restart every second, claiming that config file already exists, even though no config file exists in the directory and I have completely removed all volumes that OpenCloud has created. There is no config data other than that stored in the config folder that is included when pulling the project from GitHub.

Steps to reproduce

  1. Attempt to run OpenCloud
  2. An error will probably show on first run.
  3. Change OC_CONFIG_DIR
  4. Opencloud continuously restarts with Could not create config: config file already exists, use --force-overwrite to overwrite or --diff to show diff
  5. Attempt to run --force-overwrite
  6. Run OpenCloud again
  7. Same error
  8. Must delete ALL files and ALL docker volumes, etc. in order to run OpenCloud again.

Expected behavior

OpenCloud should run with no errors

Actual behavior

See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions