chaoss / chaoss/CollectOSS

If you dont specify the logs location, itll go to an unhelpful place [v1.1RC1 known issue]

Open
#400 0 comments 0 reactions 1 assignee Claimed by @MoralCode View on GitHub
bug
Dominant language
Python
Stars
13
Forks
17
Avg merge
6h 59m
Merged PRs (30d)
1

Description

> 40 GB of logs saved to `/collectoss/.venv/lib/python3.11/logs` in docker.
>
> ugh make it stoooppppppp

_Originally posted by @MoralCode in [#51](https://github.com/chaoss/CollectOSS/issues/51#issuecomment-4745430298)_

because v1.1RC1 changed how startup and config merge works, it inevitably touched the configuration that sets the log directory.

For instances where the `COLLECTOSS_LOGS_DIRECTORY` environment variable is not set in the compose file for the core container, the default logging location becomes `/collectoss/.venv/lib/python3.11/logs` inside the container, causing disk space to steadily fill as one specific `/var/lib/docker/overlay2` directory balloons in size at a linear rate until it runs the system low enough on disk space that collection stops due to rabbitmq limits.

This is likely a bug with how CollectOSS determines locations when installed in different ways.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.