From 33991d0819e36645fbb91e4f6400eb56321b2fa1 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 20 Nov 2026 16:51:53 +0100 Subject: [PATCH] ArchiveBox: stay on port 8000 Updates keep the port a container already has, so 0.7 installs stayed on 8000 while new installs moved to 5797. One port for both keeps the URL the website and the script print right for every container. --- ct/archivebox.sh | 2 +- install/archivebox-install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/archivebox.sh b/ct/archivebox.sh index 50f624348..b1d642590 100644 --- a/ct/archivebox.sh +++ b/ct/archivebox.sh @@ -80,4 +80,4 @@ description msg_ok "Completed successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${GATEWAY}${BGN}http://${IP}:5797/admin/${CL}" +echo -e "${GATEWAY}${BGN}http://${IP}:8000/admin/${CL}" diff --git a/install/archivebox-install.sh b/install/archivebox-install.sh index e895b6e84..307368030 100644 --- a/install/archivebox-install.sh +++ b/install/archivebox-install.sh @@ -38,7 +38,7 @@ cd /opt/archivebox/data $STD archivebox init ADMIN_PASS=$(random_password 20) DJANGO_SUPERUSER_USERNAME=archivebox DJANGO_SUPERUSER_EMAIL=archivebox@archivebox.local DJANGO_SUPERUSER_PASSWORD="$ADMIN_PASS" $STD archivebox manage createsuperuser --noinput -$STD archivebox config --set "BASE_URL=http://${LOCAL_IP}:5797" +$STD archivebox config --set "BASE_URL=http://${LOCAL_IP}:8000" cat <~/archivebox.creds ArchiveBox Credentials Username: archivebox @@ -58,7 +58,7 @@ After=network.target [Service] WorkingDirectory=/opt/archivebox/data -ExecStart=/opt/archivebox/.venv/bin/archivebox server 0.0.0.0:5797 +ExecStart=/opt/archivebox/.venv/bin/archivebox server 0.0.0.0:8000 Restart=always [Install]