I ended up doing a clean install for (what I assume) reasons completely unrelated to archivebox, and made sure to do step 3 first before step 2, and it works. Thank you.
Search Criteria
Package Details: archivebox 0.7.3-2
Package Actions
| Git Clone URL: | https://aur.archlinux.org/archivebox.git (read-only, click to copy) |
|---|---|
| Package Base: | archivebox |
| Description: | Open source self-hosted web archiving |
| Upstream URL: | https://github.com/ArchiveBox/ArchiveBox |
| Licenses: | MIT |
| Submitter: | imlonghao |
| Maintainer: | jasongodev |
| Last Packager: | jasongodev |
| Votes: | 11 |
| Popularity: | 0.36 |
| First Submitted: | 2020-07-29 15:48 (UTC) |
| Last Updated: | 2026-02-08 14:40 (UTC) |
Dependencies (13)
- chromium (helium-browserAUR, ungoogled-chromium-binAUR, ungoogled-chromium-widevine-binAUR, omarchy-chromium-binAUR, ungoogled-chromiumAUR, chromium-clang-avx2-binAUR, ungoogled-chromium-xdgAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-cuda-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR, ffmpeg-whisperAUR)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod, nodejs-lts-krypton)
- postlight-parserAUR
- procps-ng (procps-ng-gitAUR)
- python311AUR
- readability-extractor (readability-extractor-gitAUR)
- ripgrep (ripgrep-gitAUR)
- single-file-cliAUR
- wget (wget-gitAUR)
- yt-dlp (yt-dlp-gitAUR, neodlpAUR, yt-dlp-nightly-binAUR)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
Required by (0)
Sources (3)
Yae commented on 2026-03-28 02:02 (UTC)
jasongodev commented on 2026-03-22 19:43 (UTC)
@Yae Is doing step #3 regarding changing permissions and ownership BEFORE step #2 solves the issue? Because if it does then I will change these instructions and do further tests.
Yae commented on 2026-03-16 16:15 (UTC)
I hope this is the right place to ask this question...
I'm following the pinned instructions, however, I get stuck on 'sudo -u archivebox archivebox init', it returns this error:
[+] Initializing a new ArchiveBox v0.7.3 collection...
[+] Building archive folder structure... + ./archive, ./sources, ./logs... Traceback (most recent call last): File "/usr/bin/archivebox", line 8, in <module> sys.exit(main()) ^^^^^^ File "/opt/archivebox/lib/python3.11/site-packages/archivebox/cli/init.py", line 140, in main run_subcommand( File "/opt/archivebox/lib/python3.11/site-packages/archivebox/cli/init.py", line 80, in run_subcommand module.main(args=subcommand_args, stdin=stdin, pwd=pwd) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/archivebox/lib/python3.11/site-packages/archivebox/cli/archivebox_init.py", line 43, in main init( File "/opt/archivebox/lib/python3.11/site-packages/archivebox/util.py", line 116, in typechecked_function return func(args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/opt/archivebox/lib/python3.11/site-packages/archivebox/main.py", line 350, in init Path(SOURCES_DIR).mkdir(exist_ok=True) File "/usr/lib/python3.11/pathlib.py", line 1116, in mkdir os.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/var/archivebox/sources'
Is there something simple I'm missing?
picokan commented on 2026-02-15 11:24 (UTC)
Thank you.
jasongodev commented on 2026-02-08 14:43 (UTC)
################################################################################
!!! IMPORTANT INSTRUCTIONS, READ CAREFULLY !!!
################################################################################
##
## AUR/archivebox includes a systemd service startup template.
##
## To run archivebox automatically during startup, do the following:
##
## Assuming your ArchiveBox OUTPUT_DIR is /var/archivebox
##
## 1. Create the archivebox system user if you haven't done yet:
##
## echo 'u archivebox 911 "ArchiveBox User"' > /usr/lib/sysusers.d/archivebox.conf
## sudo systemd-sysusers
##
## 2. Initialize the ArchiveBox OUTPUT_DIR. It is recommended to do this
## as the archivebox user to ensure correct permissions from the start:
##
## cd /var/archivebox
## sudo -u archivebox archivebox init
##
## 3. Ensure ownership and permissions are correct for the archivebox user:
##
## sudo chown -R archivebox:archivebox /var/archivebox
## sudo chmod -R 755 /var/archivebox
##
## 4. Set the WorkingDirectory for the systemd service.
## Run the following command to create a configuration override:
##
## sudo systemctl edit archivebox
##
## In the editor, add the following lines and save:
##
## [Service]
## WorkingDirectory=/var/archivebox
##
## 5. Enable and start the archivebox service:
##
## sudo systemctl enable --now archivebox
##
################################################################################
micwoj92 commented on 2026-01-20 20:28 (UTC) (edited on 2026-01-20 20:30 (UTC) by micwoj92)
@jasongodev If you want to skip the hassle with 0.8.x rc releases, then declares support for python3.14 https://github.com/ArchiveBox/ArchiveBox/blob/dev/pyproject.toml#L26
Edit: nvm, these are onlt officially declare support for 3.12. Only dev branch declares higher version support.
jasongodev commented on 2026-01-12 18:26 (UTC) (edited on 2026-01-12 18:27 (UTC) by jasongodev)
Good day everyone, as you may have noticed I am the new maintainer of this package. After careful inspection of the whole installation routine I was able to identify that the errors during installation are caused by the incompatible Python version. The upstream source is only compatible up to Python 3.11.
I will do a refactor of the PKGBUILD to make it use Python 3.11 via pyenv and to fully isolate the build dependencies under venv as oppose to the current system-wide dependency approach. This way it will make ArchiveBox's dependencies isolated from the rolling release nature of Arch Linux.
I will update this package in a matter of 2-3 days once all testing are done.
texer22 commented on 2025-05-06 20:58 (UTC) (edited on 2025-05-06 20:59 (UTC) by texer22)
I can't start archivebox.
bash: /usr/bin/archivebox: cannot execute: required file not found
TomZander commented on 2025-02-21 09:25 (UTC) (edited on 2025-02-21 09:25 (UTC) by TomZander)
Can't start installing since one of the git repos tries to check out a non existing branch;
-> Creating working copy of django-taggit git repo...
fatal: bad object refs/remotes/origin/pre-commit-ci-update-config
DanteDragan commented on 2025-01-27 14:21 (UTC)
Can't install due to failing tests.
Pinned Comments
jasongodev commented on 2026-02-08 14:43 (UTC)