Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 301
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1080

Closed
Open
Opened 2 weeks ago by Guy Thouret@gthouret
Report abuse New issue

Remove references to Mongo from Boost

We're using ES for view metrics, AFAIK the Mongo datastore was abandoned.

Edited 2 weeks ago by Guy Thouret

Related issues
0

  • Discussion 1
  • Designs 0
  • Guy Thouret @gthouret added Sprint::10/23 - Quiet Quail scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret assigned to @gthouret 2 weeks ago

    assigned to @gthouret

  • Guy Thouret @gthouret changed weight to 1 2 weeks ago

    changed weight to 1

  • Guy Thouret @gthouret added Type::Chore scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret added Status::Backlog scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret added Squad::Blue scoped label 2 weeks ago

    added scoped label

  • Guy Thouret @gthouret changed the description 2 weeks ago

    changed the description

  • Mark Harding @markeharding added Sprint::11/06 - Rolling Rabbit scoped label and automatically removed Sprint::10/23 - Quiet Quail label 1 week ago

    added scoped label and automatically removed label

  • Mark Harding @markeharding changed time estimate to 2h 1 week ago

    changed time estimate to 2h

  • Guy Thouret @gthouret added to epic &103 1 week ago

    added to epic &103

  • Guy Thouret @gthouret added Status::InProgress scoped label and automatically removed Status::Backlog label 18 hours ago

    added scoped label and automatically removed label

  • Guy Thouret
    Guy Thouret @gthouret · 19 minutes ago
    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 :rolling_eyes: :

    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
Assignee
Guy Thouret's avatar
Guy Thouret @gthouret
Boost Backend Improvements
Epic
Boost Backend Improvements
None
Milestone
None
Time tracking
Estimated: 2h
None
Due date
None
4
Labels
Sprint::11/06 - Rolling Rabbit Squad::Blue Status::InProgress Type::Chore
1
Weight
1
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Guy Thouret
user avatar
Mark Harding
Reference: minds/engine#1080