Compare commits

...

3 Commits

Author SHA1 Message Date
MickLesk
dce2984ef0 fix(open-archiver): approve pnpm build scripts before build:oss 2026-05-25 21:16:49 +02:00
community-scripts-pr-app[bot]
62a6122fa6 Update CHANGELOG.md (#14704)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-25 10:05:47 +00:00
Tobias
45953e857a karakeep: fix: pip config (#14703)
* fix: pip config

* Create pip.conf if not present
2026-05-25 12:05:16 +02:00
5 changed files with 21 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -43,6 +43,7 @@ function update_script() {
msg_info "Updating Open Archiver"
cd /opt/openarchiver
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
$STD pnpm approve-builds --yes
$STD pnpm run build:oss
$STD pnpm db:migrate
msg_ok "Updated Open Archiver"

View File

@@ -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"

View File

@@ -46,6 +46,7 @@ sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.en
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
$STD pnpm approve-builds --yes
$STD pnpm run build:oss
$STD pnpm db:migrate
msg_ok "Setup Open Archiver"