Closed nicfab closed 1 week ago
Hi @nicfab, Please check your error log for details regarding the error: https://www.bookstackapp.com/docs/admin/debugging/#error-log-file
If I had to guess without error detail, it's maybe due to the new instance/setup not using the same APP_KEY
value, which is used for MFA encryption. The APP_KEY
should be the same as your old instance.
This is only a guess though, check the log for actual information.
Hi @ssddanbrown!
Thank you very much for your quick reply.
I set the APP_KEY
of the old instance, and I can log in now, although I should set again my name instead of Admin, my photo, and something else.
@ssddanbrown
I need your help again.
I am still migrating my instance.
On my new server, I installed MariaDB (mariadb Ver 15.1 Distrib 10.11.6-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper).
After the database backup, I restored it; indeed, accessing maridab I see the tables.
However, when running php artisan migrate
under the bookstack
folder, I receive some errors, and it seems that there is no access to the database.
Below the screenshot
What should I do?
Sorry!
It depended on my mistake in the database configuration on MariaDB.
It works great for me.
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
I installed (manual) Bookstack from scratch on a new server. Then, I restored the database. Accessing from the web, after inputting login, password, and 2FA, I see "_An Error Occurred. An unknown error occurred", as for the image below.
Can you help me?
Exact BookStack Version
24.10.1
Log Content
No response
Hosting Environment
PHP8.2