You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to make BirdNET-Pi run on a Orange pi Zero 2 I've run in to this message looking in the Log:
Jun 18 14:48:40 orangepizero2 systemd[1]: birdnet_stats.service: Scheduled restart job, restart counter is at 37.
Jun 18 14:48:40 orangepizero2 systemd[1]: Stopped BirdNET Stats.
Jun 18 14:48:40 orangepizero2 systemd[1]: Started BirdNET Stats.
Jun 18 14:48:42 orangepizero2 systemd[1]: birdnet_stats.service: Main process exited, code=killed, status=4/ILL
Jun 18 14:48:42 orangepizero2 systemd[1]: birdnet_stats.service: Failed with result 'signal'.
Jun 18 14:48:47 orangepizero2 systemd[1]: birdnet_stats.service: Scheduled restart job, restart counter is at 38.
Jun 18 14:48:47 orangepizero2 systemd[1]: Stopped BirdNET Stats.
Jun 18 14:48:47 orangepizero2 systemd[1]: Started BirdNET Stats.
Jun 18 14:48:49 orangepizero2 systemd[1]: birdnet_stats.service: Main process exited, code=killed, status=4/ILL
Jun 18 14:48:49 orangepizero2 systemd[1]: birdnet_stats.service: Failed with result 'signal'.
Jun 18 14:48:50 orangepizero2 systemd[1]: birdnet_server.service: Scheduled restart job, restart counter is at 2.
Jun 18 14:48:50 orangepizero2 systemd[1]: Stopped BirdNET Analysis Server.
Jun 18 14:48:50 orangepizero2 systemd[1]: Started BirdNET Analysis Server.
Jun 18 14:48:51 orangepizero2 systemd[1]: birdnet_server.service: Main process exited, code=killed, status=4/ILL
Jun 18 14:48:51 orangepizero2 systemd[1]: birdnet_server.service: Failed with result 'signal'.
Jun 18 14:48:55 orangepizero2 systemd[1]: birdnet_stats.service: Scheduled restart job, restart counter is at 39.
Jun 18 14:48:55 orangepizero2 systemd[1]: Stopped BirdNET Stats.
Jun 18 14:48:55 orangepizero2 systemd[1]: Started BirdNET Stats.
Can anyone help me?
Thanks.
(birdnet) orangepizero2:~:% sudo service birdnet_stats status
● birdnet_stats.service - BirdNET Stats
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_stats.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Sun 2023-06-18 14:57:10 MSK; 210ms ago
Process: 23638 ExecStart=/home/wissio/BirdNET-Pi/birdnet/bin/streamlit run /home/wissio/BirdNET-Pi/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath /stats (code=killed, signal=ILL)
Main PID: 23638 (code=killed, signal=ILL)
(birdnet) orangepizero2:~:% sudo service birdnet_server status
● birdnet_server.service - BirdNET Analysis Server
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_server.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Sun 2023-06-18 14:57:42 MSK; 745ms ago
Process: 23889 ExecStart=/home/wissio/BirdNET-Pi/birdnet/bin/python3 /usr/local/bin/server.py (code=killed, signal=ILL)
Main PID: 23889 (code=killed, signal=ILL)
diagnostic_info.sh log:
(birdnet) orangepizero2:~:% bash ~/BirdNET-Pi/scripts/print_diagnostic_info.sh
========== caddy status ==========
● caddy.service - Caddy
Loaded: loaded (/lib/systemd/system/caddy.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/caddy.service.d
└─override.conf
Active: active (running) since Sun 2023-06-18 14:17:13 MSK; 41min ago
Docs: https://caddyserver.com/docs/
Main PID: 2133 (caddy)
Tasks: 9 (limit: 1126)
Memory: 42.9M
CGroup: /system.slice/caddy.service
└─2133 /usr/bin/caddy run --environ --config /etc/caddy/Caddyfile
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"warn","ts":1687087033.2618263,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"info","ts":1687087033.2960825,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"info","ts":1687087033.2982388,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/var/lib/caddy/.local/share/caddy"}
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"info","ts":1687087033.2997975,"logger":"tls","msg":"finished cleaning storage units"}
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"info","ts":1687087033.3029928,"msg":"autosaved config (load with --resume flag)","file":"/var/lib/caddy/.config/caddy/autosave.json"}
Jun 18 14:17:13 orangepizero2 systemd[1]: Started Caddy.
Jun 18 14:17:13 orangepizero2 caddy[2133]: {"level":"info","ts":1687087033.3177397,"msg":"serving initial configuration"}
Jun 18 14:28:40 orangepizero2 caddy[2133]: {"level":"error","ts":1687087720.588129,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"context canceled"}
Jun 18 14:36:57 orangepizero2 caddy[2133]: {"level":"error","ts":1687088217.593468,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"context canceled"}
Jun 18 14:37:38 orangepizero2 caddy[2133]: {"level":"error","ts":1687088258.872954,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"context canceled"}
========== birdnet_analysis status ==========
● birdnet_analysis.service - BirdNET Analysis
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_analysis.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Sun 2023-06-18 14:44:10 MSK; 14min ago
Process: 17676 ExecStart=/usr/local/bin/birdnet_analysis.sh (code=killed, signal=TERM)
Main PID: 17676 (code=killed, signal=TERM)
Jun 18 14:44:08 orangepizero2 systemd[1]: Started BirdNET Analysis.
Jun 18 14:44:10 orangepizero2 systemd[1]: Stopping BirdNET Analysis...
Jun 18 14:44:10 orangepizero2 systemd[1]: birdnet_analysis.service: Succeeded.
Jun 18 14:44:10 orangepizero2 systemd[1]: Stopped BirdNET Analysis.
========== birdnet_log status ==========
● birdnet_log.service - BirdNET Analysis Log
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_log.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:44:12 MSK; 14min ago
Main PID: 17786 (gotty)
Tasks: 8 (limit: 1126)
Memory: 1.6M
CGroup: /system.slice/birdnet_log.service
└─17786 /usr/local/bin/gotty --address localhost -p 8080 -P log --title-format BirdNET-Pi Log birdnet_log.sh
Jun 18 14:44:12 orangepizero2 systemd[1]: Started BirdNET Analysis Log.
Jun 18 14:44:12 orangepizero2 gotty[17786]: 2023/06/18 14:44:12 Loading config file at: /home/wissio/.gotty
Jun 18 14:44:12 orangepizero2 gotty[17786]: 2023/06/18 14:44:12 GoTTY is starting with command: birdnet_log.sh
Jun 18 14:44:12 orangepizero2 gotty[17786]: 2023/06/18 14:44:12 HTTP server is listening at: http://127.0.0.1:8080/log/
========== birdnet_recording status ==========
● birdnet_recording.service - BirdNET Recording
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_recording.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:44:11 MSK; 14min ago
Main PID: 17781 (bash)
Tasks: 2 (limit: 1126)
Memory: 464.0K
CGroup: /system.slice/birdnet_recording.service
├─17781 bash /usr/local/bin/birdnet_recording.sh
└─24302 sleep 1
Jun 18 14:44:11 orangepizero2 systemd[1]: Started BirdNET Recording.
========== birdnet_server status ==========
● birdnet_server.service - BirdNET Analysis Server
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_server.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Sun 2023-06-18 14:58:27 MSK; 8s ago
Process: 24227 ExecStart=/home/wissio/BirdNET-Pi/birdnet/bin/python3 /usr/local/bin/server.py (code=killed, signal=ILL)
Main PID: 24227 (code=killed, signal=ILL)
========== birdnet_stats status ==========
● birdnet_stats.service - BirdNET Stats
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/birdnet_stats.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:58:35 MSK; 235ms ago
Main PID: 24310 (streamlit)
Tasks: 1 (limit: 1126)
Memory: 3.9M
CGroup: /system.slice/birdnet_stats.service
└─24310 /home/wissio/BirdNET-Pi/birdnet/bin/python3 /home/wissio/BirdNET-Pi/birdnet/bin/streamlit run /home/wissio/BirdNET-Pi/scripts/plotly_streamlit.py --browser.gatherUsageStats false --server.address localhost --server.baseUrlPath /stats
Jun 18 14:58:35 orangepizero2 systemd[1]: Started BirdNET Stats.
========== chart_viewer status ==========
● chart_viewer.service - BirdNET-Pi Chart Viewer Service
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/chart_viewer.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: signal) since Sun 2023-06-18 14:58:13 MSK; 21s ago
Process: 24129 ExecStart=/home/wissio/BirdNET-Pi/birdnet/bin/python3 /usr/local/bin/daily_plot.py (code=killed, signal=ILL)
Main PID: 24129 (code=killed, signal=ILL)
========== extraction status ==========
● extraction.service - BirdNET BirdSound Extraction
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/extraction.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:44:11 MSK; 14min ago
Main PID: 17771 (bash)
Tasks: 2 (limit: 1126)
Memory: 352.0K
CGroup: /system.slice/extraction.service
├─17771 bash -c while true;do extract_new_birdsounds.sh;sleep 3;done
└─24281 sleep 3
Jun 18 14:44:11 orangepizero2 systemd[1]: Started BirdNET BirdSound Extraction.
========== web_terminal status ==========
● web_terminal.service - BirdNET-Pi Web Terminal
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/web_terminal.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:17:09 MSK; 41min ago
Main PID: 1992 (gotty)
Tasks: 8 (limit: 1126)
Memory: 1.4M
CGroup: /system.slice/web_terminal.service
└─1992 /usr/local/bin/gotty --address localhost -w -p 8888 -P terminal --title-format BirdNET-Pi Terminal login
Jun 18 14:17:09 orangepizero2 systemd[1]: Started BirdNET-Pi Web Terminal.
Jun 18 14:17:09 orangepizero2 gotty[1992]: 2023/06/18 14:17:09 GoTTY is starting with command: login
Jun 18 14:17:09 orangepizero2 gotty[1992]: 2023/06/18 14:17:09 Permitting clients to write input to the PTY.
Jun 18 14:17:09 orangepizero2 gotty[1992]: 2023/06/18 14:17:09 HTTP server is listening at: http://127.0.0.1:8888/terminal/
========== spectrogram_viewer status ==========
● spectrogram_viewer.service - BirdNET-Pi Spectrogram Viewer
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/spectrogram_viewer.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:44:10 MSK; 14min ago
Main PID: 17742 (bash)
Tasks: 2 (limit: 1126)
Memory: 380.0K
CGroup: /system.slice/spectrogram_viewer.service
├─17742 bash /usr/local/bin/spectrogram.sh
└─24283 sleep 3
Jun 18 14:44:10 orangepizero2 systemd[1]: Started BirdNET-Pi Spectrogram Viewer.
========== livestream status ==========
● livestream.service - BirdNET-Pi Live Stream
Loaded: loaded (/home/wissio/BirdNET-Pi/templates/livestream.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-06-18 14:44:14 MSK; 14min ago
Main PID: 17812 (bash)
Tasks: 7 (limit: 1126)
Memory: 9.0M
CGroup: /system.slice/livestream.service
├─17812 bash /usr/local/bin/livestream.sh
└─17813 ffmpeg -nostdin -loglevel error -ac 2 -f alsa -i default -acodec libmp3lame -b:a 320k -ac 2 -content_type audio/mpeg -f mp3 icecast://source:birdnetpi@localhost:8000/stream -re
Jun 18 14:44:14 orangepizero2 systemd[1]: Started BirdNET-Pi Live Stream.
========= Syslog snippet ==========
tail: cannot open '/var/log/syslog' for reading: Permission denied
========== Mounted File Systems ==========
Filesystem Size Used Avail Use% Mounted on
udev 470M 0 470M 0% /dev
tmpfs 97M 9.7M 87M 10% /run
/dev/mmcblk0p1 29G 3.5G 26G 13% /
tmpfs 483M 0 483M 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 483M 0 483M 0% /tmp
/dev/zram1 49M 5.3M 40M 12% /var/log
tmpfs 97M 4.0K 97M 1% /run/user/1000
========== Memory Usage ==========
total used free shared buff/cache available
Mem: 965Mi 165Mi 305Mi 12Mi 493Mi 771Mi
Swap: 482Mi 0B 482Mi
========== Load Averages ==========
14:58:36 up 32 min, 1 user, load average: 2.33, 1.97, 1.73
========== CPU Info ==========
processor : 0
BogoMIPS : 48.00
Features : fp asimd aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 48.00
Features : fp asimd aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 48.00
Features : fp asimd aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 48.00
Features : fp asimd aes pmull sha1 sha2 crc32
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
========== System Temperature ==========
CPU Temperature: 55.55°C / 131.99°F
========== Extra Info ==========
........................................IPs.....................................
LAN IP: 192.168.1.140
Public IP: 83.243.65.233
..................................`vcgencmd stats`..............................
sudo: vcgencmd: command not found
sudo: vcgencmd: command not found
Binary:
....................................Clock Speeds................................
sudo: vcgencmd: command not found
arm:
sudo: vcgencmd: command not found
core:
sudo: vcgencmd: command not found
h264:
sudo: vcgencmd: command not found
isp:
sudo: vcgencmd: command not found
v3d:
sudo: vcgencmd: command not found
uart:
sudo: vcgencmd: command not found
pwm:
sudo: vcgencmd: command not found
emmc:
sudo: vcgencmd: command not found
pixel:
sudo: vcgencmd: command not found
vec:
sudo: vcgencmd: command not found
hdmi:
sudo: vcgencmd: command not found
dpi:
........................................Volts...................................
sudo: vcgencmd: command not found
core:
sudo: vcgencmd: command not found
sdram_c:
sudo: vcgencmd: command not found
sdram_i:
sudo: vcgencmd: command not found
sdram_p:
.....................................Caddyfile..................................
http:// {
root * /home/wissio/BirdSongs/Extracted
file_server browse
handle /By_Date/* {
file_server browse
}
handle /Charts/* {
file_server browse
}
reverse_proxy /stream localhost:8000
php_fastcgi unix//run/php/php7.4-fpm.sock
reverse_proxy /log* localhost:8080
reverse_proxy /stats* localhost:8501
reverse_proxy /terminal* localhost:8888
}
.................................... Crontab....................................
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
*/5 * * * * wissio /usr/local/bin/disk_check.sh >/dev/null 2>&1
*/3 * * * * wissio /usr/local/bin/cleanup.sh >/dev/null 2>&1
@reboot wissio /usr/local/bin/cleanup.sh >/dev/null 2>&1
0 1 * * 1 wissio /usr/local/bin/weekly_report.sh >/dev/null 2>&1
*/5 * * * * wissio /usr/local/bin/disk_check.sh >/dev/null 2>&1
*/3 * * * * wissio /usr/local/bin/cleanup.sh >/dev/null 2>&1
@reboot wissio /usr/local/bin/cleanup.sh >/dev/null 2>&1
0 1 * * 1 wissio /usr/local/bin/weekly_report.sh >/dev/null 2>&1
========== Connected Microphone Devices ==========
**** List of CAPTURE Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC sun50iw9-codec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndahub [sndahub], device 0: Media Stream sunxi-ahub-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndahub [sndahub], device 1: System Stream sunxi-ahub-aif2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: sndahub [sndahub], device 2: Accompany Stream sunxi-ahub-aif3-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: Webcam [C922 Pro Stream Webcam], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
null
Discard all samples (playback) or generate zero samples (capture)
default
Playback/recording through the PulseAudio sound server
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hw:CARD=audiocodec,DEV=0
audiocodec,
Direct hardware device without any conversions
plughw:CARD=audiocodec,DEV=0
audiocodec,
Hardware device with all software conversions
sysdefault:CARD=audiocodec
audiocodec,
Default Audio Device
dsnoop:CARD=audiocodec,DEV=0
audiocodec,
Direct sample snooping device
usbstream:CARD=audiocodec
audiocodec
USB Stream Output
hw:CARD=sndahub,DEV=0
sndahub,
Direct hardware device without any conversions
hw:CARD=sndahub,DEV=1
sndahub,
Direct hardware device without any conversions
hw:CARD=sndahub,DEV=2
sndahub,
Direct hardware device without any conversions
plughw:CARD=sndahub,DEV=0
sndahub,
Hardware device with all software conversions
plughw:CARD=sndahub,DEV=1
sndahub,
Hardware device with all software conversions
plughw:CARD=sndahub,DEV=2
sndahub,
Hardware device with all software conversions
sysdefault:CARD=sndahub
sndahub,
Default Audio Device
dsnoop:CARD=sndahub,DEV=0
sndahub,
Direct sample snooping device
dsnoop:CARD=sndahub,DEV=1
sndahub,
Direct sample snooping device
dsnoop:CARD=sndahub,DEV=2
sndahub,
Direct sample snooping device
usbstream:CARD=sndahub
sndahub
USB Stream Output
usbstream:CARD=sndhdmi
sndhdmi
USB Stream Output
hw:CARD=Webcam,DEV=0
C922 Pro Stream Webcam, USB Audio
Direct hardware device without any conversions
plughw:CARD=Webcam,DEV=0
C922 Pro Stream Webcam, USB Audio
Hardware device with all software conversions
sysdefault:CARD=Webcam
C922 Pro Stream Webcam, USB Audio
Default Audio Device
front:CARD=Webcam,DEV=0
C922 Pro Stream Webcam, USB Audio
Front output / input
dsnoop:CARD=Webcam,DEV=0
C922 Pro Stream Webcam, USB Audio
Direct sample snooping device
usbstream:CARD=Webcam
C922 Pro Stream Webcam
USB Stream Output
========= Date and Time ==========
Sun 18 Jun 2023 02:58:37 PM MSK
===========================================
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When trying to make BirdNET-Pi run on a Orange pi Zero 2 I've run in to this message looking in the Log:
Can anyone help me?
Thanks.
diagnostic_info.sh log:
Beta Was this translation helpful? Give feedback.
All reactions