alexbelgium / hassio-addons

My homeassistant addons
MIT License
1.43k stars 209 forks source link

🐛 [Birdnet-Pi] Birdnet-Analysis fails to start #1478

Closed jeroenterheerdt closed 1 month ago

jeroenterheerdt commented 1 month ago

Description

Tried to start birdnet-analysis service but it fails to start. Web terminal and logs also don't work.

Reproduction steps

1. Tools > Services > BirdNet Analysis > Enable

Addon Logs

missed a large part, but seeing:

[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=View+Log HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:38 127.0.0.1:34158 200 GET /log/
[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /log/ HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:38 127.0.0.1:34158 200 GET /log/css/index.css
[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /log/css/index.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:38 127.0.0.1:34158 200 GET /log/css/xterm_customize.css
2024/07/14 20:00:38 127.0.0.1:34166 200 GET /log/config.js
[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /log/config.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:38 127.0.0.1:34166 200 GET /log/js/gotty.js
[14/Jul/2024:20:00:38 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /log/js/gotty.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:38 New client connected: 127.0.0.1:41488, connections: 1/0
[14/Jul/2024:20:00:50 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Overview HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
2024/07/14 20:00:50 Connection closed by client: 127.0.0.1:41488, connections: 0/0
[14/Jul/2024:20:00:50 -0700] 101 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /log/ws HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:50 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:50 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:50 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /spectrogram.png?nocache=1721012450 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:51 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?ajax_detections=true&previous_detection_identifier=undefined HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:51 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?ajax_left_chart=true HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:51 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?fetch_chart_string=true HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:51 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /todays_detections.php?ajax_detections=true&display_limit=undefined&hard_limit=5 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:54 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?ajax_detections=true&previous_detection_identifier=undefined HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:54 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /todays_detections.php?ajax_detections=true&display_limit=undefined&hard_limit=5 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:54 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?fetch_chart_string=true HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:57 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /todays_detections.php?ajax_detections=true&display_limit=undefined&hard_limit=5 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:57 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:00:57 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:02 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Streamlit HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:02 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:03 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/media/SourceSansPro-Regular.0d69e5ff5e92ac64a0c9.woff2 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:03 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/media/SourceSansPro-SemiBold.abed79cd0df1827e18cf.woff2 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:03 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/css/main.77d1c464.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:03 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/media/SourceSansPro-Bold.118dea98980e20a81ced.woff2 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:03 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/js/main.cc5b8325.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:04 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/static/js/9336.2d95d840.chunk.js HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:08 -0700] 101 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stats/_stcore/stream HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:08 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=System+Info HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/templates/phpsysinfo.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/gfx/html.gif HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/templates/vendor/bootstrap.min.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/templates/vendor/bootstrap-webapp.css HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/gfx/logo_32.gif HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:14 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/gfx/ajax-loader.gif HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=sorttable HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=transparency HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=jquery.treegrid HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=bootstrap-util HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?plugin=viewer&name=viewer_bootstrap HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=bootstrap-modal HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=phpsysinfo_bootstrap HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/gfx/attention.gif HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/js.php?name=jquery HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/xml.php?plugin=psstatus&json= HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/language/language.php?lang=en&plugin=psstatus HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:15 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/xml.php?plugin=viewer&json= HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:16 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/xml.php?json= HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:16 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/language/language.php?lang=en HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:16 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /phpsysinfo/gfx/reload.gif HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:18 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:20 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Services HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:20 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:28 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?submit=sudo+systemctl+enable+--now+birdnet_analysis.service HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:29 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:29 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:37 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
Sun Jul 14 20:01:37 PDT 2024    INFO 16 wav files waiting in /tmp/StreamData, birdnet_recording state is active
[14/Jul/2024:20:01:40 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Services HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:40 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:40 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:45 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?submit=sudo+systemctl+restart+birdnet_analysis.service HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:45 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:45 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:48 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Tools HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:48 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:52 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Services HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:52 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:52 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:55 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Tools HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:01:59 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /stream HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
{"level":"error","ts":1721012519.3536665,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","upstream":"localhost:8000","duration":0.140342749,"request":{"remote_ip":"127.0.0.1","remote_port":"51580","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"localhost:8082","uri":"/stream","headers":{"Range":["bytes=0-"],"X-Forwarded-Proto":["http"],"X-Remote-User-Name":["jeroen"],"Priority":["i"],"Sec-Fetch-Site":["same-origin"],"Accept-Language":["en-US,en;q=0.9,nl;q=0.8"],"Cookie":["REDACTED"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0"],"X-Forwarded-Host":["localhost:8082"],"Sec-Ch-Ua":["\"Not/A)Brand\";v=\"8\", \"Chromium\";v=\"126\", \"Microsoft Edge\";v=\"126\""],"Dnt":["1"],"Sec-Ch-Ua-Mobile":["?0"],"X-Remote-User-Display-Name":["Jeroen"],"X-Ingress-Path":["/api/hassio_ingress/z08WeMwDcovut9xdP4tQb8IdDzA0oumsQzXXeiRyoS4"],"Accept":["*/*"],"Sec-Fetch-Mode":["no-cors"],"X-Forwarded-For":["127.0.0.1"],"X-Hass-Source":["core.ingress"],"Sec-Fetch-Dest":["empty"],"Referer":["https://dutchdatadudeha.duckdns.org/api/hassio_ingress/z08WeMwDcovut9xdP4tQb8IdDzA0oumsQzXXeiRyoS4/index.php?stream=play"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Remote-User-Id":["753bd629d48643d78fe325310829db90"],"Content-Length":["0"]}},"error":"reading: context canceled"}
[14/Jul/2024:20:01:59 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?submit=sudo+systemctl+restart+birdnet_analysis.service HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
Sun Jul 14 20:02:39 PDT 2024    INFO 20 wav files waiting in /tmp/StreamData, birdnet_recording state is active
Sun Jul 14 20:03:40 PDT 2024    INFO 23 wav files waiting in /tmp/StreamData, birdnet_recording state is active
[14/Jul/2024:20:03:41 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:41 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/bird.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:41 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/bnp.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:41 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:41 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /spectrogram.png?nocache=1721012621 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:42 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?ajax_detections=true&previous_detection_identifier=undefined HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:42 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /overview.php?ajax_left_chart=true HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:42 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /todays_detections.php?ajax_detections=true&display_limit=undefined&hard_limit=5 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:43 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Tools HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:43 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:46 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?view=Services HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:03:46 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:04:01 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /views.php?submit=sudo+systemctl+enable+--now+birdnet_analysis.service HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:04:01 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /style.css?v=7.14.24 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)
[14/Jul/2024:20:04:01 -0700] 200 66.235.8.112, 172.30.33.5, 172.30.32.1(172.30.32.2) GET /images/menu.png HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0)

Architecture

aarch64

OS

HAos

alexbelgium commented 1 month ago

Hi all that is just showing you opening various pages of your birdnet. Could you please post your add-on startup log? Thanks

jeroenterheerdt commented 1 month ago

some parts are likely missing as I copied this from the add-on logs that has limited room:

Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------

 Add-on: BirdNET-pi
 realtime acoustic bird classification system
-----------------------------------------------------------
 Add-on version: 0.13-71
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.4  (amd64 / qemux86-64)
 Home Assistant Core: 2024.7.1
 Home Assistant Supervisor: 2024.06.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
-----------------------------------------------------------
 Provided by: https://github.com/alexbelgium/hassio-addons 
-----------------------------------------------------------
/etc/cont-init.d/00-global_var.sh: executing
opied '/data/StreamData/2024-07-15-birdnet-RTSP_1-02:33:13.wav' -> '/home/pi/BirdSongs/StreamData/2024-07-15-birdnet-RTSP_1-02:33:13.wav'
removed '/data/StreamData/2024-07-15-birdnet-RTSP_1-02:33:13.wav'
copied '/data/StreamData/analyzing_now.txt' -> '/home/pi/BirdSongs/StreamData/analyzing_now.txt'
removed '/data/StreamData/analyzing_now.txt'
... done

/etc/cont-init.d/31-checks.sh: executing

[09:03:41] INFO: Checking your birndet.conf file integrity

/etc/cont-init.d/33-mqtt.sh: executing
---
MQTT addon is active on your system! Birdnet-pi is now automatically configured to send its ouptut to MQTT
MQTT user : addons
MQTT password : eu3vohMap4hohshepee8eeboo2Rah0eimei6ohng9bahngie5toic4ogula4uiMe
MQTT broker : tcp://core-mosquitto:1883
---
Data will be posted to the topic : 'birdnet'
Json data : {'Date', 'Time', 'ScientificName', 'CommonName', 'Confidence', 'SpeciesCode', 'ClipName', 'url'}
---
/etc/cont-init.d/71-newfeatures.sh: executing

[09:03:41] INFO: Adding optional features

/etc/cont-init.d/81-modifications.sh: executing

[09:03:42] INFO: Adapting webui
... removing System Controls from webui as should be used from HA
... removing Ram drive from webui as it is handled from HA
... correct services to start as pi
... send services log to container logs
... avoid preselecting options in include and exclude lists
... show container logs in /logs
... caddyfile modifications
... correcting webui paths

/etc/cont-init.d/91-nginx_ingress.sh: executing

[09:03:42] INFO: Adapting for ingress
... setting up nginx
... ensuring restricted area access
... adapt Caddyfile for ingress

/etc/cont-init.d/92-ssl.sh: executing

/etc/cont-init.d/99-run.sh: executing

[09:03:42] INFO: Setting password for the user pi
... done

[09:03:42] INFO: Starting system services
... setting timezone to America/Los_Angeles
... correcting systemctl
... correcting datetimectl
... adapting labels according to birdnet.conf file to en
Archive:  /home/pi/BirdNET-Pi/model/labels_nm.zip
  inflating: /home/pi/BirdNET-Pi/model/labels_en.txt  
Archive:  /home/pi/BirdNET-Pi/model/labels_nm.zip
  inflating: /home/pi/BirdNET-Pi/model/labels_en.txt  
... starting cron
... starting dbus
Starting system message bus: dbus.

[09:03:44] INFO: Starting BirdNET-Pi services
+ my_dir=/home/pi/BirdNET-Pi/scripts
+ sudo systemctl stop birdnet_recording.service
+ services=(chart_viewer.service spectrogram_viewer.service icecast2.service birdnet_recording.service birdnet_analysis.service birdnet_log.service birdnet_stats.service)
+ for i in "${services[@]}"
+ sudo systemctl restart chart_viewer.service
+ for i in "${services[@]}"
+ sudo systemctl restart spectrogram_viewer.service
Setting up watches.
Watches established.
+ for i in "${services[@]}"
+ sudo systemctl restart icecast2.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_recording.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_analysis.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_log.service
2024/07/15 09:03:54 GoTTY is starting with command: cat /proc/1/fd/1
2024/07/15 09:03:54 HTTP server is listening at: http://127.0.0.1:8080/log/
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_stats.service
... done

/etc/cont-init.d/31-checks.sh: executing

[09:03:41] INFO: Checking your birndet.conf file integrity

/etc/cont-init.d/33-mqtt.sh: executing
---
MQTT addon is active on your system! Birdnet-pi is now automatically configured to send its ouptut to MQTT
MQTT user : addons
MQTT password : eu3vohMap4hohshepee8eeboo2Rah0eimei6ohng9bahngie5toic4ogula4uiMe
MQTT broker : tcp://core-mosquitto:1883
---
Data will be posted to the topic : 'birdnet'
Json data : {'Date', 'Time', 'ScientificName', 'CommonName', 'Confidence', 'SpeciesCode', 'ClipName', 'url'}
---
/etc/cont-init.d/71-newfeatures.sh: executing

[09:03:41] INFO: Adding optional features

/etc/cont-init.d/81-modifications.sh: executing

[09:03:42] INFO: Adapting webui
... removing System Controls from webui as should be used from HA
... removing Ram drive from webui as it is handled from HA
... correct services to start as pi
... send services log to container logs
... avoid preselecting options in include and exclude lists
... show container logs in /logs
... caddyfile modifications
... correcting webui paths

/etc/cont-init.d/91-nginx_ingress.sh: executing

[09:03:42] INFO: Adapting for ingress
... setting up nginx
... ensuring restricted area access
... adapt Caddyfile for ingress

/etc/cont-init.d/92-ssl.sh: executing

/etc/cont-init.d/99-run.sh: executing

[09:03:42] INFO: Setting password for the user pi
... done

[09:03:42] INFO: Starting system services
... setting timezone to America/Los_Angeles
... correcting systemctl
... correcting datetimectl
... adapting labels according to birdnet.conf file to en
Archive:  /home/pi/BirdNET-Pi/model/labels_nm.zip
  inflating: /home/pi/BirdNET-Pi/model/labels_en.txt  
Archive:  /home/pi/BirdNET-Pi/model/labels_nm.zip
  inflating: /home/pi/BirdNET-Pi/model/labels_en.txt  
... starting cron
... starting dbus
Starting system message bus: dbus.

[09:03:44] INFO: Starting BirdNET-Pi services
+ my_dir=/home/pi/BirdNET-Pi/scripts
+ sudo systemctl stop birdnet_recording.service
+ services=(chart_viewer.service spectrogram_viewer.service icecast2.service birdnet_recording.service birdnet_analysis.service birdnet_log.service birdnet_stats.service)
+ for i in "${services[@]}"
+ sudo systemctl restart chart_viewer.service
+ for i in "${services[@]}"
+ sudo systemctl restart spectrogram_viewer.service
Setting up watches.
Watches established.
+ for i in "${services[@]}"
+ sudo systemctl restart icecast2.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_recording.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_analysis.service
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_log.service
2024/07/15 09:03:54 GoTTY is starting with command: cat /proc/1/fd/1
2024/07/15 09:03:54 HTTP server is listening at: http://127.0.0.1:8080/log/
+ for i in "${services[@]}"
+ sudo systemctl restart birdnet_stats.service
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5

  You can now view your Streamlit app in your browser.

  URL: http://localhost:8501/stats

+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
 URL: http://localhost:8501/stats

+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
+ for i in {1..5}
+ systemctl is-active --quiet birdnet_analysis.service
+ sleep 5
... using gotty-x86_64 in phpsysinfo

Starting the upstream container

╔═════════════════════════════════════════════════════════════════════════╗
║                                                                         ║
║        Some of the contents of the folder /custom-services.d            ║
║      have write permissions for others, which is a security risk.       ║
║                                                                         ║
║  Please review the permissions of this folder and its contents to make  ║
║     sure they are owned by root, and can only be modified by root.      ║
║                                                                         ║
╚═════════════════════════════════════════════════════════════════════════╝
[custom-init] Service files found in /custom-services.d
[custom-init] 00-php_pfm.sh: service detected, copying...
[custom-init] 00-php_pfm.sh: copied
[custom-init] 01-avahi.sh: service detected, copying...
[custom-init] 01-avahi.sh: copied
[custom-init] 02-caddy.sh: service detected, copying...
[custom-init] 02-caddy.sh: copied
[custom-init] 02-nginx.sh: service detected, copying...
[custom-init] 02-nginx.sh: copied
[custom-init] 30-monitoring.sh: service detected, copying...
[custom-init] 30-monitoring.sh: copied
[custom-init] birdnet_to_mqtt.sh: service detected, copying...
[custom-init] birdnet_to_mqtt.sh: copied
[migrations] started
[migrations] no migrations found
───────────────────────────────────────
  _____ __ __ _____ _____ _____ _____ 
 |     |  |  |   __|_   _|     |     |
 |   --|  |  |__   | | | |  |  | | | |
 |_____|_____|_____| |_| |_____|_|_|_|
       _____ __ __ _ __    ____  
      | __  |  |  | |  |  |    \ 
      | __ -|  |  | |  |__|  |  |
      |_____|_____|_|_____|____/ 

  Based on images from linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    0
User GID:    0
───────────────────────────────────────
[custom-init] No custom files found, skipping...
Starting service: php pfm
Starting service: throttlerecording
Starting service: mqtt automated publish
Starting service: nginx
Starting service: avahi daemon
Found user 'avahi' (UID 104) and group 'avahi' (GID 106).
Successfully dropped root privileges.
avahi-daemon 0.8 starting up.
Loading service file /etc/avahi/services/http.service.
Joining mDNS multicast group on interface eth0.IPv4 with address 172.30.33.14.
New relevant interface eth0.IPv4 for mDNS.
Joining mDNS multicast group on interface lo.IPv6 with address ::1.
New relevant interface lo.IPv6 for mDNS.
Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
New relevant interface lo.IPv4 for mDNS.
Network interface enumeration completed.
Registering new address record for 172.30.33.14 on eth0.IPv4.
Registering new address record for ::1 on lo.*.
Registering new address record for 127.0.0.1 on lo.IPv4.
[ls.io-init] done.
Server startup complete. Host name is 2937404c-birdnet-pi.local. Local service cookie is 1224765368.
Service "BirdNET-Pi 2937404c-birdnet-pi" (/etc/avahi/services/http.service) successfully established.
Starting service: caddy
{"level":"info","ts":1721059465.26466,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
{"level":"info","ts":1721059465.268899,"msg":"adapted config to JSON","adapter":"caddyfile"}
{"level":"info","ts":1721059465.2714307,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
{"level":"info","ts":1721059465.2726061,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000574600"}
{"level":"info","ts":1721059465.2770424,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
{"level":"info","ts":1721059465.277452,"logger":"http.log","msg":"server running","name":"srv1","protocols":["h1","h2","h3"]}
{"level":"info","ts":1721059465.2778492,"msg":"autosaved config (load with --resume flag)","file":"/home/pi/.config/caddy/autosave.json"}
{"level":"info","ts":1721059465.2779047,"msg":"serving initial configuration"}
{"level":"info","ts":1721059465.2831502,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/home/pi/.local/share/caddy"}
{"level":"info","ts":1721059465.2834802,"logger":"tls","msg":"finished cleaning storage units"}
Mon Jul 15 09:05:23 PDT 2024    INFO 113 wav files waiting in /tmp/StreamData, birdnet_recording state is active
Mon Jul 15 09:05:26 PDT 2024 WARNING stopped birdnet_recording service
./run: line 83: apprisealert: command not found
Starting service: throttlerecording
alexbelgium commented 1 month ago

I see nothing wrong here please check your birdnet.conf if there is not duplicate values!

jeroenterheerdt commented 1 month ago

how do I check birdnet.conf? I am using it as a HA Add-on

alexbelgium commented 1 month ago

With the web terminal in the options (that's needs to be enabled first in the services) you can access it with micro /config/birdnet.conf or with the Filebrowser addon in /addon_configs/*birdnet-pi

jeroenterheerdt commented 1 month ago

here's the conf. these services don't work for me even after I tried to manually enable them. Clicking 'enable' just results in

Anyway, here's the conf file:

################################################################################
#                    Configuration settings for BirdNET-Pi                     #
################################################################################

# Optional: Site Title for banner

SITE_NAME="buildkitsandbox"

#--------------------- Required: Latitude, and Longitude ----------------------#

## The shell substitution below guesses these based on your network. THESE NEED
## TO BE CHANGED TO STATIC VALUES
## Please only go to 4 decimal places. Example:43.3984

LATITUDE=36.677696
LONGITUDE=-78.37471

#--------------------------------- Model --------------------------------------#
#_____________The variable below configures which BirdNET model is_____________#
#______________________used for detecting bird audio.__________________________#
#_It's recommended that you only change these values through the web interface.#

MODEL=BirdNET_GLOBAL_6K_V2.4_Model_FP16
SF_THRESH=0.03
DATA_MODEL_VERSION=1

#---------------------  BirdWeather Station Information -----------------------#
#_____________The variable below can be set to have your BirdNET-Pi____________#
#__________________also act as a BirdWeather listening station_________________#

BIRDWEATHER_ID=

#-----------------------  Web Interface User Password  ------------------------#
#____________________The variable below sets the 'birdnet'_____________________#
#___________________user password for the Live Audio Stream,___________________#
#_________________Tools, System Links, and the Processed files ________________#

## CADDY_PWD is the plaintext password (that will be hashed) and used to access
## certain parts of the web interface

CADDY_PWD=

#-------------------------  Live Audio Stream  --------------------------------#
#_____________The variable below configures/enables the live___________________#
#_____________________________audio stream.____________________________________#

## ICE_PWD is the password that icecast2 will use to authenticate ffmpeg as a
## trusted source for the stream. You will never need to enter this manually
## anywhere other than here and it stays on 'localhost.'

ICE_PWD=birdnetpi

#-----------------------  Web-hosting/Caddy File-server -----------------------#
#_______The three variables below can be set to enable internet access_________#
#____________to your data,(e.g., extractions, raw data, live___________________#
#______________audio stream, BirdNET.selection.txt files)______________________#

## BIRDNETPI_URL is the URL where the extractions, data-set, and live-stream
## will be web-hosted. If you do not own a domain, or would just prefer to keep
## the BirdNET-Pi on your local network, keep this EMPTY.

BIRDNETPI_URL=

#----------------------------  RTSP Stream URL  -------------------------------#

## If RTSP_STREAM is set, the system will use the RTSP stream as its audio
## source instead of recording its own audio. If this variable is kept empty,
## BirdNET-Pi will default to recording its own audio.

RTSP_STREAM="rtsp://192.168.1.15/ch0_2.h264"

## RTSP_STREAM_TO_LIVESTREAM is the index, so 0 means the first stream
RTSP_STREAM_TO_LIVESTREAM="0"

#-----------------------  Apprise Miscellanous Configuration -------------------#

APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
APPRISE_NOTIFICATION_BODY="A $comname ($sciname)  was just detected with a confidence of $confidence ($reason)"
APPRISE_NOTIFY_EACH_DETECTION=0
APPRISE_NOTIFY_NEW_SPECIES=0
APPRISE_WEEKLY_REPORT=1
APPRISE_NOTIFY_NEW_SPECIES_EACH_DAY=0
APPRISE_MINIMUM_SECONDS_BETWEEN_NOTIFICATIONS_PER_SPECIES=0
APPRISE_ONLY_NOTIFY_SPECIES_NAMES=""
APPRISE_ONLY_NOTIFY_SPECIES_NAMES_2=""

#----------------------  Flickr Images API Configuration -----------------------#
## If FLICKR_API_KEY is set, the web interface will try and display bird images 
## for each detection. If FLICKR_FILTER_EMAIL is set, the images will only be 
## displayed from a particular Flickr user (e.g. yourself).

FLICKR_API_KEY=
FLICKR_FILTER_EMAIL=

#----------------------  Site to pull info from Images  ------------------------#
## ALLABOUTBIRDS or EBIRD
## default ALLABOUTBIRDS, EBIRD better for eurasian locations

INFO_SITE="ALLABOUTBIRDS"

#-------------------------------  Color scheme  --------------------------------#
## light or dark
## default light

COLOR_SCHEME="light"

#------------------------------  Disk Management  ------------------------------#
## FULL_DISK can be set to configure how the system reacts to a full disk
## purge = Remove the oldest day's worth of recordings
## keep = Keep all data and 'stop_core_services.sh'

FULL_DISK=purge

## Maximum amount of files to keep for a given specie (0 = keep all)
## Files from the last 7 days, and files protected from purge, are not taken into
## account in this number

MAX_FILES_SPECIES=0

################################################################################
#--------------------------------  Defaults  ----------------------------------#
################################################################################

## BIRDNET_USER is for scripts to easily find where BirdNET-Pi is installed
## DO NOT EDIT!

BIRDNET_USER=pi

## RECS_DIR is the location birdnet_analysis.service will look for the data-set
## it needs to analyze. Be sure this directory is readable and writable for
## the BIRDNET_USER.

RECS_DIR=/home/pi/BirdSongs

## REC_CARD is the sound card you would want the birdnet_recording.service to
## use. Leave this as "default" to use PulseAudio (recommended), or use
## the output from "aplay -L" to specify an ALSA device.

REC_CARD=default

## PROCESSED is the directory where the formerly 'Analyzed' files are moved
## after extractions have been made from them. This includes both WAVE and
## BirdNET.selection.txt files.

PROCESSED=/home/pi/BirdSongs/Processed

## EXTRACTED is the directory where the extracted audio selections are moved.

EXTRACTED=/home/pi/BirdSongs/Extracted

## OVERLAP is the value in seconds which BirdNET should use when analyzing
## the data. The values must be between 0.0-2.9.

OVERLAP=0.0

## CONFIDENCE is the minimum confidence level from 0.0-1.0 BirdNET's analysis
## should reach before creating an entry in the BirdNET.selection.txt file.
## Don't set this to 1.0 or you won't have any results.

CONFIDENCE=0.7

## SENSITIVITY is the detection sensitivity from 0.5-1.5.

SENSITIVITY=1.25

## Configuration of the frequency shifting feature, useful for earing impaired people.

## FREQSHIFT_TOOL

FREQSHIFT_TOOL=sox

## If the tool is ffmpeg, you have to define a freq. shift from HI to LO:
## FREQSHIFT_HI
FREQSHIFT_HI=6000
## FREQSHIFT_LO
FREQSHIFT_LO=3000

## FREQSHIFT_RECONNECT_DELAY
FREQSHIFT_RECONNECT_DELAY=4000

## If the tool is sox, you have to define the pitch shift (amount of 100ths of semintone)
## FREQSHIFT_PITCH
FREQSHIFT_PITCH=-1500

## CHANNELS holds the variable that corresponds to the number of channels the
## sound card supports.

CHANNELS=2

## PRIVACY_THRESHOLD can be set to enable sensitivity to Human sounds. This
## setting is an effort to introduce privacy into the data collection.
## The PRIVACY_THRESHOLD value represents a percentage of the entire species
## list used during analysis. If a human sound is predicted anywhere within
## the precentile set below, no data is collected for that audio chunk.
## Valid range: 0-3

PRIVACY_THRESHOLD=0

## RECORDING_LENGTH sets the length of the recording that BirdNET-Lite will
## analyze.

RECORDING_LENGTH=15

## EXTRACTION_LENGTH sets the length of the audio extractions that will be made
## from each BirdNET-Lite detection. An empty value will use the default of 6
## seconds.

EXTRACTION_LENGTH=

## AUDIOFMT set the audio format that sox should use for the extractions.
## The default is mp3. Available formats are: 8svx aif aifc aiff aiffc al amb
## amr-nb amr-wb anb au avr awb caf cdda cdr cvs cvsd cvu dat dvms f32 f4 f64 f8
## fap flac fssd gsm gsrt hcom htk ima ircam la lpc lpc10 lu mat mat4 mat5 maud
## mp2 mp3 nist ogg paf prc pvf raw s1 s16 s2 s24 s3 s32 s4 s8 sb sd2 sds sf sl
## sln smp snd sndfile sndr sndt sou sox sph sw txw u1 u16 u2 u24 u3 u32 u4 u8
## ub ul uw vms voc vorbis vox w64 wav wavpcm wv wve xa xi
## Note: Most have not been tested.

AUDIOFMT=mp3

## DATABASE_LANG is the language used for the bird species database
DATABASE_LANG=en

## HEARTBEAT_URL is a location to ping every time some analysis is done
## no information is sent to the the URL, its a heart beat to show that the
## analysis is continuing

HEARTBEAT_URL=

## SILENCE_UPDATE_INDICATOR is for quieting the display of how many commits
## your installation is behind by, relative to the Github repo. This number
## appears next to "Tools" when you're 50 or more commits behind.

SILENCE_UPDATE_INDICATOR=0

## RAW_SPECTROGRAM is for removing the axes and labels of the spectrograms
## that are generated by Sox for each detection for a cleaner appearance.

RAW_SPECTROGRAM=0

## CUSTOM_IMAGE and CUSTOM_IMAGE_TITLE allow you to show a custom image on the
## Overview page of your BirdNET-Pi. This can be used to show a dynamically 
## updating picture of your garden, for example.

CUSTOM_IMAGE=
CUSTOM_IMAGE_TITLE=""

## These are just for debugging
LAST_RUN=
THIS_RUN=
IDFILE=/home/pi/BirdNET-Pi/IdentifiedSoFar.txt
LogLevel_BirdnetRecordingService="error"
LogLevel_LiveAudioStreamService="error"
LogLevel_SpectrogramViewerService="error"
alexbelgium commented 1 month ago

Thanks the conf is right... And when you click enable there is nothing in the log? Like birdnet_analysis error... Something? And has it never work, or was there a version that was OK?

jeroenterheerdt commented 1 month ago

there is nothing in the logs, except many Starting service: throttlerecording. nothing gets added when I try to activate the services that keep failing:

this is my first install, so no older version to compare to.

alexbelgium commented 1 month ago

Mmh you could try a full uninstall, full reinstall, but without the rtsp field? I wonder if the rtsp field isn't causing the issue as it doesn't seem to connect... What is strange also is that a wav file "2024-07-15-birdnet-RTSP_1-02:33:13.wav" seems to be stuck in the analysis directory. Full uninstall should solve that

jeroenterheerdt commented 1 month ago

Did that, did not configure stream. Right off the bat analysis service is not starting. Nothing in the logs unless I am looking in the wrong place. Web terminal starts but doesn't function.

alexbelgium commented 1 month ago

Thanks I'm off for 2 weeks actually so have less time than usual to check things... It's really weird. All the throttling errors are just because it tries to restart the services. I'll try to think of something

Edit : how much ram and storage space do you have? One could be full?

alexbelgium commented 1 month ago

Sorry for all that ; it's the first time a user system fails to start services in this manner and I'm trying to understand why also it fails silently. Could you go in the web terminal from ip:port (not ingress) and type sudo systemctl start birdnet_analysis and sudo systemctl start birdnet_recording? Perhaps you'll have more debug info by doing that

jeroenterheerdt commented 1 month ago

what's the username/password for the web ui on ip:port? pi + pwd configured in add-on config don't work.

update: it's birdnet without a password. (would be great if that was in the readme...had to find it by searching)

alexbelgium commented 1 month ago

For webui, it is birdnet as user and the password configured in the birdnet.conf file, with empty as default. pi + password configured in the add-on options is for web terminal

jeroenterheerdt commented 1 month ago

no output on these two commands:

sudo systemctl start birdnet_analysis
sudo systemctl start birdnet_recording

journalctl says no journal files were found.

not sure what to do.

alexbelgium commented 1 month ago

That's so weird... No error should mean startup OK. For example if you type sudo systemctl status birdnet_analysis it should output the status. Logically failed if the service didn't start.

You're the first user I see with this issue alas... Perhaps you should try birdnet-go add-on it is a totally different logic so should work out of the box

edit : journalctl sees no internal logs as they are sent directly to rhe add-on logs within HA

jeroenterheerdt commented 1 month ago

birdnet-go works fine with the same setup (same HA, same mic).

alexbelgium commented 1 month ago

Glad it works but it is strange... When I'm back I'll look to improve logging. Thanks for your understanding

jeroenterheerdt commented 1 month ago

When I said birdnetgo works, I had just started it. It only works for like 10 minutes and the needs a restart. Nothing indicating errors in the logs, the UI still works fine, just no detection while I can even hear birds in the audio stream. What is going on with these addons?

alexbelgium commented 1 month ago

What is going on with these addons?

Well if it works for everyone and two add-ons fail I in similar manner for you, I wonder if the issue is with the add-ons

jeroenterheerdt commented 1 month ago

I don't have any issues with any other addons. I am running this on beefy hardware. But something is not working in the proxmox vm with docker combination I am using because even birdnet on a docker vm (so no extra ha layer) fails

alexbelgium commented 3 weeks ago

Hi, indeed looks like proxmox has additional requirements https://github.com/Nachtzuster/BirdNET-Pi/discussions/111