Re: Baikal Installation Issue

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Tue, 05 Sep 2023 08:41:35 UTC
Hi,

Your question is very specific about 1 application. There is always the chance that somebody on this mailinglist knows about it but if you do not get an answer you might try:

* the maintainer of the port (see https://www.freshports.org/www/baikal/ for its email address)
* the developers of the application itself: https://sabre.io/baikal/

From you mail the biggest hint of a problem is a missing configuration file.

"File "/usr/local/www/baikal/config/baikal.yaml" does not exist."
Apparently (see https://sabre.io/baikal/install/) the application would create that on first startup.

You can try the example file from the project: https://github.com/sabre-io/Baikal/blob/master/config/baikal.yaml.dist

BTW: did you read the pkg-message which should have been displayed on install of the package?

pkg-message:: 

For install:: If this is a new installation, please follow the instructions there:
http://sabre.io/baikal/install/

Baikal has been installed in /usr/local/www/baikal

If you are upgrading from a previous version of Baikal, please follow the instructions here:
http://sabre.io/baikal/upgrade/



Hope this helps.

Regards,
Ronald.

 
Van: Doug Hardie <bc979@lafn.org>
Datum: dinsdag, 5 september 2023 10:05
Aan: ports@freebsd.org
Onderwerp: Baikal Installation Issue
> 
> I am trying to get Baikal installed on FreeBSD 13.2.  The following php ports are installed:
>  
> php81-8.1.20                   PHP Scripting Language (8.1.X branch)
> php81-ctype-8.1.20             The ctype shared extension for php
> php81-dom-8.1.20               The dom shared extension for php
> php81-filter-8.1.20            The filter shared extension for php
> php81-imap-8.1.20              The imap shared extension for php
> php81-mbstring-8.1.20          The mbstring shared extension for php
> php81-pdo-8.1.20               The pdo shared extension for php
> php81-pdo_sqlite-8.1.20        The pdo_sqlite shared extension for php
> php81-session-8.1.20           The session shared extension for php
> php81-xml-8.1.20               The xml shared extension for php
> php81-xmlreader-8.1.20         The xmlreader shared extension for php
> php81-xmlwriter-8.1.20         The xmlwriter shared extension for php
>  
>  
> balkai was installed using pkg.  
>  
> Everything appeared to install correctly.  However, when trying to startup the Installation Wizzard, I get the following logs:
>  
> master# Symfony\Component\Yaml\Exception\ParseException: File "/usr/local/www/baikal/config/baikal.yaml" does not exist. in /usr/local/www/baikal/vendor/symfony/yaml/Parser.php:68
> Stack trace:
> #0 /usr/local/www/baikal/vendor/symfony/yaml/Yaml.php(61): Symfony\Component\Yaml\Parser->parseFile('/usr/local/www/...', 0)
> #1 /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php(210): Symfony\Component\Yaml\Yaml::parseFile('/usr/local/www/...')
> #2 /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php(175): Flake\Framework::defineBaseUri()
> #3 /usr/local/www/baikal/html/index.php(49): Flake\Framework::bootstrap()
> #4 {main}
> PHP Warning:  Undefined array key "REQUEST_URI" in /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php on line 238
> PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php on line 238
> Error reading baikal.yaml file : File "/usr/local/www/baikal/config/baikal.yaml" does not exist.
>  
> The web server is running as www.  The config and Specific directories are owned by www with a+rw.  The config directory only has a .empty file in it.  A search of the web indicated that this error is produced by inconsistencies in the various php modules.  They all seem to be consistent though.  How can I fix this?
>  
> -- Doug