Package Details: archivebox 0.7.3-2

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.80
First Submitted: 2020-07-29 15:48 (UTC)
Last Updated: 2026-02-08 14:40 (UTC)

Pinned Comments

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

Latest Comments

1 2 3 4 Next › Last »

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.

Ur-Nammu commented on 2024-12-31 22:02 (UTC)

Anybody else getting a similar error, I just do not know what to make of it! Is a problem with: /home/USER/.cache/yay/archivebox/src/ArchiveBox/tests/test_extractors.py not being able to create the file "singlefile.html"?

============================================================= FAILURES ============================================================== _________ test_singlefile_works ___________

tmp_path = PosixPath('/tmp/pytest-of-w/pytest-3/test_singlefile_works0') process = CompletedProcess(args=['archivebox', 'init'], returncode=0, stdout=b'[+] Initializing a new ArchiveBox v0.7.3 collecti...r/bin/env: 'deno': No such file or directory\n/usr/bin/env: \xe2\x80\x98deno\xe2\x80\x99: No such file or directory\n") disable_extractors_dict = {'CASROOT': '/usr', 'CFLAGS': '-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOU...-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto', 'CHOST': 'x86_64-pc-linux-gnu', 'COLORTERM': 'truecolor', ...}

def test_singlefile_works(tmp_path, process, disable_extractors_dict):
    disable_extractors_dict.update({"USE_SINGLEFILE": "true"})
    add_process = subprocess.run(['archivebox', 'add', 'http://127.0.0.1:8080/static/example.com.html'],
                                  capture_output=True, env=disable_extractors_dict)
    archived_item_path = list(tmp_path.glob('archive/**/*'))[0]
    output_file = archived_item_path / "singlefile.html"
  assert output_file.exists()

E AssertionError: assert False E + where False = exists() E + where exists = PosixPath('/tmp/pytest-of-w/pytest-3/test_singlefile_works0/archive/1735680827.22333/singlefile.html').exists

/home/USER/.cache/yay/archivebox/src/ArchiveBox/tests/test_extractors.py:63: AssertionError ========================================================= warnings summary ========================================================== ../../../../../../../usr/lib/python3.12/site-packages/bottle.py:38 /usr/lib/python3.12/site-packages/bottle.py:38: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import base64, cgi, email.utils, functools, hmac, itertools, mimetypes,\

venv-test/lib/python3.12/site-packages/django/utils/encoding.py:266 /home/USER/.cache/yay/archivebox/src/ArchiveBox/venv-test/lib/python3.12/site-packages/django/utils/encoding.py:266: DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead. encoding = locale.getdefaultlocale()[1] or 'ascii'

archivebox/config.py:514 /home/USER/.cache/yay/archivebox/src/ArchiveBox/archivebox/config.py:514: DeprecationWarning: version is deprecated and will be removed in Python 3.14 'SQLITE_VERSION': {'default': lambda c: sqlite3.version},

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ====================================================== short test summary info ====================================================== FAILED tests/test_extractors.py::test_singlefile_works - AssertionError: assert False ======================================= 1 failed, 61 passed, 3 warnings in 433.76s (0:07:13) ======================================== ==> ERROR: A failure occurred in check(). Aborting... -> error making: archivebox-exit status 4 -> Failed to install the following packages. Manual intervention is required: archivebox - exit status 4

parkerlreed commented on 2024-11-01 17:33 (UTC) (edited on 2024-11-01 17:34 (UTC) by parkerlreed)

Two issues here one of which are with the PKGBUILD

python-pdm-backend and python-django are missing from deps

Tests starts up a server on 8080 which was already in use by qBittorrent on my system...

Even after all that, tests are still failing in mass on something else.

TomZander commented on 2024-10-17 13:33 (UTC)

After installing the suggested pdm-backend, the build seems to complete. But the tests fail. 2 of them anyway. * ArchiveBox/tests/test_extractors.py * ArchiveBox/tests/test_init.py

with: E ModuleNotFoundError: No module named 'django'