Closed Evoolo closed 3 years ago
Looks like you didn't read the issue you linked. It's caused by using a version of mariadb that is too old. You should change your OS to a 64 bit one to get the latest versions of mariadb. We are in the process of rebasing to alpine Linux for mariadb to get the same version on all arches, but it's not ready for production yet.
Hello,
on Raspberry Pi 4 the migration fails. This bug is also mentioned on the offical repo and its already closed. For some reason it still exists here. Maybe it's the database version?
https://github.com/BookStackApp/BookStack/issues/425
Thank you for your help.
Expected Behavior
migrating successfully
Current Behavior
migration fails with exception
Steps to Reproduce
Environment
OS: Debian Buster CPU architecture: arm32 / RPI 4
Command used to create docker container (run/create/compose/screenshot)
container -->
version: "2" services: bookstack: image: ghcr.io/linuxserver/bookstack:version-v21.04 container_name: bookstack environment:
Docker logs
at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669
Exception trace:
1 Doctrine\DBAL\Driver\PDO\Exception::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")
2 Doctrine\DBAL\Driver\PDO\Exception::new(Object(PDOException))
Please use the argument -v to see more details.
[cont-init.d] 50-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.