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

Bookstack PHP Version #93

Closed
araschk opened this issue Jul 29, 2023 · 2 comments
Closed

Bookstack PHP Version #93

araschk opened this issue Jul 29, 2023 · 2 comments

Comments

@araschk
Copy link

araschk commented Jul 29, 2023

Moin,
jetzt wollte ich Bookstack ausprobieren und bekomme einen PHP Versions Fehler:

Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
Script Illuminate\Foundation\ComposerScripts::postAutoloadDump handling the post-autoload-dump event terminated with an exception

In platform_check.php line 24:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.

Hab versucht die src/bookstack/install-service.sh anzupassen, hat aber so nicht funktioniert. Könnt ihr da vielleicht mal einen Blick drauf werfen. THX
Nordische Grüße
Andreas Raschke

@thorstenspille
Copy link
Contributor

Hi Andreas,

hier ist ebenfalls im dev Branch eine auf Debian bookworm umgestellte Version mit aktuellen Paketen.

Gruß
Thorsten

@o1ives
Copy link

o1ives commented Aug 22, 2023

Das Update mit backup / restore der alten bookstack version hat mit der dev Branch version wunderbar geklappt.
Danke dafür!

Falls jemand das gleiche machen muss folgendes beachten: do not run the php artisan migrate installation step when installing BookStack. You may need to comment this command out if using an installer script.

also im /src/bookstack/install-service.sh folgendes auskommentieren und erst nach dem Wiederherstellen manuell starten:

"# Migrate the databases
php artisan migrate --no-interaction --force

php artisan bookstack:db-utf8mb4 > dbupgrade.sql
mysql -u root < dbupgrade.sql

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

3 participants