Encryption_passphrase was not defined? #146

Closed
opened 2019-03-04 12:52:38 +00:00 by user542 · 3 comments

Inside of the config.yaml file, I have the line: encryption_passphrase: "my_passphrase"

There's no special characters in my passphrase besides these: -,&

Here's the error I get when running sudo borgmatic --verbosity 1 --dry-run:

An error occurred while parsing a configuration file at /etc/borgmatic/config.yaml:

Key 'encryption_passphrase' was not defined. Path: '/location'

Inside of the config.yaml file, I have the line: encryption_passphrase: "my_passphrase" There's no special characters in my passphrase besides these: -,& Here's the error I get when running sudo borgmatic --verbosity 1 --dry-run: An error occurred while parsing a configuration file at /etc/borgmatic/config.yaml: Key 'encryption_passphrase' was not defined. Path: '/location'
Owner

The error message makes it sound like you have the encryption_passhprase in the location: section, but it should actually be in the storage: section. Is it possible that you have the storage: section header commented out?

If that isn't the problem, then please include your borgmatic configuration file here (sensitive info redacted).

Thanks!

The error message makes it sound like you have the `encryption_passhprase` in the `location:` section, but it should actually be in the `storage:` section. Is it possible that you have the `storage:` section header commented out? If that isn't the problem, then please include your borgmatic configuration file here (sensitive info redacted). Thanks!
witten added the
question / support
label 2019-03-04 17:51:00 +00:00
Author

Nice catch, that was exactly it. Thanks! :)

Nice catch, that was exactly it. Thanks! :)
Owner

Glad to hear it! Let me know if you have any other issues.

Glad to hear it! Let me know if you have any other issues.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#146
No description provided.