I am currently running Ubuntu 14.04.2 LTS and am trying to install Ralph, but there appears to be an issue installing ralph-core, related to permissions on the ralph_ng account (used automatically in the installation scripts to install a database also called ralph-ng).
When I run "sudo apt-get install ralph-core", I get the following error traceback:
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'ralph_ng'@'localhost' (using password: YES)")
Any idea why access might be denied for that user? I checked the scripts, and it looks like it should be giving the ralph_ng account all privileges in the MySQL database
Just wondering if I need to run the "grant all" command manually through the MySQL interface...
✪ vi4m Marcin Kliks
yes, ralph_ng should have granted all privileges to the database
though we didn't mention about it in in the installation manual ;)
Hmm. I guess I assumed that this would take care of itself since there appears to be a script in "vagrant/provisioning_scripts/init_mysql.sh" that handles set up of the ralph_ng database, and gives permissions
But I guess vagrant isn't running/
(since I didn't specifically set up or install vagrant) so the script probably doesn't execute?
Hmm. Yep. Sorry for the trouble! looks like i just needed to manually run the commands:
✪ vi4m Marcin Kliks
"CREATE DATABASE ralph_ng DEFAULT CHARACTER SET 'utf8';" and "GRANT ALL ON ralph_ng.* TO ralph_ng@'%' IDENTIFIED BY 'ralph_ng';"
it will create pull request which we can accept, to fix this issue for new users
on the bottom
Thanks! I'm new to "Read The Docs" =)
I am updating the installation docs as I go.
I've run into another error though
I try running Ralph using 'sudo ralph runserver 0.0.0.0:80' (instead of port 8000, so I can just type it in a browser)
And I am hitting Ralph, but I'm getting a 500 error back
Not sure how to go about troubleshooting this, since that is such a generic error
Basically, it's trying to visit "http://<ip address>/login/?next=/"
But something is failing there.
Here's the runserver output:
System check identified no issues (0 silenced). December 15, 2016 - 18:07:22 Django version 1.8.17, using settings 'ralph.settings.prod' Starting development server at http://0.0.0.0:80/ Quit the server with CONTROL-C. [15/Dec/2016 18:08:05] "GET / HTTP/1.1" 302 0 [15/Dec/2016 18:08:05] "GET /login/?next=/ HTTP/1.1" 500 27 [15/Dec/2016 18:08:05] "GET /favicon.ico HTTP/1.1" 404 85 [15/Dec/2016 18:08:27] "GET / HTTP/1.1" 302 0 [15/Dec/2016 18:08:27] "GET /login/?next=/ HTTP/1.1" 500 27
hey everyone - i am done making customizations i want for now. now i want to run the app for real instead of using ralph runserver 0.0.0.0:8000. what should i do? what is best practice?
nginx or apache, I assume
swb, did you use Vagrant when installing ralph?
i did not
Hi all, just have a quick question that I hope would be quick to answer. Regarding the usability of Ralph: WRT Racks, are there PDU specific options or should everything be added as an accessory at the moment?
I found some information in the github issues, and it pointed to the possibility, but I'm unaware of where to find the settings or visualizations.
I apologize if this is not the place to ask this.
Hmm, wondering what is causing the server error on my end then