Closed matthew73210 closed 1 week ago
Hi, what have you used as folder for saving clips in the birdnet-go settings ?
You could try to change it to /data/clips for example
It just goes to /clips. If i shell into the container, I can find all the files under /data/clips
Here’s the config part :
audio:
source: "sysdefault" # audio source to use for analysis
export:
enabled: true # true to export audio clips containing indentified bird calls
debug: true # true to enable audio export debug messages
path: clips/ # path to audio clip export directory
type: wav # only wav supported for now
retention:
policy: usage # retention policy: none, age or usage
maxage: 30d # age policy: maximum age of clips to keep before starting evictions
maxusage: 80% # usage policy: percentage of disk usage to trigger eviction
minclips: 10 # minumum number of clips per species to keep before starting evictions


Cheers for the quick reply
On 7 Jun 2024, at 5:14 PM, Alexandre @.***> wrote:
Hi, what have you used as folder for saving clips in the birdnet-go settings ?
— Reply to this email directly, view it on GitHub https://github.com/alexbelgium/hassio-addons/issues/1424#issuecomment-2155044052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUWXSHTEIGRETMEX5AFULDZGHE4TAVCNFSM6AAAAABI63DJO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGA2DIMBVGI. You are receiving this because you authored the thread.
So the folder is correctly used I'm not sure what is the issue ?
if purge does not happen alas it would be an issue with the upstream container more than the addon...
and as everything is in go I can't do much compared to the BirdNET-pi addon …
Maybe i’m just a tad confused. I thourght that the /data/clips was supposed to appear in /addons/data/ContainerXXX (or something of the sort) as it’s mounted to that dir according to portainer?
Yep re purge probs a confg issue upstream
On 7 Jun 2024, at 5:43 PM, Alexandre @.***> wrote:
So the folder is correctly used I'm not sure what is the issue ?
if purge does not happen alas it would be an issue with the upstream container more than the afin
— Reply to this email directly, view it on GitHub https://github.com/alexbelgium/hassio-addons/issues/1424#issuecomment-2155093564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUWXSBRVOXAL2K652DB3B3ZGHIKHAVCNFSM6AAAAABI63DJO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGA4TGNJWGQ. You are receiving this because you authored the thread.
Indeed /data should be mapped to /mnt/data/supervisor/addons/data/*_birdnet-go as you indicate from the screenshot! So /clips would be in that directory
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Data not being purged. Looks like the config yaml is missing something. Copied the one from the birdnet-go github but the issues still happens. My folder is now 31 gb, and despite the data folder being mounted to addons, it doesn't appear there
Reproduction steps
Addon Logs
Architecture
amd64
OS
HAos