Username and Password
antmar904 opened this issue · 8 comments
Hi.
I installed AIL on Ubuntu in WSL for Windows. I am at the logon screen here: https://localhost:7000/login but I never setup an account during the installation process so I'm not sure what the logon creds are.
Hi @antmar904 !
A DEFAULT_PASSWORD
file is created by default in the ail-framework directory.
This file is deleted on the first login.
Yes I saw that in the docs but I can't find that file. It does not exist.
If you already log in, you can reset the default admin password:
cd ail-framework
. ./AILENV/bin/activate
cd var/www
./create_default_user.py
I have never logged in yet.
The password can be reset with create_default_user.py
Thank you. I am receiving an error when running:
./create_default_user.py
Traceback (most recent call last):
File "/home/user/ail-framework/var/www/./create_default_user.py", line 7, in
sys.path.append(os.environ['AIL_BIN'])
File "/usr/lib/python3.10/os.py", line 679, in getitem
raise KeyError(key) from None
KeyError: 'AIL_BIN'
Please load the virtual ENV
cd ail-framework
. ./AILENV/bin/activate
cd var/www
./create_default_user.py
Thank you very much!
I am in.