Bug: "This collection was migrated by a newer version of ArchiveBox than the one currently running." preventing container to start.
Author: Arson31Created Sep 26, 2026Updated Sep 26, 2026
Provide a screenshot and describe the bug
The container stops because the collection migration is a newer version even though I'm using the latest docker image tag (archivebox/archivebox:latest). I noticed the docker-compose is using ${ARCHIVEBOX_IMAGE:-archivebox/archivebox:dev} instead so I'm not sure if that's the problem.
Container started
[*] Verifying and updating existing ArchiveBox collection to v0.9.51...
----------------------------------------------------------------------
[*] Verifying archive folder structure...
+ ./archive, ./sources, ./logs...
+ ./ArchiveBox.conf...
[*] Verifying main SQL index and running any migrations needed...
[X] This collection was migrated by a newer version of ArchiveBox than the one
currently running.
/data
Hint: Upgrade ArchiveBox / pull the latest Docker image, then restart:
docker compose pull && docker compose up -d
Applied migrations missing from this build:
core.0021_auto_20220510_0644
If you are intentionally trying to downgrade, switch back to the newer
version temporarily
and run this to downgrade the DB version (back up your DB first!):
archivebox manage migrate core 0054_snapshot_fs_version_index
Container stoppedSteps to reproduce
1. docker compose up -d in OMV admin
2. container stopsLogs or errors
Container started
[*] Verifying and updating existing ArchiveBox collection to v0.9.51...
----------------------------------------------------------------------
[*] Verifying archive folder structure...
+ ./archive, ./sources, ./logs...
+ ./ArchiveBox.conf...
[*] Verifying main SQL index and running any migrations needed...
[X] This collection was migrated by a newer version of ArchiveBox than the one
currently running.
/data
Hint: Upgrade ArchiveBox / pull the latest Docker image, then restart:
docker compose pull && docker compose up -d
Applied migrations missing from this build:
core.0021_auto_20220510_0644
If you are intentionally trying to downgrade, switch back to the newer
version temporarily
and run this to downgrade the DB version (back up your DB first!):
archivebox manage migrate core 0054_snapshot_fs_version_index
Container stoppedArchiveBox Version
v0.9.51How 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
# Usage:
# docker-compose run archivebox init --setup
# docker-compose up
# echo "https://example.com" | docker-compose run archivebox archivebox add
# docker-compose run archivebox add --depth=1 https://example.com/some/feed.rss
# docker-compose run archivebox config --set PUBLIC_INDEX=True
# docker-compose run archivebox help
# Documentation:
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
services:
archivebox:
# build: . # for developers working on archivebox
image: archivebox/archivebox:latest
container_name: archivebox
command: server --quick-init 0.0.0.0:8000
ports:
- 8555:8000
environment:
- ALLOWED_HOSTS=* # add any config options you want as env vars
- MEDIA_MAX_SIZE=750m
# - SEARCH_BACKEND_ENGINE=sonic # uncomment these if you enable sonic below
# - SEARCH_BACKEND_HOST_NAME=sonic
# - SEARCH_BACKEND_PASSWORD=SecretPassword
# dns: # uncomment to use pihole below for ad/tracker blocking during archiving
# - pihole
volumes:
- /srv/dev-disk-by-uuid-123254ea-6f7b-44be-b441-55e29ee74f77/Config/Archivebox:/data
restart: unless-stopped
# - ./archivebox:/app/archivebox # for developers working on archivebox
### Optional Addons: tweak these examples as needed for your specific use case
### Example: To run the Sonic full-text search backend, first download the config file to sonic.cfg
# curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfg
# after starting, backfill any existing Snapshots into the index: docker-compose run archivebox update --index-only
# sonic:
# image: valeriansaliou/sonic:v1.3.1
# expose:
# - 1491
# environment:
# - SEARCH_BACKEND_PASSWORD=SecretPassword
# volumes:
# - ./sonic.cfg:/etc/sonic.cfg:ro
# - ./data/sonic:/var/lib/sonic/store
### Example: To run pihole in order to block ad/tracker requests during archiving,
# uncomment this block and set up pihole using its admin interface
# pihole:
# image: pihole/pihole:latest
# ports:
# - 80:80 # uncomment to access the admin HTTP interface on http://localhost:80
# environment:
# WEBPASSWORD: 'set a secure password here or it will be random'
# volumes:
# - ./data/pihole:/etc/pihole
# - ./data/dnsmasq:/etc/dnsmasq.d
### Example: Run scheduled imports in a docker instead of using cron on the
# host machine, add tasks and see more info with archivebox schedule --help
# scheduler:
# image: archivebox/archivebox:latest
# command: schedule --foreground --every=day --depth=1 'https://getpocket.com/users/USERNAME/feed/all'
# environment:
# - USE_COLOR=True
# - SHOW_PROGRESS=False
# volumes:
# - ./data:/data
### Example: Put Nginx in front of the ArchiveBox server for SSL termination
# nginx:
# image: nginx:alpine
# ports:
# - 443:443
# - 80:80
# volumes:
# - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./data:/var/www
### Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel
# wireguard:
# image: linuxserver/wireguard
# network_mode: 'service:archivebox'
# cap_add:
# - NET_ADMIN
# - SYS_MODULE
# sysctls:
# - net.ipv4.conf.all.rp_filter=2
# - net.ipv4.conf.all.src_valid_mark=1
# volumes:
# - /lib/modules:/lib/modules
# - ./wireguard.conf:/config/wg0.conf:ro
### Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
# pywb:
# image: webrecorder/pywb:latest
# entrypoint: /bin/sh -c '(wb-manager init default || test $$? -eq 2) && wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback;'
# environment:
# - INIT_COLLECTION=archivebox
# ports:
# - 8080:8080
# volumes:
# - ./data:/archivebox
# - ./data/wayback:/webarchiveArchiveBox Configuration
[SERVER_CONFIG]
SECRET_KEY = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[SHELL_CONFIG]
SECRET_KEY = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxSource: ArchiveBox/ArchiveBox