mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-08 12:01:01 +02:00
Treat extractors as optional
@postlight/parser depends on a git URL and npm refuses to fetch those, so one unreachable extractor aborted the whole install; readability and trafilatura cover the same job and provision fine.
This commit is contained in:
+3
-1
@@ -83,7 +83,9 @@ EOF
|
||||
ln -sf /opt/archivebox/venv/bin/archivebox /usr/local/bin/archivebox
|
||||
cd /opt/archivebox/data
|
||||
$STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox init
|
||||
$STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox install
|
||||
# npm refuses the git dependency behind @postlight/parser, so treat extractors as optional.
|
||||
$STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox install ||
|
||||
msg_warn "Some extractors stayed unavailable - ArchiveBox runs without them"
|
||||
msg_ok "Updated ArchiveBox"
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
Reference in New Issue
Block a user