bashclub/zamba-lxc-toolbox

Bookstack PHP Version

araschk opened this issue · 2 comments

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

Hi Andreas,

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

Gruß
Thorsten

o1ives commented

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