Laravel 419 error when logging, after reinstall #2219

Closed
opened 2026-02-05 03:21:05 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @leopendas on GitHub (Apr 23, 2021).

Describe the bug
A clear and concise description of what the bug is.

Steps To Reproduce
Steps to reproduce the behavior:
I took a backup from version mentioned, and when trying to restore get this error.(how could I check which version the script installed?)
It loads home page properly, but when trying to access this error happens. Tried to install libmemcache and set up on the .env file. Also tried to add login page to CSRF exception file, and now it does not throw 419, but does not allow to login. Nothing happens.
Any advice in where to look, would be really useful, as I do not see any error or log file in where to check.
thanks in advance.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Your Configuration (please complete the following information):

  • BookStack v0.30.4
  • PHP Version: 7.4.3
  • Hosting Method (Nginx/Apache/Docker): Apache

Additional context

Originally created by @leopendas on GitHub (Apr 23, 2021). **Describe the bug** A clear and concise description of what the bug is. **Steps To Reproduce** Steps to reproduce the behavior: I took a backup from version mentioned, and when trying to restore get this error.(how could I check which version the script installed?) It loads home page properly, but when trying to access this error happens. Tried to install libmemcache and set up on the .env file. Also tried to add login page to CSRF exception file, and now it does not throw 419, but does not allow to login. Nothing happens. Any advice in where to look, would be really useful, as I do not see any error or log file in where to check. thanks in advance. **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Your Configuration (please complete the following information):** - BookStack v0.30.4 - PHP Version: 7.4.3 - Hosting Method (Nginx/Apache/Docker): Apache **Additional context** -
Author
Owner

@ssddanbrown commented on GitHub (Apr 27, 2021):

Hi @leopendas,
Debugging information can be found here: https://www.bookstackapp.com/docs/admin/debugging/

This usually happens when there's issues this cookies or when things are occurring across different hosts.
Can you check you have an APP_URL value set in your .env file and that it matches the base URL that you're accessing BookStack on? The start of the URL (http:// or https://) must exactly match how it's being accessed.

@ssddanbrown commented on GitHub (Apr 27, 2021): Hi @leopendas, Debugging information can be found here: https://www.bookstackapp.com/docs/admin/debugging/ This usually happens when there's issues this cookies or when things are occurring across different hosts. Can you check you have an `APP_URL` value set in your `.env` file and that it matches the base URL that you're accessing BookStack on? The start of the URL (`http://` or `https://`) must exactly match how it's being accessed.
Author
Owner

@ssddanbrown commented on GitHub (May 24, 2021):

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (May 24, 2021): Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2219