mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 18:29:35 +02:00
Compare commits
3 Commits
CrazyWolf1
...
fix/birdne
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37ce662831 | ||
|
|
62a6122fa6 | ||
|
|
45953e857a |
@@ -469,6 +469,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2026-05-25
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### 🐞 Bug Fixes
|
||||
|
||||
- karakeep: fix: pip config [@CrazyWolf13](https://github.com/CrazyWolf13) ([#14703](https://github.com/community-scripts/ProxmoxVE/pull/14703))
|
||||
|
||||
### 💾 Core
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
@@ -43,6 +43,7 @@ function update_script() {
|
||||
cp /opt/birdnet/birdnet-go /usr/local/bin/birdnet-go
|
||||
chmod +x /usr/local/bin/birdnet-go
|
||||
cp -r /opt/birdnet/libtensorflowlite_c.so /usr/local/lib/ || true
|
||||
cp -r /opt/birdnet/libonnxruntime.so /usr/local/lib/ || true
|
||||
ldconfig
|
||||
msg_ok "Deployed Binary"
|
||||
|
||||
|
||||
@@ -46,6 +46,14 @@ function update_script() {
|
||||
fi
|
||||
msg_ok "Update prepared"
|
||||
|
||||
if [ ! -f ~/.config/pip/pip.conf ]; then
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
fi
|
||||
|
||||
if grep -q "start:prod" /etc/systemd/system/karakeep-workers.service; then
|
||||
sed -i 's|^ExecStart=.*$|ExecStart=/usr/bin/node dist/index.mjs|' /etc/systemd/system/karakeep-workers.service
|
||||
systemctl daemon-reload
|
||||
|
||||
@@ -27,6 +27,7 @@ msg_info "Setting up BirdNET-Go"
|
||||
cp /opt/birdnet/birdnet-go /usr/local/bin/birdnet-go
|
||||
chmod +x /usr/local/bin/birdnet-go
|
||||
cp -r /opt/birdnet/libtensorflowlite_c.so /usr/local/lib/ || true
|
||||
cp -r /opt/birdnet/libonnxruntime.so /usr/local/lib/ || true
|
||||
ldconfig
|
||||
mkdir -p /opt/birdnet/data/clips
|
||||
msg_ok "Set up BirdNET-Go"
|
||||
|
||||
@@ -36,6 +36,11 @@ NODE_VERSION="24" NODE_MODULE="pnpm@${MODULE_VERSION}" setup_nodejs
|
||||
|
||||
msg_info "Installing external JavaScript Extension for yt-dlp"
|
||||
$STD pip install -U yt-dlp-ejs
|
||||
mkdir -p ~/.config/pip
|
||||
cat <<EOF >~/.config/pip/pip.conf
|
||||
[global]
|
||||
break-system-packages = true
|
||||
EOF
|
||||
msg_ok "Installed external JavaScript Extension for yt-dlp"
|
||||
|
||||
msg_info "Installing karakeep"
|
||||
|
||||
Reference in New Issue
Block a user