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
made the issue visible to everyone
- 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 runningcqlsh
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
- Developer
Closing, can re-open if needed
closed