-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APP Key error on docker compose up #235
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
You are, for some reason, only mounting You'll need to change |
Hey! Thanks for the quick response! I can see there have been many changes since the release yesterday. I had to delete and start over and is now working fine. Thanks! |
Is there an existing issue for this?
Current Behavior
Hi! Y started using BookStack last week and every thing has been going great! thanks.
However, I tried to run the same docker compose today and got the following error:
An application key is missing, halting init!
I tried creating it as it is recommended and then got the following error:
Access denied for user 'database_username'@'172.18.0.2' (using password: YES) (Connection: mysql, SQL: select table_name as
name
, (data_length + index_length) assize
, table_comment ascomment
, engine asengine
, table_collation ascollation
from information_schema.tables where table_schema = 'bookstack' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)app-1 |
app-1 | at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829
app-1 | 825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
app-1 | 826▕ );
app-1 | 827▕ }
app-1 | 828▕
app-1 | ➜ 829▕ throw new QueryException(
app-1 | 830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
app-1 | 831▕ );
app-1 | 832▕ }
app-1 | 833▕ }
app-1 |
app-1 | +36 vendor frames
app-1 |
Expected Behavior
Docker compose up should start without errors
Steps To Reproduce
services:
db:
image: mariadb:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: bookstack
MYSQL_DATABASE: bookstack
MYSQL_USER: bookstack
MYSQL_PASSWORD: bookstack
volumes:
- db_data:/var/lib/mysql
app:
image: linuxserver/bookstack
restart: always
ports:
- '6875:80'
environment:
DB_HOST: db
DB_USER: bookstack
DB_PASS: bookstack
DB_DATABASE: bookstack
APP_URL: http://localhost:6875
volumes:
- bookstack_data:/var/www/BookStack/public/uploads
volumes:
db_data:
bookstack_data:
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: