Skip to content
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

Installation instructions outdated #512

Open
kekcsi opened this issue Oct 7, 2024 · 1 comment
Open

Installation instructions outdated #512

kekcsi opened this issue Oct 7, 2024 · 1 comment

Comments

@kekcsi
Copy link

kekcsi commented Oct 7, 2024

Hello, I was trying to build and install a bookstack using your image. I faced a number of issues.
First, the version uploaded to docker hub is rather old, with bookstack v22.04. I could install but I needed the newer features, so I came to build one myself.
Second, the "docker run" commands in the README.md don't work with the newer version of bookstack. They lack the -e APP_KEY=whatever\ line. Even if I add that, the app can't start properly, instead of login, I get an "unexpected error" page.
Furthermore, you cannot mount the .env file because the startup scripts would want to rename it and fail. So the modified docker run command also doesn't work as suggested in the README.md file.
As opposed to the compose yaml, where there is mysql 8.3, we still get the old 5.7.21 version of mysql in README.md "docker run" commands.
With docker compose, the server will start up and show a login page, but the default [email protected] user name is not accepted because the new bookstack version demands a real e-mail address.
Anyway thanks for your hard work, I hope this helps to improve the documentation. Workaround is to compose and then enter:
docker exec -u root -it docker-bookstack-master_bookstack_1 bash
root@60*******a61:/var/www/bookstack# php artisan bookstack:create-admin
But I didn't yet find the correct way to do the installation steps mentioned.

@ssddanbrown
Copy link
Contributor

First, the version uploaded to docker hub is rather old, with bookstack v22.04. I could install but I needed the newer features, so I came to build one myself.

New versions are uploaded to docker hub as can be seen here, and latest points the the current release, and the commands in the readme & compose refer to the latest version.
It's just that docker hub shows an old version by default for some reason.

but the default [email protected] user name is not accepted because the new bookstack version demands a real e-mail address.

This should not be the case, at least that's not something that's changed in BookStack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants