Bug: After upgrade to 0.9 all pre-existing snapshots fail to load with "Refusing to load a non-UTC date!"
Author: 1n5aN1aCCreated Sep 25, 2026Updated Sep 28, 2026
Provide a screenshot and describe the bug
Upgraded to 0.9 (including running archivebox update --migrate-only) and all pre-existing snapshots fail to load with a 500 internal server error.
See log below
Steps to reproduce
1. Was running Archivebox only a version or two behind 0.9 via docker.
2. Updated to 0.9 via changing pinned version in Docker-compose file
3. Stopped container.
4. Docker compose run archivebox update --migrate-only
5. Re-started through docker-compose.
6. Checked historical snapshotsLogs or errors
logs -f --tail 50 archivebox:
[2026-09-25 10:54:47] ERROR django.request Internal Server Error: log.py:283
/joshua/20250730/old.reddit.com/*****
Traceback (most recent call last):
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 577, in
thread_handler
raise exc_info[1]
File
"/venv/lib/python3.13/site-packages/dj
ango/core/handlers/exception.py", line
43, in inner
response = await
get_response(request)
^^^^^^^^^^^^^^^^^^^^^^^
^^^^
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 577, in
thread_handler
raise exc_info[1]
File
"/venv/lib/python3.13/site-packages/dj
ango/core/handlers/base.py", line 255,
in _get_response_async
response = await wrapped_callback(
^^^^^^^^^^^^^^^^^^^^^^^
request, *callback_args,
**callback_kwargs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
)
^
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 526, in __call__
ret = await
asyncio.shield(exec_coro)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^
File
"/venv/lib/python3.13/site-packages/as
giref/current_thread_executor.py",
line 35, in run
result = self.fn(*self.args,
**self.kwargs)
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 581, in
thread_handler
return func(*args, **kwargs)
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 508, in func
return context.run(run_child)
~~~~~~~~~~~^^^^^^^^^^^
File
"/venv/lib/python3.13/site-packages/as
giref/sync.py", line 506, in run_child
return child()
File
"/venv/lib/python3.13/site-packages/dj
ango/views/generic/base.py", line 105,
in view
return self.dispatch(request,
*args, **kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^
^^^^^^^^^^^^
File
"/venv/lib/python3.13/site-packages/dj
ango/views/generic/base.py", line 143,
in dispatch
return handler(request, *args,
**kwargs)
File
"/venv/lib/python3.13/site-packages/ar
chivebox/core/views.py", line 687, in
get
return
SnapshotView.render_live_index(request
, snapshot)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~^^^^^^^^^^^^^^^^^^^
File
"/venv/lib/python3.13/site-packages/ar
chivebox/core/views.py", line 353, in
render_live_index
context=snapshot.get_html_details_
context(request=request),
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~^^^^^^^^^^^^^^^^^
File
"/venv/lib/python3.13/site-packages/ar
chivebox/core/models.py", line 3540,
in get_html_details_context
for output in
self.discover_outputs(
~~~~~~~~~~~~~~~~~~~~
~^
include_filesystem_fallback=st
atic_export_dir is not None or
filesystem_index is not None,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^
archive_results=archive_result
s,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^
filesystem_index=filesystem_in
dex,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^
)
^
File
"/venv/lib/python3.13/site-packages/ar
chivebox/core/models.py", line 3342,
in discover_outputs
"ts":
ts_to_date_str(result.end_ts),
~~~~~~~~~~~~~~^^^^^^^^^^^^^^
^
File
"/venv/lib/python3.13/site-packages/ar
chivebox/misc/util.py", line 86, in
ts_to_date_str
parsed = parse_date(ts)
File
"/venv/lib/python3.13/site-packages/ar
chivebox/misc/util.py", line 364, in
typechecked_function
return func(*args, **kwargs)
File
"/venv/lib/python3.13/site-packages/ar
chivebox/misc/util.py", line 392, in
parse_date
assert offset ==
datetime.now(timezone.utc).utcoffset()
, "Refusing to load a non-UTC date!"
^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
AssertionError: Refusing to load a
non-UTC date!ArchiveBox Version
root@CENTAUR:/mnt/docker# docker compose run archivebox version
0.9.51
ArchiveBox v0.9.51 COMMIT_HASH=b5646cc BUILD_TIME=2026-09-23 13:04:11 1790193851
IN_DOCKER=True IN_QEMU=False ARCH=x86_64 OS=Linux PLATFORM=Linux-6.12.95+deb13-amd64-x86_64-with-glibc2.41 PYTHON=Cpython (venv)
EUID=999:999 UID=999:999 ARCHIVEBOX_USER=999:999 FS_UID=999:999 FS_PERMS=755 FS_ATOMIC=True FS_REMOTE=True
DEBUG=False IS_TTY=True SUDO=False ID=9c66c4b6:44081b7d SEARCH_BACKEND=sonic LDAP=False
Binary Dependencies:
✅ archivewebpage 0.17.0 (chromewebstore) · archivewebpage
ABXPKG_LIB_DIR/chromewebstore/extensions/archivewebpage.extension.json
✅ node 24.18.0 (env) · chrome, claudecode, opencode, ytdlp
/opt/node/bin/node
✅ abxbus 2.5.65 (pnpm) · chrome
ABXPKG_LIB_DIR/pnpm/packages/abxbus/node_modules/.pnpm/[email protected]/node_mod
ules/abxbus/dist/cjs/index.js
✅ browsers 3.0.4 (pnpm) · chrome
ABXPKG_LIB_DIR/pnpm/packages/chrome/node_modules/.bin/browsers
✅ chromium 153.0.8010 (playwright) · chrome
ABXPKG_LIB_DIR/playwright/cache/chromium-1243/chrome-linux64/chrome
disabled claudechrome 1.0.94 (chromewebstore) · claudechrome
disabled by CLAUDECHROME_ENABLED=False
disabled claude 2.1.281 (pnpm) · claudecode
disabled by CLAUDECODE_ENABLED=False
✅ defuddle 0.14.0 (pnpm) · defuddle
ABXPKG_LIB_DIR/pnpm/packages/defuddle/node_modules/.bin/defuddle
✅ forum-dl 0.3.0 (uv) · forumdl
ABXPKG_LIB_DIR/uv/packages/forum-dl/venv/bin/forum-dl
✅ gallery-dl 1.32.12 (uv) · gallerydl
ABXPKG_LIB_DIR/uv/packages/gallery-dl/venv/bin/gallery-dl
✅ git 2.47.3 (env) · git, opencode
/usr/bin/git
✅ istilldontcareaboutcookies 1.1.9 (chromewebstore) ·
istilldontcareaboutcookies
ABXPKG_LIB_DIR/chromewebstore/extensions/istilldontcareaboutcookies.extension
.json
✅ lit 2.9.0 (pnpm) · liteparse
ABXPKG_LIB_DIR/pnpm/packages/liteparse/node_modules/.bin/lit
✅ tesseract 5.5.0 (env) · liteparse
/usr/bin/tesseract
✅ convert 7.1.1 (env) · liteparse
/usr/bin/magick-im7.q16
✅ postlight-parser 2.2.3 (npm) · mercury
ABXPKG_LIB_DIR/npm/packages/mercury/node_modules/@postlight/parser/cli.js
disabled npm 11.16.0 (env) · opencode
disabled by OPENCODE_ENABLED=False
disabled opencode 1.18.31 (pnpm) · opencode
disabled by OPENCODE_ENABLED=False
disabled opendataloader-pdf 2.5.9 (uv) · opendataloader
disabled by OPENDATALOADER_ENABLED=False
disabled java 21.0.12 (env) · opendataloader
disabled by OPENDATALOADER_ENABLED=False
disabled ots 0.7.2 (uv) · opentimestamps
disabled by OPENTIMESTAMPS_ENABLED=False
✅ papers-dl 0.0.25 (uv) · papersdl
ABXPKG_LIB_DIR/uv/packages/papers-dl/venv/bin/papers-dl
✅ feedparser 6.0.12 (uv) · parse_rss_urls
ABXPKG_LIB_DIR/uv/packages/parse_rss_urls-6.0.12/venv/lib/python3.13/site-pac
kages/feedparser/__init__.py
✅ readability-extractor 0.0.6 (pnpm) · readability
ABXPKG_LIB_DIR/pnpm/packages/readability/node_modules/.bin/readability-extrac
tor
✅ rg 14.1.1 (env) · search_backend_ripgrep
/usr/bin/rg
✅ sonic 1.4.9 (env) · search_backend_sonic
/usr/local/bin/sonic
✅ singlefile 1.26.4 (chromewebstore) · singlefile
ABXPKG_LIB_DIR/chromewebstore/extensions/singlefile.extension.json
disabled tlsnotary 0.1.0 (chromewebstore) · tlsnotary
disabled by TLSNOTARY_ENABLED=False
✅ trafilatura 2.1.0 (uv) · trafilatura
ABXPKG_LIB_DIR/uv/packages/trafilatura-2.1.0/venv/bin/trafilatura
✅ twocaptcha 3.7.4 (chromewebstore) · twocaptcha
ABXPKG_LIB_DIR/chromewebstore/extensions/twocaptcha.extension.json
✅ ublock 2026.901.1442 (chromewebstore) · ublock
ABXPKG_LIB_DIR/chromewebstore/extensions/ublock.extension.json
✅ wget 1.25.0 (env) · wget
/usr/bin/wget
✅ yt-dlp 2026.8.19 (uv) · ytdlp
ABXPKG_LIB_DIR/uv/packages/yt-dlp/venv/bin/yt-dlp
✅ ffmpeg 7.1.5 (env) · ytdlp
/usr/bin/ffmpeg
Code locations:
√ PACKAGE_DIR 24 files valid /venv/lib/python3.13/site-packages/archivebox
√ TEMPLATES_DIR 6 files valid /venv/lib/python3.13/site-packages/archivebox/templates
- CUSTOM_TEMPLATES_DIR missing unused ./custom_templates
- USER_PLUGINS_DIR missing unused ./custom_plugins
√ ABXPKG_LIB_DIR 10 files valid /opt/archivebox/lib
Data locations:
√ DATA_DIR 14 files @ valid /data
√ CONFIG_FILE 729.0 Bytes valid ./ArchiveBox.conf
√ SQL_INDEX 1.8 MB valid ./index.sqlite3
√ ARCHIVE_DIR 1 files valid ./archive
√ USERS_DIR 1 files valid ./archive/users
√ SOURCES_DIR 39 files valid ./sources
√ PERSONAS_DIR 1 files valid ./personas
√ LOGS_DIR 7 files valid ./logs
√ TMP_DIR 0 files valid /tmp/archiveboxHow did you install the version of ArchiveBox you are using?
Docker (or Podman/LXC/K8s/TrueNAS/Proxmox/etc)
What operating system are you running on?
Linux (Ubuntu/Debian/Arch/Alpine/etc.)
What type of drive are you using to store your ArchiveBox data?
- some of
data/is on a local SSD or NVMe drive - some of
data/is on a spinning hard drive or external USB drive - some of
data/is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.) - some of
data/is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)
Docker Compose Configuration
archivebox:
container_name: archivebox
image: archivebox/archivebox
restart: ${RESTART_MODE}
command: server 0.0.0.0:8000
#stdin_open: true
#tty: true
#ports:
# - 8000:8000
volumes:
- /etc/localtime:/etc/localtime:ro
- /mnt/data/Archive/ArchiveBox:/data
environment:
- USE_COLOR=False
- SHOW_PROGRESS=False
- SUBMIT_ARCHIVE_DOT_ORG=False
- OUTPUT_PERMISSIONS=755
- WGET_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:156.0) Gecko/20100101 Firefox/156.0ArchiveBox Configuration
[SHELL_CONFIG]
BASE_URL = https://*****.*******.com
PERMISSIONS = public
PUBLIC_ADD_VIEW = False
PUBLIC_INDEX = True
SECRET_KEY = ******************
SERVER_SECURITY_MODE = danger-onedomain-fullreplay (for testing only)Source: ArchiveBox/ArchiveBox