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

Support php7 #8

Closed
bjuretko opened this issue Mar 31, 2019 · 2 comments · Fixed by #13
Closed

Support php7 #8

bjuretko opened this issue Mar 31, 2019 · 2 comments · Fixed by #13

Comments

@bjuretko
Copy link
Owner

See branch chore/support-php7 for the current status. I currently got an error when adding new calenders for users to baikal:

PDOException: SQLSTATE[HY000]: General error: 1 table calendars has no column named principaluri in /var/www/baikal/Core/Frameworks/Flake/Core/Database.php:180
Stack trace:
#0 /var/www/baikal/Core/Frameworks/Flake/Core/Database.php(180): PDO->query('INSERT INTO cal...')
#1 /var/www/baikal/Core/Frameworks/Flake/Core/Database.php(40): Flake\Core\Database->query('INSERT INTO cal...')
#2 /var/www/baikal/Core/Frameworks/Flake/Core/Model/Db.php(91): Flake\Core\Database->exec_INSERTquery('calendars', Array)
#3 /var/www/baikal/Core/Frameworks/Baikal/Model/User.php(160): Flake\Core\Model\Db->persist()
#4 /var/www/baikal/Core/Frameworks/Formal/Form.php(226): Baikal\Model\User->persist()
#5 /var/www/baikal/Core/Frameworks/BaikalAdmin/Controller/Users.php(193): Formal\Form->execute()
#6 /var/www/baikal/Core/Frameworks/BaikalAdmin/Controller/Users.php(40): BaikalAdmin\Controller\Users->actionNew()
#7 /var/www/baikal/Core/Frameworks/Flake/Core/Render/Container.php(62): BaikalAdmin\Controller\Users->execute()
#8 /var/www/baikal/Core/Frameworks/Flake/Controller/Page.php(83): Flake\Core\Render\Container->execute()
#9 /var/www/baikal/Core/Frameworks/BaikalAdmin/WWWRoot/index.php(92): Flake\Controller\Page->render()
#10 {main} 

The column principaluri of table calendars is missing in the database. See
image

Same problem arises with mysql (see docker-compose.yml - you need to uncomment mysql service).
Adding adressbooks is fine, users are added as well...

maybe you have an Idea?

Originally posted by @bjuretko in #1 (comment)

@bjuretko
Copy link
Owner Author

Same problem as described here https://gitlab.com/Plague_Doctor/docker-baikal/issues/1

@bjuretko
Copy link
Owner Author

Version 0.5.2 was released which adressed above mentioned issue.
https://github.com/sabre-io/Baikal/releases/tag/0.5.2

See #13 for an update to latest alpine image with php7 and the above release.
The migration process from 0.4.6 was successfully. 👍

So for now I can confirm the check matrix in sabre-io/Baikal#768 (comment) for me running this locally.

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

Successfully merging a pull request may close this issue.

1 participant