-
Notifications
You must be signed in to change notification settings - Fork 24
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
Devasena Inupakutika (di1c13): new volunteer via Mozilla Science Lab Collaborate #455
Comments
@DevasenaInupakutika: Thanks for your interest in the project. We would be glad to have you input on tasks related automated deployment of Refinery. A good first step would be to try to get Refinery to work using the current deployment that we are suggesting for developers (https://github.com/parklab/refinery-platform/blob/develop/README.rst). Then you could check out the tasks for the "Automated Deployment" milestone (https://github.com/parklab/refinery-platform/milestones/Automated%20Deployment) and get back to us with suggestions for how you would address them. Of course we'd be very happy to answer whatever questions you have about the project and the software. We are looking forward to hearing from you! |
@ngehlenborg Thank you very much for the information. Regarding setting up my machine (Mac OSX 10.9.2) for current deployment of Refinery, I would like to know if its required to get 'apt-get' on MAC OSX using 'Fink' installer or it would just work fine with 'brew' or 'yum'. When I'm trying to run 'Vagrant provision' multiple times in order to install dependencies, sometimes it shows errors related to '/usr/bin/apt-get' but most of the times it just doesn't. |
Hi, you don't need apt-get on the OS X host to run Refinery: only git, VirtualBox and Vagrant. Also, make sure you have a fast and reliable Internet connection when running |
@hackdna Thank you. I got the current deployment working successfully.
So, in order to get rid of this error due to
Followed by Could you please let me know if it would be good to include this step in README.rst. |
Congratulations, you've discovered your first deployment bug! :) |
@hackdna I could figure out the reason based on the error logs that I got and system directory default settings: From the path that is mentioned in exec section after package in default.pp i.e. which says that exec scripts that will be run will be placed in However, it could be possible that in case of OSX (like in this case), path hasn't been set up in |
This has nothing to do with the OS X host. The NPM executable is getting installed into
It appears that |
Here's the detailed error log:
Something to do with permissions on .npm folder? The same issue has been reported here #412 . |
Thank you. I've found two threads discussing this error message: npm/npm#5226 and npm/npm#5348. It'd be great if you could investigate further and come up with a fix. |
After some trial and investigation, following these steps solve the issue:
Also, as discussed here: [http://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo], above two steps are as good as changing the permissions on the node and npm directories to be as if they have been installed by current user. |
Thanks for looking into this. I've just provisioned the VM completely from scratch ( |
Yes, I could find the And I provisioned VM from scratch now which ran without any error. Thanks very much! However, there is this thing which I observed during this deployment process. Even if I run through the error ( |
It's great that you were able to provision the VM. Now that you've seen how unreliable this process can be, would you like to try to help us evaluate some alternatives? For example, using Ansible as a provisioner instead of Puppet (issue #416)? |
Sure! I would like do that and update the issue here with my findings. |
This might be of help: http://www.ansible.com/ansible-book |
Thank you. |
Yes, Python module dependencies are listed in |
Reproducible science aspect of this project. Automating the installation of refinery platform and making it available for researchers across the world.
I can help with the automation of the refinery platform and its provisioning procedure with the skills (my interest in reproducible research) that I developed in reproducible research and vagrant (we are currently working on Microsoft Azure as a cloud platform) during my current work involving setting up of cloud infrastructure with recomputation.org team in making scientific experiments available across wide research community.
The text was updated successfully, but these errors were encountered: