[PR #1140] Fix chromium installation for ArchiveBox #2863

Closed
opened 2025-11-20 05:32:13 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/1140

State: closed
Merged: Yes


🛠️ Note:
We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal!
🎮 Note for game-related scripts: These have a lower likelihood of being merged.


✍️ Description

When I installed ArchiveBox using the normal script, it was not able to execute anything relating to chromium. This seems to be fixed when giving the archivebox user a home directory and installing chromium through playwright using this user. Otherwise, playwright installs chromium in /root/.cache, which the archivebox user cannot access and ArchiveBox itself detects the installation incorrectly as being in /nonexistent/.cache/...
Using this script, ArchiveBox is being installed correctly on my Proxmox 8.2.4 installation.


🛠️ Type of Change

Please check the relevant options:

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/1140 **State:** closed **Merged:** Yes --- > **🛠️ Note:** > We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal! > 🎮 **Note for game-related scripts:** These have a lower likelihood of being merged. --- ## ✍️ Description When I installed ArchiveBox using the normal script, it was not able to execute anything relating to chromium. This seems to be fixed when giving the archivebox user a home directory and installing chromium through playwright using this user. Otherwise, playwright installs chromium in /root/.cache, which the archivebox user cannot access and ArchiveBox itself detects the installation incorrectly as being in /nonexistent/.cache/... Using this script, ArchiveBox is being installed correctly on my Proxmox 8.2.4 installation. --- ## 🛠️ Type of Change Please check the relevant options: - [X] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts) --- ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [X] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [X] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [ ] Documentation updated (I have updated any relevant documentation)
saavagebueno added the pull-request label 2025-11-20 05:32:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2863