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

Where can I find logs? #333

Open
r-vd-woude opened this issue Jun 14, 2024 · 1 comment
Open

Where can I find logs? #333

r-vd-woude opened this issue Jun 14, 2024 · 1 comment

Comments

@r-vd-woude
Copy link

r-vd-woude commented Jun 14, 2024

Hey! Thanks for this awesome container, great work.

This might be a very simple question, but my container is failing (changing status to unhealthy and not making backups).
I can access and backup to my remote repo after execing into the container, so something goes probably wrong with the configuration settings.
However, I can not seem to find logs.
The default docker logs contains no info except the following

s6-overlay-suexec: warning: unable to gain root privileges (is the suid bit set?)
[custom-init] Docker CLI variable not set, skipping...
[custom-init] No custom packages found, skipping...
-----------------------------------
Software Versions:
-----------------------------------
apprise 1.7.6
borg 1.2.8
borgmatic 1.8.11
dockercli not installed
composecli not installed
python 3.12.3
-----------------------------------
Time Zone: Europe/Berlin
-----------------------------------
Applying crontab.txt
Cron job set as: 
 */5 * * * *

    all values are hidden

crond: crond (busybox 1.36.1) started, log level 8

I have looked into the temp directory in the container, but could not find any info there.

Not sure how to troubleshoot my failing container now.

Thanks again!

@ericswpark
Copy link

If your cronjobs are set up, then the output from the cronjobs should be redirected to the Docker logs. Manual invocations of Borgmatic within the Docker container will just go directly to stdout if you have an interactive TTY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants