Page MenuHomePhabricator

Justin_C_Lloyd (Justin Lloyd)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Feb 17 2021, 6:52 PM (22 w, 1 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Justin C Lloyd [ Global Accounts ]

Recent Activity

Wed, Jul 21

Justin_C_Lloyd added a comment to T276854: composer update command installs PHP client for Elasticsearch v6.8.0 where some classes were removed.

If you're letting it install based on the SMW version constraints alone, probably.

If you're combining (using composer-merge-plugin) your composer.json files, it should try and make sure it validates and meets all constraints

Wed, Jul 21, 8:11 PM · MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), MW-1.35-release, Upstream, Discovery-Search, CirrusSearch
Justin_C_Lloyd added a comment to T276854: composer update command installs PHP client for Elasticsearch v6.8.0 where some classes were removed.

I'm seeing the same problem in the original post where Elastica requires ruflin/elastica 6.1.5, which requires elasticsearch/elasticsearch: ^6.0 and conflicts with 6.8.1. However, I also just noticed that Semantic MediaWiki requires elasticsearch/elasticsearch ^5.3|^6.0, so I think that's why I'm getting 6.8.1.

Wed, Jul 21, 3:44 PM · MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), MW-1.35-release, Upstream, Discovery-Search, CirrusSearch
Justin_C_Lloyd added a comment to T276854: composer update command installs PHP client for Elasticsearch v6.8.0 where some classes were removed.

This still doesn't seem to work. I'm on MediaWiki 1.35.3, trying to get AWS Elasticsearch v6.5.4 working with CirrusSearch. I've got Elastica 6.1.3 (de9fe84) and elasticsearch/elasticsearch 6.8.1 but when I run the maintenance script I get the error in T267106:

# php ./extensions/CirrusSearch/maintenance/UpdateSearchIndexConfig.php 
indexing namespaces...
PHP Fatal error:  Declaration of Elasticsearch\Endpoints\Indices\Exists::getParamWhitelist() must be compatible with Elasticsearch\Endpoints\AbstractEndpoint::getPar
amWhitelist(): array in $IP/extensions/Elastica/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/Exists.php on line 45

But that error is completely different (it's not from missing classes), and is detailed in T267106: PHP fatal error while searching index: Declaration of Elasticsearch\Endpoints\Indices\Exists::getParamWhitelist() must be compatible with Elasticsearch\Endpoints\AbstractEndpoint::getParamWhitelist():

Wed, Jul 21, 2:55 PM · MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), MW-1.35-release, Upstream, Discovery-Search, CirrusSearch
Justin_C_Lloyd added a comment to T276854: composer update command installs PHP client for Elasticsearch v6.8.0 where some classes were removed.

This still doesn't seem to work. I'm on MediaWiki 1.35.3, trying to get AWS Elasticsearch v6.5.4 working with CirrusSearch. I've got elasticsearch/elasticsearch 6.8.1 but when I run the maintenance script I get the error in T267106:

Wed, Jul 21, 2:49 PM · MW-1.36-notes (1.36.0-wmf.34; 2021-03-09), MW-1.35-release, Upstream, Discovery-Search, CirrusSearch

Mar 1 2021

Justin_C_Lloyd added a comment to T246594: Prevent use of known buggy versions of PHP (that are greater than the minimum supported PHP version) (7.4.0 – 7.4.8, and 7.3.0 - 7.3.18).

This PHP restriction is completely breaking MediaWiki installation on Ubuntu 20.04 (focal) since that currently has PHP 7.4.3 in its repo. Fortunately, I have a version of MW downloaded from Feb 8, so I can use that, but this patch prevents upgrading MediaWiki as long as Ubuntu doesn't have a new enough version of PHP.

Mar 1 2021, 1:23 PM · MediaWiki-General

Feb 17 2021

Justin_C_Lloyd created T275064: CURLPIPE_HTTP1 is no longer supported in MultiHttpClient.php.
Feb 17 2021, 7:03 PM