bashclub / zamba-lxc-toolbox

Zamba LXC Toolbox a script collection to setup LXC containers on Proxmox + ZFS. Zamba is the fusion of ZFS and Samba (standalone, active directory dc or active directory member), preconfigured to access ZFS snapshots by "Previous Versions" to easily recover encrypted by ransomware files, accidently deleted files or just to revert changes.
https://aow.de/
GNU General Public License v3.0
289 stars 62 forks source link

Bookstack PHP Version #93

Closed araschk closed 1 year ago

araschk commented 1 year ago

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 commented 1 year ago

Hi Andreas,

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

Gruß Thorsten

o1ives commented 1 year ago

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