[GH-ISSUE #1551] Bug: v0.8.5rc* dev builds ignore TIMEOUT and some other config vars #3941

Closed
opened 2026-03-15 01:03:27 +03:00 by kerem · 1 comment
Owner

Originally created by @prurigro on GitHub (Oct 18, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1551

Describe the bug

Pretty minor, but withi v0.8.5 an error appears at the top saying:

\[!] Warning: TIMEOUT is set too low! (currently set to TIMEOUT=3000 seconds)
    You must allow *at least* 5 seconds for indexing and archive methods to run succesfully.
    (Setting it to somewhere between 30 and 3000 seconds is recommended)

This seems to appear for any timeout value (I previously had 60 seconds and got the same error)

Steps to reproduce

  1. Run ArchiveBox with the config below (the error appears at least with add and --version)
  2. Observe the error at the top of the output
[SERVER_CONFIG]
SECRET_KEY = "secret"

[DEPENDENCY_CONFIG]
YOUTUBEDL_BINARY = "yt-dlp"
CHROME_BINARY = "chromium"

[GENERAL_CONFIG]
TIMEOUT = 3000
USE_CHROME = false

ArchiveBox version

!] Warning: TIMEOUT is set too low! (currently set to TIMEOUT=3000 seconds)
    You must allow *at least* 5 seconds for indexing and archive methods to run succesfully.
    (Setting it to somewhere between 30 and 3000 seconds is recommended)

    If you want to make ArchiveBox run faster, disable specific archive methods instead:
        https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#archive-method-toggles

 0.8.5
ArchiveBox v 0.8.5 COMMIT_HASH=unknown BUILD_TIME=2024-10-09 17:12:28 1728493948
IN_DOCKER=False IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.11.3-zen1-1-zen-x86_64-with-glibc2.40 PYTHON=Cpython
FS_ATOMIC=True FS_REMOTE=False FS_USER=1000:100 FS_PERMS=644
DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND=ripgrep LDAP=False

 Dependency versions:
 X  node                  None         not found Apps aren't loaded yet.
 X  npm                   None         not found Apps aren't loaded yet.
 X  pip                   None         not found Apps aren't loaded yet.
 X  python                None         not found Apps aren't loaded yet.
 X  sqlite                None         not found Apps aren't loaded yet.
 X  django                None         not found Apps aren't loaded yet.
 X  playwright            None         not found Apps aren't loaded yet.
 X  puppeteer             None         not found Apps aren't loaded yet.
 X  ldap                  None         not found Apps aren't loaded yet.
 X  rg                    None         not found Apps aren't loaded yet.
 X  sonic                 None         not found Apps aren't loaded yet.
 X  chromium              None         not found Apps aren't loaded yet.
 X  curl                  None         not found Apps aren't loaded yet.
 X  git                   None         not found Apps aren't loaded yet.
 X  postlight-parser      None         not found Apps aren't loaded yet.
 X  readability-extractor None         not found Apps aren't loaded yet.
 X  single-file           None         not found Apps aren't loaded yet.
 X  wget                  None         not found Apps aren't loaded yet.
 X  yt-dlp                None         not found Apps aren't loaded yet.
 X  ffmpeg                None         not found Apps aren't loaded yet.

 Source-code locations:
 √  PACKAGE_DIR           33 files        valid     ~/.local/pipx/venvs/archivebox/lib/python3.12/site-packages/archivebox
 √  TEMPLATES_DIR         3 files         valid     ~/.local/pipx/venvs/archivebox/lib/python3.12/site-packages/archivebox/templates
 X  CUSTOM_TEMPLATES_DIR  missing         invalid   ./user_templates
 √  LIB_DIR               2 files         valid     ./lib/x86_64-linux
 √  TMP_DIR               2 files         valid     ./tmp

 Data locations:
 √  DATA_DIR              14 files        valid     ~/Documents/Sync/ArchiveBox
 √  CONFIG_FILE           268.0 Bytes     valid     ./ArchiveBox.conf
 √  SQL_INDEX             1.6 MB          valid     ./index.sqlite3
 √  QUEUE_DATABASE        92.0 KB         valid     ./queue.sqlite3
 √  ARCHIVE_DIR           60 files        valid     ./archive
 √  SOURCES_DIR           78 files        valid     ./sources
 √  PERSONAS_DIR          1 files         valid     ./personas
 √  LOGS_DIR              7 files         valid     ./logs
 √  CACHE_DIR             0 files         valid     ./cache

(I'm not sure why it says none for all of the dependencies as pretty well all of them are installed)

Originally created by @prurigro on GitHub (Oct 18, 2024). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1551 #### Describe the bug Pretty minor, but withi v0.8.5 an error appears at the top saying: ``` \[!] Warning: TIMEOUT is set too low! (currently set to TIMEOUT=3000 seconds) You must allow *at least* 5 seconds for indexing and archive methods to run succesfully. (Setting it to somewhere between 30 and 3000 seconds is recommended) ``` This seems to appear for any timeout value (I previously had 60 seconds and got the same error) #### Steps to reproduce 1. Run ArchiveBox with the config below (the error appears at least with `add` and `--version`) 2. Observe the error at the top of the output ``` [SERVER_CONFIG] SECRET_KEY = "secret" [DEPENDENCY_CONFIG] YOUTUBEDL_BINARY = "yt-dlp" CHROME_BINARY = "chromium" [GENERAL_CONFIG] TIMEOUT = 3000 USE_CHROME = false ``` #### ArchiveBox version ``` !] Warning: TIMEOUT is set too low! (currently set to TIMEOUT=3000 seconds) You must allow *at least* 5 seconds for indexing and archive methods to run succesfully. (Setting it to somewhere between 30 and 3000 seconds is recommended) If you want to make ArchiveBox run faster, disable specific archive methods instead: https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration#archive-method-toggles 0.8.5 ArchiveBox v 0.8.5 COMMIT_HASH=unknown BUILD_TIME=2024-10-09 17:12:28 1728493948 IN_DOCKER=False IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.11.3-zen1-1-zen-x86_64-with-glibc2.40 PYTHON=Cpython FS_ATOMIC=True FS_REMOTE=False FS_USER=1000:100 FS_PERMS=644 DEBUG=False IS_TTY=True TZ=UTC SEARCH_BACKEND=ripgrep LDAP=False Dependency versions: X node None not found Apps aren't loaded yet. X npm None not found Apps aren't loaded yet. X pip None not found Apps aren't loaded yet. X python None not found Apps aren't loaded yet. X sqlite None not found Apps aren't loaded yet. X django None not found Apps aren't loaded yet. X playwright None not found Apps aren't loaded yet. X puppeteer None not found Apps aren't loaded yet. X ldap None not found Apps aren't loaded yet. X rg None not found Apps aren't loaded yet. X sonic None not found Apps aren't loaded yet. X chromium None not found Apps aren't loaded yet. X curl None not found Apps aren't loaded yet. X git None not found Apps aren't loaded yet. X postlight-parser None not found Apps aren't loaded yet. X readability-extractor None not found Apps aren't loaded yet. X single-file None not found Apps aren't loaded yet. X wget None not found Apps aren't loaded yet. X yt-dlp None not found Apps aren't loaded yet. X ffmpeg None not found Apps aren't loaded yet. Source-code locations: √ PACKAGE_DIR 33 files valid ~/.local/pipx/venvs/archivebox/lib/python3.12/site-packages/archivebox √ TEMPLATES_DIR 3 files valid ~/.local/pipx/venvs/archivebox/lib/python3.12/site-packages/archivebox/templates X CUSTOM_TEMPLATES_DIR missing invalid ./user_templates √ LIB_DIR 2 files valid ./lib/x86_64-linux √ TMP_DIR 2 files valid ./tmp Data locations: √ DATA_DIR 14 files valid ~/Documents/Sync/ArchiveBox √ CONFIG_FILE 268.0 Bytes valid ./ArchiveBox.conf √ SQL_INDEX 1.6 MB valid ./index.sqlite3 √ QUEUE_DATABASE 92.0 KB valid ./queue.sqlite3 √ ARCHIVE_DIR 60 files valid ./archive √ SOURCES_DIR 78 files valid ./sources √ PERSONAS_DIR 1 files valid ./personas √ LOGS_DIR 7 files valid ./logs √ CACHE_DIR 0 files valid ./cache ``` (I'm not sure why it says none for all of the dependencies as pretty well all of them are installed)
Author
Owner

@pirate commented on GitHub (Jan 8, 2026):

should be fixed on dev now

<!-- gh-comment-id:3722257487 --> @pirate commented on GitHub (Jan 8, 2026): should be fixed on `dev` now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3941
No description provided.