mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 15:17:18 +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:
@@ -57,8 +57,13 @@ $STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox config --set "BASE_U
|
||||
msg_ok "Initialized ArchiveBox"
|
||||
|
||||
msg_info "Installing Extractors"
|
||||
$STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox install
|
||||
msg_ok "Installed Extractors"
|
||||
# One unreachable extractor must not sink the install: @postlight/parser pulls a git
|
||||
# dependency that npm refuses, and readability covers the same job.
|
||||
if $STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox install; then
|
||||
msg_ok "Installed Extractors"
|
||||
else
|
||||
msg_warn "Some extractors stayed unavailable - ArchiveBox runs without them"
|
||||
fi
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/archivebox.service
|
||||
|
||||
Reference in New Issue
Block a user