Issue with first run when installing via the script for ubuntu #290

Closed
opened 2026-02-04 18:19:24 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @nereme on GitHub (Mar 2, 2017).

  • BookStack Version: Latest branch
  • PHP Version: 7.0
  • MySQL Version: 5.7
Expected Behavior

Opening bookstack for the first time, expecting to get to a login page

Actual Behavior

When running the install script for ubuntu and going to the ip of the server error message: whoops looks like something went wrong is all I get.

I originally wasnt getting anything due to a missing server name in the nginx config, but since correcting that i am not getting anything except the error message and have no idea what to look for to try and diagnose the issue as I am very new with this. Have tried the script a couple of times each time on fresh Ubuntu 16.04 VM's and have the same end result of Whoops looks like something went wrong

Originally created by @nereme on GitHub (Mar 2, 2017). * BookStack Version: Latest branch * PHP Version: 7.0 * MySQL Version: 5.7 ##### Expected Behavior Opening bookstack for the first time, expecting to get to a login page ##### Actual Behavior When running the install script for ubuntu and going to the ip of the server error message: whoops looks like something went wrong is all I get. I originally wasnt getting anything due to a missing server name in the nginx config, but since correcting that i am not getting anything except the error message and have no idea what to look for to try and diagnose the issue as I am very new with this. Have tried the script a couple of times each time on fresh Ubuntu 16.04 VM's and have the same end result of Whoops looks like something went wrong
Author
Owner

@mbw290 commented on GitHub (Mar 4, 2017):

I'm having the same issue.

@mbw290 commented on GitHub (Mar 4, 2017): I'm having the same issue.
Author
Owner

@lommes commented on GitHub (Mar 4, 2017):

Just go to /var/www/bookstack and run php artisan key:generate sudo might be required.

Since the script requires to be run as root there might be some other permission issues but that one command fixed it for me. The command is included in the script but fails because it is not run with the --force flag.

@lommes commented on GitHub (Mar 4, 2017): Just go to /var/www/bookstack and run `php artisan key:generate` sudo might be required. Since the script requires to be run as root there might be some other permission issues but that one command fixed it for me. The command is included in the script but fails because it is not run with the --force flag.
Author
Owner

@ssddanbrown commented on GitHub (Mar 4, 2017):

Script updated with above fix, Thanks @lommes for solving this one and for opening the issue on the devops repo.

@ssddanbrown commented on GitHub (Mar 4, 2017): Script updated with above fix, Thanks @lommes for solving this one and for opening the issue on the devops repo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#290