updateSearchIndexConfig.php - elasticsearch

I'm installing CirrusSearch extension in this environment:
MediaWiki 1.34.2
PHP 7.3.22 (cgi-fcgi)
MySQL 5.6.41-84.1
ICU 4.2.1
Lua 5.1.5
I'm also using the Heroku's Searchbox add-on with Elasticsearch 6.8.8.
When I try to build the index, i get the following error:
Elastica\Exception\Connection\HttpException from line 189 .. Elastica/vendor/ruflin/elastica/lib/Elastica/Transport/Http.php: Couldn't connect to host, Elasticsearch down?
Does anyone knows what's happening? Can you guys help me?

Related

gatsby new command error "TypeError: rd.cursorTo is not a function"

Im creating a new site using the command gatsby new and im getting the following error
Cloning site template C:\Users\catal\AppData\Roaming\npm\node_modules\gatsby-cli\node_modules\yoga-layout-prebuilt\yoga-layout\build\Release\nbind.js:53
throw ex;
^
TypeError: rd.cursorTo is not a function
at Timeout._onTimeout (C:\Users\catal\AppData\Roaming\npm\node_modules\gatsby-cli\node_modules\create-gatsby\lib\index.js:5:852)
at listOnTimeout (node:internal/timers:564:17)
at processTimers (node:internal/timers:507:7)
Node.js v18.7.0
Im using windows 11
That was reported in gatsbyjs/gatsby issue 35426 in last April (2022), for now without conclusive resolution.
Try the create-gatsby locally first, following its readme, to check if this is a version issue (although node minimum version was set to 10).
If possible, try it also in a Linux WSL2 (for instance Ubuntu) VM, in order to check if this is related to the OS.
Upgrading my python version to latest fixed the issue for me.

Downgrading postgis 3.0.1 to 2.4.4

I tried searching for brew download formula for a spesific version of postgis, but could not find one.
I tried running following
ALTER EXTENSION postgis UPDATE TO "2.4.4";
It gives following error
ERROR: extension "postgis" has no update path from version "3.0.1" to version "2.4.4" SQL state: 22023
Any other possible way?
I don't know another way. As far as I know you have only the possibilities that are listed in the PostGIS-Folder of your Postgres-installation
e.g. C:\apps\PostgreSQL\13\share\extension
In my case with PostGIS 3.1.1 there are only Upgrade and no downgrade-options:
postgis--2.0.0--3.1.1.sql
postgis--2.0.1--3.1.1.sql
postgis--2.0.2--3.1.1.sql
...
postgis--3.1.0--3.1.1.sql

PHP Version Compatability with Codeignitor 4

I am new to codeignitor...I have an issue of php version with Codeignitor.
The Error says
Your PHP version must be 7.2 or higher to run CodeIgniter. Current version: 5.6.40
But I have php version 7.4.3 that is shown in image below:
So whats the exact solution in your mind? share it guys with me .
Thank you

kibana dont start up on linux machine

I am getting below error while starting kibana from linux box. Kibana version I am using is 7.3.1
./kibana: syntax error at line 6: `ls=$' unexpected
Please suggest and let me know what I am doing wrong ?
Sometime moving to next more stable version may solve the problem.

Magento installation error on wamp n xamp server

I'm getting error. I tried again and reinstalled too. My PHP server is on an updated version.
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/......../httpdocs/magento/vendor/magento/framework/App/Bootstrap.php on line 411
You might want to take a look at the server requirements for installing Magento 2, it might be that your PHP version is not high enough
http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements-tech.html
This is happening because your server does not meet Magento's minimum requirements. Here's an excerpt, or see here for more details:
Requirements
Composer (latest stable version)
Composer is required for developers who wish to contribute to the Magento 2 codebase or anyone who wishes to develop > Magento extensions
Web servers
Apache 2.2 or 2.4
In addition, the apache mod_rewrite module must be enabled. mod_rewrite enables the server to perform URL rewriting. For > more information, see our Apache documentation.
nginx 1.8 (or latest mainline version)
Database
MySQL 5.6
MariaDB and Percona are compatible with Magento because we support MySQL 5.6 APIs.
PHP
5.6.x
5.5.x, where x is 22 or greater
7.0.2, 7.0.6–7.0.x
There is a known PHP 7.0.5 issue that affects our code compiler; to avoid the issue, do not use PHP 7.0.5.
Not supported:
PHP 7.1
PHP 5.4
Required PHP extensions:
bc-math
curl
gd, ImageMagick 6.3.7 (or later) or both
intl
mbstring
mcrypt
mhash
openssl
PDO/MySQL
SimpleXML
soap
xml
xsl
zip

Resources