Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2023 10:41:35 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        Doug Hardie <bc979@lafn.org>
Cc:        ports@freebsd.org
Subject:   Re: Baikal Installation Issue
Message-ID:  <2130113445.14314.1693903295986@localhost>
In-Reply-To: <B698D82E-F67C-4516-B215-483E2E86089B@sermon-archive.info>
References:  <B698D82E-F67C-4516-B215-483E2E86089B@sermon-archive.info>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_14313_919948390.1693903295983
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

 
------=_Part_14313_919948390.1693903295983
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Hi,<br>
<br>
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:<br>
<br>
* the maintainer of the port (see https://www.freshports.org/www/baikal/ for its email address)<br>
* the developers of the application itself: https://sabre.io/baikal/<br>;
<br>
>From you mail the biggest hint of a problem is a missing configuration file.<br>
<br>
"File "/usr/local/www/baikal/config/baikal.yaml" does not exist."<br>
Apparently (see https://sabre.io/baikal/install/) the application would create that on first startup.<br>
<br>
You can try the example file from the project: https://github.com/sabre-io/Baikal/blob/master/config/baikal.yaml.dist<br>;
<br>
BTW: did you read the pkg-message which should have been displayed on install of the package?
<dl>
	<dt><b><a id="message">pkg-message:</a></b></dt>
	<dd>
	<dl>
		<dt>For install:</dt>
		<dd class="like-pre">If this is a new installation, please follow the instructions there:<br>
		http://sabre.io/baikal/install/<br>;
		<br>
		Baikal has been installed in /usr/local/www/baikal<br>
		<br>
		If you are upgrading from a previous version of Baikal, please follow the instructions here:<br>
		http://sabre.io/baikal/upgrade/</dd>;
	</dl>
	</dd>
</dl>
<br>
<br>
Hope this helps.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> Doug Hardie &lt;bc979@lafn.org&gt;<br>
<strong>Datum:</strong> dinsdag, 5 september 2023 10:05<br>
<strong>Aan:</strong> ports@freebsd.org<br>
<strong>Onderwerp:</strong> Baikal Installation Issue</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartAlternativeViewer">
<div class="TextHTMLViewer" id="P.P.P">I am trying to get Baikal installed on FreeBSD 13.2. &nbsp;The following php ports are installed:
<div>&nbsp;</div>

<div>
<div>php81-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PHP Scripting Language (8.1.X branch)</div>

<div>php81-ctype-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The ctype shared extension for php</div>

<div>php81-dom-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The dom shared extension for php</div>

<div>php81-filter-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The filter shared extension for php</div>

<div>php81-imap-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The imap shared extension for php</div>

<div>php81-mbstring-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The mbstring shared extension for php</div>

<div>php81-pdo-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The pdo shared extension for php</div>

<div>php81-pdo_sqlite-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp;The pdo_sqlite shared extension for php</div>

<div>php81-session-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The session shared extension for php</div>

<div>php81-xml-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The xml shared extension for php</div>

<div>php81-xmlreader-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; The xmlreader shared extension for php</div>

<div>php81-xmlwriter-8.1.20 &nbsp; &nbsp; &nbsp; &nbsp; The xmlwriter shared extension for php</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div>balkai was installed using pkg. &nbsp;</div>

<div>&nbsp;</div>

<div>Everything appeared to install correctly. &nbsp;However, when trying to startup the Installation Wizzard, I get the following logs:</div>

<div>&nbsp;</div>

<div>
<div>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</div>

<div>Stack trace:</div>

<div>#0 /usr/local/www/baikal/vendor/symfony/yaml/Yaml.php(61): Symfony\Component\Yaml\Parser-&gt;parseFile('/usr/local/www/...', 0)</div>

<div>#1 /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php(210): Symfony\Component\Yaml\Yaml::parseFile('/usr/local/www/...')</div>

<div>#2 /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php(175): Flake\Framework::defineBaseUri()</div>

<div>#3 /usr/local/www/baikal/html/index.php(49): Flake\Framework::bootstrap()</div>

<div>#4 {main}</div>

<div>PHP Warning: &nbsp;Undefined array key "REQUEST_URI" in /usr/local/www/baikal/Core/Frameworks/Flake/Framework.php on line 238</div>

<div>PHP Deprecated: &nbsp;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</div>

<div>Error reading baikal.yaml file : File "/usr/local/www/baikal/config/baikal.yaml" does not exist.</div>
</div>

<div>&nbsp;</div>

<div>The web server is running as www. &nbsp;The config and Specific directories are owned by www with a+rw. &nbsp;The config directory only has a .empty file in it. &nbsp;A search of the web indicated that this error is produced by inconsistencies in the various php modules. &nbsp;They all seem to be consistent though. &nbsp;How can I fix this?</div>

<div>&nbsp;</div>

<div>
<div>-- Doug</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
&nbsp;</body></html>
------=_Part_14313_919948390.1693903295983--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2130113445.14314.1693903295986>