-
Notifications
You must be signed in to change notification settings - Fork 154
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
Install script not working #41
Comments
Can you post the error message(s) from both the automated and manual steps? Is this still an issue? |
Yes, it is still an issue. steps I took when running the script: -installed ubuntu 12.04.1 desktop edition -ran the following commands: -downloaded the install script, modified permissions to 777 on the install script as the install script is running, everything looks good with the exception of: when the script finishes, I go to step 11, precompile assets I do more permissions modifying so that I can alter the file in question, and that goes ok I attempt to log in as pophealth and run: So, i run that command (after switching back to the normal user, as if I try to do it as the pophealth user, it asks for the sudo password for pophealth, which I couldn't figure out how to find), which seems to execute correctly.
So currently, when I try to go to the website, it just takes me to a page with the url '[ip]/users/sign_in' that says: We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly. steps I took when running the manual commands: -followed all the steps completely, skipping the section dealing with a proxy server I get an error on the line that says: the error says: So, I run that command. I get 2 notifications about duplicate files during that install, and choose the default, which is to keep the current version. I then run 'rvm use 1.9.3-p385' again, and the system reports the following:
...which looks like a failure to me, but I'll continue with the instructions anyway. The next command, 'rvm --default 1.9.3-p385', also gives a similar set of 'command not found' errors. continuing on, mongodb seems to install correctly I get an error on the line: the error is:
but, after the error i am logged in as pophealth, so I'll continue the next line, 'git clone https://github.com/pophealth/popHealth.git', gives me the following error: so I googled for the answer to that, and seem to have fixed it with this command: next, i get another error when trying 'bundle install', the error is: so I run that, and then try 'bundle install' again, and get this error:
now, I don't remember what all I had to do to get it a little further, so it bugs out on therubyracer as I was saying 2 months ago when I first entered the bug, but I was trying all sorts of things to get it to work. Both of these examples were tested in 2 fresh VMs that I made just now. |
Hey guys - The install script does not work. Rob McCready from Mitre, the team that created the software, explains this in this post from the google group: https://groups.google.com/forum/#!topic/pophealth-talk/ukx4ai6QZfM It looks like you just have to follow the step-by-step instructions. |
yes, as I pointed out in both of my comments, I have tried both the script and the manual install instructions. neither work. |
What in the manual instructions is not working? |
manual instructions trial starts with 'steps I took when running the manual commands:', and continues to the bottom of the comment. CRTL+F this page and you should find it. my apologies for not knowing how to format better. |
Ok, I took a quick look at the instructions and there were a couple of items that needed to be updated for the rvm installation. At the time these were written I believe rvm behaved a little bit differently but has since been updated. The other thing I see is that you are using Ubuntu Desktop while the instructions were written for Ubuntu Server. There may well be components that are installed on the Serve edition that are not available by default in the Desktop version |
thanks for the fixes! the install is going a lot further now, but it still isn't quite there. I made a fresh vm using the server edition this time (previous testing told me there was no difference, so i tend to go with desktop because it's faster for me), and got smoothly to the very last section. However I'm still getting an error at the line:
... trying to run it as the pophealth user. the error is:
|
@SirLappy: I got an error at that step too (although mine was slightly different). I eventually figured it out: you need to install node.js. You can just run:
and it will work. |
I am getting stuck at the same point, but with a different error message. Can anyone help troubleshoot this? See below: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
checking for main() in -lpthread... yes Provided configuration options: extconf failed, exit code 1 Gem files will remain installed in /tmp/bundler20140405-24188-13o6s0o/therubyracer-0.11.4/gems/therubyracer-0.11.4 for inspection. |
I am stuck at the same point. location.rb:15:in `initialize': Permission denied. |
Since the 2.1 instructions guide you to install RVM system wide (note the 'sudo' in the curl line after it's piped to bash) this restricts the pophealth user from reaching all the necessary binaries if you do not include them in the rvm group. After installing RVM and you've created your pophealth user run this command:
Then, if you're currently logged in as pophealth, log out and back in to make the group addition effective. You can then attempt to 'bundle install' again. |
I followed the step by step installation instructions on Ubuntu 16.04 LTS. When I try to access pophealth from http:// it gives me 'We're sorry but something went wrong' /var/log/apache2/error.log says: *** ERROR ***: Cannot execute /home/pophealth/.rvm/gems: Permission denied (13) I put in PassengerUser pophealth into apache2 pophealth config file but that did not help. What can I try next? |
I've been trying to install PopHealth for a few days now, unsuccessfully. I'm using the Installation v2.1 instructions, but there seems to be some errors of some kind.
I believe the installation gets closest when I use the 'install_pophealth.sh' script - everything completes, but then when I try to access the web page, it redirects to /users/sign_in correctly, but the page that comes up is the 500 error page. I've tried to debug this situation, but have not come up with any solutions.
If I follow the instructions manually instead of using the script, I get an error on the 'bundle install' step when it's attempting to install therubyracer.
I've tried to install all the pieces separately, getting them to work and them bringing it all together, but I can't manage to do that either.
You should be able to duplicate the issues by just following the instructions. I've done it many times, and it always breaks the same ways.
The text was updated successfully, but these errors were encountered: