Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete guide to run minds for development #108

Closed
Bitlitas opened this issue May 27, 2018 · 10 comments
Closed

Complete guide to run minds for development #108

Bitlitas opened this issue May 27, 2018 · 10 comments

Comments

@Bitlitas
Copy link

Hi. I try to run minds on local server by docs tutorial, but have no success. I always got some errors. Can someone help me and show how to do a fresh install?

screenshot from 2018-05-27 18-31-31
screenshot from 2018-05-27 16-54-09
screenshot from 2018-05-27 16-37-58
screenshot from 2018-05-27 16-29-53
screenshot from 2018-05-27 02-33-38

@noiseunit
Copy link

noiseunit commented May 27, 2018

I too am getting the same 'cli.php: [EXCEPTION:Cassandra\Exception\RuntimeException] Keyspace 'minds' does not exist' error.

installer_1 | Running install
installer_1 | - Checking passed options: OK
installer_1 | - Building configuration file: OK
installer_1 | - Loading new configuration: OK
installer_1 | - Setting up data storage (ignore errors, if any):
installer_1 | cli.php: [EXCEPTION:Cassandra\Exception\RuntimeException] Keyspace 'minds' does not exist

Everything else with the new docker-compose instructions seems to be working.

cassandra_1 | INFO [main] 2018-05-27 17:13:40,838 Server.java:156 - Starting listening for CQL clients on /0.0.0.0:9042 (unencrypted)...
cassandra_1 | INFO [main] 2018-05-27 17:13:40,931 ThriftServer.java:116 - Binding thrift service to /0.0.0.0:9160
cassandra_1 | INFO [Thread-2] 2018-05-27 17:13:40,940 ThriftServer.java:133 - Listening for thrift clients...

NewMacBookPro:minds noiseunit$ docker-compose exec cassandra nodetool statusthrift
running

front-build_1 | chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 3.89 kB [entry] [rendered]
front-build_1 | chunk {main} main.bundle.js, main.bundle.js.map (main) 3.14 MB [initial] [rendered]
front-build_1 | chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 204 kB [initial] [rendered]
front-build_1 | chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 177 kB [initial] [rendered]
front-build_1 | chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 837 kB [initial] [rendered]
front-build_1 | chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 6.15 MB [initial] [rendered]
minds_front-build_1 exited with code 0

However, since I know absolutely zero about Cassandra I fear I will not be much help tracking down what is going rogue. While doing ome snooping in the Cassandra startup I do not see a "minds" key space being created and indeed it is not listed in '/Volumes/Data/git/minds/cassandra/data/system_schema/keyspaces-someHash/mc-9-bit-TOC.txt'

@surender-india
Copy link

I am also facing same issue

@elitekode2
Copy link

im runnning into the same issue as well. is the team at minds just taking the open source comunity for a ride? :/

@surender-india
Copy link

Please help me still struggling to install minds using docker on my machine still throwing error
cli.php: [EXCEPTION:Cassandra\Exception\RuntimeException] Keyspace 'minds' does not exist

@Bitlitas
Copy link
Author

Bitlitas commented Jun 5, 2018

Please, update docs or make a tutorial how to install minds for development 👍

@datgb
Copy link

datgb commented Jul 8, 2018

Developers seem to have abandoned the community here.

@bigtimeyash
Copy link

@markharding, any insights here?

Appreciate the help

@huangyingw
Copy link

huangyingw commented Oct 6, 2018

I am debugging this issue for myself for sometimes.
This error is from this line:

$this->session = $this->cluster->connect($options['keyspace']); in engine/Core/Data/Cassandra/Client.php.

When attaching to the cassandra containder, and run following command:

cqlsh> DESCRIBE KEYSPACES ; system_traces system_schema system_auth system system_distributed

There is no keyspace called 'minds'.
I am searching through the code, hoping to see how to create the 'minds' keyspace.
Once found, this issue should be fixed.

@markharding
Copy link
Member

Please follow the instructions here: https://github.com/minds/minds#development-installation

@codevector
Copy link

I have tried to install and found that cassandra-provision.cql is missing from engine's source code.
Please commit cassandra-provision.cql also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants