Recover admin login
Fucked up with your login? Can't get your password/username working?
First, you will need to find out where your "artisan" file is. Weather its installed locally or in a docker container or anywhere else, find where its installed then, look for the file. Could be in /app/www area. So try there first.
Once you find it, get into the root folder that the artisan file is located. In my cases, its in /app/www. Then run:
php artisan bookstack:create-admin --email="you@idiot.com" --name="shit4brains" --password="yournewpassword"
Output should be something like:
Admin account with email "you@idiot.com" successfully created!
You should now have access to your bookstack again.
Now, don't do that again.
No Comments