Type: Suggestion
Description:
Hi everyone,
Here’s my issue.
I am installing the Analytics in Canvas LMS.
Canvas’s own company (Instructure) provides an installation guide on Github (https://github.com/instructure/analytics).
cd [canvas-rails-root]
git clone [analytics-repo-url] gems/plugins/analytics
bundle update
rake db:migrate
rake canvas:compile_assets
I have followed each and every step. When executing the ‘rake’ command, it gave a problem, so I read that I should use the commands:
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake canvas:compile_assets
This configuration also gave an error, due to Cassandra’s configuration.
I assigned the corresponding permissions with ‘sudo chown -R root: canvaslms daemon’, as recommended in another forum.
I did the installation of Cassandra separately, as explained in the official page of Cassandra (https://cassandra.apache.org/doc/latest/getting_started/installing.html)
While configuring, I got stuck at the point of running the command ‘nodetool status’ and ‘cqlsh’.
When running ‘nodetool status’ I get the following error: nodetool: Failed to connect to ‘127.0.0.1:7199’ - ConnectException: ‘Connection refused (Connection refused)’.
When running ‘cqlsh’, I get the following error: Connection error: (‘Unable to connect to any servers’, {‘127.0.0.1’: error (111, "Tried connecting to [(‘127.0.0.1’, 9042)] . Last error: Connection refused ")})
Thank you very much in advance if anyone has a solution.