From 049f2dd1512ef85505f87ebb638b7f8653bff451 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 25 Sep 2026 18:12:51 +0200 Subject: [PATCH] Name the admin account the way the docs do createsuperuser was given admin, but the documented default user is archivebox - which is what 0.7.4 produced, because its expect block sent an empty username and Django then fell back to the OS user the command ran as. --- install/archivebox-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/archivebox-install.sh b/install/archivebox-install.sh index 6a697906d..dba6eb9cb 100644 --- a/install/archivebox-install.sh +++ b/install/archivebox-install.sh @@ -48,8 +48,8 @@ msg_info "Initializing ArchiveBox" cd /opt/archivebox/data $STD sudo -u archivebox /opt/archivebox/venv/bin/archivebox init $STD sudo -u archivebox env \ - DJANGO_SUPERUSER_USERNAME=admin \ - DJANGO_SUPERUSER_EMAIL=admin@archivebox.local \ + DJANGO_SUPERUSER_USERNAME=archivebox \ + DJANGO_SUPERUSER_EMAIL=archivebox@archivebox.local \ DJANGO_SUPERUSER_PASSWORD=community-scripts.org \ /opt/archivebox/venv/bin/archivebox manage createsuperuser --noinput # Without a pinned canonical URL the admin greets every visitor with a red banner.