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

Do you have this working? #1

Open
alfureu opened this issue Mar 30, 2019 · 7 comments
Open

Do you have this working? #1

alfureu opened this issue Mar 30, 2019 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@alfureu
Copy link

alfureu commented Mar 30, 2019

Hi @bjuretko, do you have this working, as I would be interested in a docker like this.

@bjuretko
Copy link
Owner

bjuretko commented Mar 31, 2019

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?

@alfureu
Copy link
Author

alfureu commented Mar 31, 2019

Hi @bjuretko, I am not so skilled in PHP, pretty new to docker, but what I have read so far suggests that it might be just a wrong link, e.g.: http://sabre.io/baikal/upgrade/ and sabre-io/Baikal#464.

In addition, there is another baikal+infcloud docker image, https://gitlab.com/Plague_Doctor/docker-baikal, which has exactly the opposite problem, the carddav works, the caldav results in error. Maybe this can be helpful in identifying the issue?

Alternatively, it might be useful to contact the original developer of baikal https://evertpot.com/, who states that baikal was successfully running with PHP7. Although I never saw a fully successful running docker.

@bjuretko
Copy link
Owner

Thx for the information ... I pushed the php5 branch - which solves the problem with model creation.
I will work on setting up infcloud and the necessary redirects with it. And then look at php7 again.

@alfureu
Copy link
Author

alfureu commented Mar 31, 2019

Thanks, great. Would you put the docker image on hub.docker.com as well? I can help in writing the installation instructions, if requred.

@bjuretko bjuretko mentioned this issue Mar 31, 2019
@bjuretko
Copy link
Owner

@DOFfactory php5 is merged to master and working for me with bundled infcloud.

@bjuretko
Copy link
Owner

@DOFfactory you can checkout a first working version with php7 at #13

@bjuretko bjuretko added the question Further information is requested label May 3, 2019
@bjuretko
Copy link
Owner

bjuretko commented May 3, 2019

Everything is merged to master, project is more or less finalized for me as it runs on all my machines. Thanks for testing and your feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants