Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md in "base" contains incorrect crontab example, docker-compose example outdated #207

Open
JulesCornelissen opened this issue Feb 6, 2023 · 0 comments
Assignees
Labels

Comments

@JulesCornelissen
Copy link

The crontab.txt example found here does not match the crontab.txt file found in the same folder. Using the example found in the README.md file results in the following error:

borgmatic    | borgmatic 1.7.6
borgmatic    | borg 1.2.3
borgmatic    | apprise 1.2.1
borgmatic    | time="2023-02-06T19:58:22+01:00" level=info msg="read crontab: /etc/borgmatic.d/crontab.txt"
borgmatic    | time="2023-02-06T19:58:22+01:00" level=info msg="crontab is valid"
borgmatic    | The variable SUPERCRONIC_EXTRA_FLAGS is empty, starting normally
borgmatic    | time="2023-02-06T19:58:22+01:00" level=info msg="read crontab: /etc/borgmatic.d/crontab.txt"
borgmatic    | time="2023-02-06T20:00:00+01:00" level=info msg=starting iteration=0 job.command="PATH=$PATH:/usr/bin /usr/bin/borgmatic --stats -v 0 2>&1" job.position=0 job.schedule="0 20 * * *"
borgmatic    | time="2023-02-06T20:00:00+01:00" level=info msg="/bin/sh: /usr/bin/borgmatic: not found" channel=stdout iteration=0 job.command="PATH=$PATH:/usr/bin /usr/bin/borgmatic --stats -v 0 2>&1" job.position=0 job.schedule="0 20 * * *"
borgmatic    | time="2023-02-06T20:00:00+01:00" level=error msg="error running command: exit status 127" iteration=0 job.command="PATH=$PATH:/usr/bin /usr/bin/borgmatic --stats -v 0 2>&1" job.position=0 job.schedule="0 20 * * *"

Using the file supplied in the folder resolves the issue.

Furthermore, the README.md file notes that /root/.borgmatic: Note this is now redundant and has been deprecated, please remove this from your configs. However, this mount point is still included in docker-compose.yml.

And on a final note, thanks for creating and maintaining this project!

@grantbevis grantbevis self-assigned this Feb 7, 2023
@grantbevis grantbevis added the bug label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants