Error 500 on first access #1511

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

Originally created by @dxf on GitHub (Jan 30, 2020).

Describe the bug
Installed BookStack as per wiki, using a .conf for virtualhost from https://github.com/BookStackApp/BookStack/issues/1540#issuecomment-512709726, saved as /etc/apache2/sites-available/000-default.conf

Steps To Reproduce
Steps to reproduce the behavior:

  1. Install BookStack as per wiki & implement above conf
  2. Go to 192.168.1.29 (local IP)
  3. It immediately redirects to 192.168.1.29/login and 500s.
    Expected behavior
    The login page to open.

Screenshots
n/a

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): Latest release
  • PHP Version: 7.3
  • Hosting Method (Nginx/Apache/Docker): Apache

Additional context
Add any other context about the problem here.
Bookstack doesn't work without the .conf either

Originally created by @dxf on GitHub (Jan 30, 2020). **Describe the bug** Installed BookStack as per wiki, using a .conf for virtualhost from https://github.com/BookStackApp/BookStack/issues/1540#issuecomment-512709726, saved as /etc/apache2/sites-available/000-default.conf **Steps To Reproduce** Steps to reproduce the behavior: 1. Install BookStack as per wiki & implement above conf 2. Go to 192.168.1.29 (local IP) 3. It immediately redirects to 192.168.1.29/login and 500s. **Expected behavior** The login page to open. **Screenshots** n/a **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): Latest release - PHP Version: 7.3 - Hosting Method (Nginx/Apache/Docker): Apache **Additional context** Add any other context about the problem here. Bookstack doesn't work without the .conf either
Author
Owner

@dxf commented on GitHub (Jan 30, 2020):

Fixed it!

sudo chown -R www-data:www-data /var/www

@dxf commented on GitHub (Jan 30, 2020): Fixed it! sudo chown -R www-data:www-data /var/www
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1511