Remove references to Mongo from Boost
We're using ES for view metrics, AFAIK the Mongo datastore was abandoned.
added scoped label
changed weight to 1
added scoped label
added scoped label
added scoped label
changed the description
added scoped label and automatically removed label
changed time estimate to 2h
added scoped label and automatically removed label
- Developer
I was under the impression all boost analytics had been moved from Mongo to ES.
If I visit https://goal-boost-campaigns-e24.minds.io/admin/boosts/content it produces the following error
:2019/11/19 10:43:10 [error] 8#8: *18 FastCGI sent in stderr: "PHP message: Exception #1574160190: MongoDB\Driver\Exception\ConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on '127.0.0.1:27017'] in /var/www/Minds/engine/vendor/mongodb/mongodb/src/functions.php:431 Stack trace: #0 /var/www/Minds/engine/vendor/mongodb/mongodb/src/functions.php(431): MongoDB\Driver\Manager->selectServer(Object(MongoDB\Driver\ReadPreference)) #1 /var/www/Minds/engine/vendor/mongodb/mongodb/src/Collection.php(304): MongoDB\select_server(Object(MongoDB\Driver\Manager), Array) #2 /var/www/Minds/engine/Core/Data/MongoDB/Client.php(192): MongoDB\Collection->count(Array) #3 /var/www/Minds/engine/Core/Boost/Network/Metrics.php(62): Minds\Core\Data\MongoDB\Client->count('boost', Array) #4 /var/www/Minds/engine/Controllers/api/v1/admin/boosts/analytics.php(46): Minds\Core\Boost\Network\Metrics->getBacklogCount() #5 /var/www/Minds/engine/Api/Factory.php(89): Minds\Controllers\api\v1\admin\boosts\analytics->get(Array) #6 /var/www/Minds/engine/Controllers/api/api.php(76): Minds\Api\Factory::build(Array, Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response\JsonResponse)) #7 /var/www/Minds/engine/Core/Router.php(157): Minds\Controllers\api\api->get(Array) #8 /var/www/Minds/engine/index.php(9): Minds\Core\Router->route() #9 {main}" while reading response header from upstream, client: 192.168.13.110, server: _, request: "GET /api/v1/admin/boosts/analytics/newsfeed HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "goal-boost-campaigns-e24.minds.io", referrer: "https://goal-boost-campaigns-e24.minds.io/admin/boosts"
Please register or sign in to reply