Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds
Minds
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Dependency List
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 149
    • Issues 149
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • MindsMinds
  • Issues
  • #561

Closed
Open
Opened 1 week ago by Minds Gitbot@mindsgitbot:bug:
  • Report abuse
  • New issue
Report abuse New issue

NGINX

Summary:

nginx_1 | 2019/06/10 20:40:32 [error] 6#6: *823 FastCGI sent in stderr: "PHP message: [CQL Error: Cassandra\Exception\InvalidQueryException] unconfigured table update_markers nginx_1 | PHP message: {"string":"SELECT * FROM update_markers WHERE user_guid = ? AND entity_type = ?","values":[{"type":{"name":"varint"},"value":"984833295999045640"},"group"]} nginx_1 | PHP message: PHP WARNING: 2019-06-10 20:40:32 (UTC): "Invalid argument supplied for foreach()" in file /var/www/Minds/engine/Core/Notification/UpdateMarkers/Repository.php (line 68)" while reading response header from upstream, client: 24.136.27.241, server: _, request: "GET /api/v2/notifications/markers?type=group HTTP/1.1", upstream: "fastcgi://172.18.0.8:9000", host: "domain.com", referrer: "http://domain.com/minds"

Steps to reproduce:

Upload avatar to channel.

Browser and OS

Brave/MacOS reported by: @Testchi

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    • Ben Hayward @benhayward.ben made the issue visible to everyone 1 week ago

      made the issue visible to everyone

    • Ben Hayward
      Ben Hayward @benhayward.ben · 1 week ago
      Developer

      User here is @thedanetidwell

      I'm going to close #560 (closed) and we can just chat about that here

      So there's 2 things that could be happening here.

      update_markers in #560 (closed) is referring to this table, perhaps its missing from your Cassandra provisioner?

      engine/Core/Provisioner/Provisioners/cassandra-provisioner.cql

      If it is missing, you can add it there and reinstall, or docker exec cassandra sh and running cqlsh

      CREATE TABLE minds.update_markers (
          user_guid varint,
          entity_type text,
          entity_guid varint,
          marker text,
          disabled boolean,
          read_timestamp timestamp,
          updated_timestamp timestamp,
          PRIMARY KEY (user_guid, entity_type, entity_guid, marker)
      ) WITH CLUSTERING ORDER BY (entity_type ASC, entity_guid ASC, marker ASC);
      

      What also could be happening is that Cassandra could be failing during the install - to debug this I'd need the output from when you start it up, or the docker logs.

      For the record this exact issue is a fine example of what is holding us back from #363

    • Ben Hayward
      Ben Hayward @benhayward.ben · 15 hours ago
      Developer

      Closing, can re-open if needed

    • Ben Hayward @benhayward.ben closed 15 hours ago

      closed

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    Assignee
    None
    Assign to
    None
    Epic
    None
    None
    Milestone
    None
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    0
    Labels
    None
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    3
    3 participants
    user avatar
    Ben Hayward
    user avatar
    Minds Gitbot
    user avatar
    Testchi on Minds
    Reference: minds/minds#561