Running borgmatic without arguments or configuration files results in no output #1286

Closed
opened 2026-03-22 17:53:18 +00:00 by witten · 2 comments
Owner

What I'm trying to do and why

When running borgmatic without command-line arguments or any configuration files, borgmatic exits without output instead of the expected behavior of displaying an error.

Steps to reproduce

On a system without any borgmatic configuration files in the default locations (or as a user on a system without permissions to read those files), run:

borgmatic

Actual behavior

No output.

Expected behavior

/etc/borgmatic/config.yaml /etc/borgmatic.d /home/witten/.config/borgmatic/config.yaml /home/witten/.config/borgmatic.d: No valid configuration files found

summary:
/etc/borgmatic/config.yaml /etc/borgmatic.d /home/witten/.config/borgmatic/config.yaml /home/witten/.config/borgmatic.d: No valid configuration files found

Need some help? https://torsion.org/borgmatic/#issues

Other notes / implementation ideas

This is a regression caused by #262.

borgmatic version

2.1.3/main

borgmatic installation method

uv tool install --editable

Borg version

1.4.3

Python version

3.14.3

Database version (if applicable)

No response

Operating system and version

Manjaro stable

### What I'm trying to do and why When running borgmatic without command-line arguments or any configuration files, borgmatic exits without output instead of the expected behavior of displaying an error. ### Steps to reproduce On a system without any borgmatic configuration files in the default locations (or as a user on a system without permissions to read those files), run: ```bash borgmatic ``` ### Actual behavior No output. ### Expected behavior ``` /etc/borgmatic/config.yaml /etc/borgmatic.d /home/witten/.config/borgmatic/config.yaml /home/witten/.config/borgmatic.d: No valid configuration files found summary: /etc/borgmatic/config.yaml /etc/borgmatic.d /home/witten/.config/borgmatic/config.yaml /home/witten/.config/borgmatic.d: No valid configuration files found Need some help? https://torsion.org/borgmatic/#issues ``` ### Other notes / implementation ideas This is a regression caused by #262. ### borgmatic version 2.1.3/main ### borgmatic installation method uv tool install --editable ### Borg version 1.4.3 ### Python version 3.14.3 ### Database version (if applicable) _No response_ ### Operating system and version Manjaro stable
Author
Owner

Fixed in main!

Fixed in main!
Author
Owner

Released in borgmatic 2.1.4!

Released in borgmatic 2.1.4!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#1286
No description provided.