404/500 Error on Fresh Installation #1749

Closed
opened 2026-02-05 01:46:28 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Ente on GitHub (May 28, 2020).

Describe the bug
After the Installation it throws an 404 Error, when the log directory is writeable by BookStack.
If it is not writeable by the webserver it throws an 500 Error

Steps To Reproduce
Steps to reproduce the behavior:

  1. Fresh Install
  2. Don't or do set Permissions
  3. See error

Expected behavior
I can login and see a beautiful page

Screenshots
[none]

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): 0.29.3
  • PHP Version: 7.3.14
  • Hosting Method (Nginx/Apache/Docker): Apache2.3

Additional context
Well, as I said. When I change the permissons and the owners for the folders to the webserver and writeable it throws me an 404 Error.

But when I don't do it, it throws an 500 Error. This one simply says, that it can't create a log due to missing permissions.

And it also didn't create a log file.

Originally created by @Ente on GitHub (May 28, 2020). **Describe the bug** After the Installation it throws an 404 Error, when the log directory is writeable by BookStack. If it is not writeable by the webserver it throws an 500 Error **Steps To Reproduce** Steps to reproduce the behavior: 1. Fresh Install 2. Don't or do set Permissions 3. See error **Expected behavior** I can login and see a beautiful page **Screenshots** [none] **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): 0.29.3 - PHP Version: 7.3.14 - Hosting Method (Nginx/Apache/Docker): Apache2.3 **Additional context** Well, as I said. When I change the permissons and the owners for the folders to the webserver and writeable it throws me an 404 Error. But when I don't do it, it throws an 500 Error. This one simply says, that it can't create a log due to missing permissions. And it also didn't create a log file.
Author
Owner

@Ente commented on GitHub (May 28, 2020):

Apache related solution.

I just replaced my VirtualHost and it began magically to work.
World's weird, Computers too, GG.

@Ente commented on GitHub (May 28, 2020): Apache related solution. I just replaced my VirtualHost and it began magically to work. World's weird, Computers too, GG.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1749