mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 07:07:17 +02:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user