sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.46k stars 284 forks source link

Incomplete installation #1285

Closed ThinkPol84 closed 3 weeks ago

ThinkPol84 commented 4 weeks ago

Baikal version: 0.9.5

Problem: Hi all. when I visit my webserver I receive the following error: "Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file."

I am using the zip file called "baikal-0.9.5.zip". Debian 12. Webserver is apache with the config file from: https://sabre.io/baikal/install/ I have followed the German and the French guide on the Baikal github page. I am wondering, what are the exact dependencies and may this have something to do with the php version? I am currently using version 8.2.

With the following extra information on my webpage, can you help me out what I am missing?

ni_set("session.cookie_httponly", 1); ini_set("display_errors", 0); ini_set("log_errors", 1); define("BAIKAL_CONTEXT", true); define("PROJECT_CONTEXT_BASEURI", "/"); if (file_exists(getcwd() . "/Core")) { # Flat FTP mode define("PROJECT_PATH_ROOT", getcwd() . "/"); #./ } else { # Dedicated server mode define("PROJECT_PATH_ROOT", dirname(getcwd()) . "/"); #../ } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { exit('

'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; # Bootstrapping Flake \Flake\Framework::bootstrap(); # Bootstrapping Baïkal \BaikalAdmin\Framework::bootstrap(); # Create and setup a page object $oPage = new \Flake\Controller\Page(PROJECT_PATH_ROOT . "Core/Resources/Web/Baikal/Templates/Page/index.html"); $oPage->injectHTTPHeaders(); $oPage->setTitle("Baïkal server"); $oPage->setBaseUrl(PROJECT_URI); # Draw page $oPage->zone("navbar")->addBlock(new \Baikal\Controller\Navigation\Topbar\Anonymous()); $oPage->zone("Payload")->addBlock(new \Baikal\Controller\Main()); # Render the page echo $oPage->render();

ThinkPol84 commented 4 weeks ago

Update

I have installed Baikal now by cloning the repo to my server: https://github.com/sabre-io/Baikal.git Using the "compose install" method from within the Baikal root directory. I think it is set up correctly now, but now it is time to figure out this 403 Forbidden error on the Apache2 webserver on Debian.

ThinkPol84 commented 3 weeks ago

I have set it up with Nginx and Debian 12. I cloned from github and ran composer install to complete the dependencies.