Giter Club home page Giter Club logo

Comments (6)

chrisgorgo avatar chrisgorgo commented on August 29, 2024

Try increasing timeout on this step. I just added caching in #6 that avoids
redownloading dependencies (deb packages and freesurfer).

On Wed Dec 03 2014 at 8:41:26 AM vsoch [email protected] wrote:

Is there a way to run just a portion of the install from main? My install
failed with getting the pycortex data:

==> default: Debug: Executing 'svn export --force
https://github.com/NeuroVault/neurovault_data/trunk/pycortex_datastore
/opt/pycortex_data'

Likely because of just internet connectivity. The remaining errors were
largely warnings and notices about the dependency, but I can find a bunch
of commands that were skipped, eg:

==> default: Warning:
/Stage[main]/Main/Neurovault::Main[nvault-install]/Neurovault::Pycortex[install_pycortex]/Exec[chown_datastore]:
Skipping because of failed dependencies

And they are substantial because manage.py runserver can't even find
django (and I did source the venv).

I was going through each one and looking in the main.pp file and then the
appropriate file under manifests to run manually, but I think it would be
easier to just trigger the install from some point forward. I did install
all of freesurfer so I'm less wanting to restart the whole thing to see if
I get the same timeout!


Reply to this email directly or view it on GitHub
#7.

from neurovault_puppet.

vsoch avatar vsoch commented on August 29, 2024

Yep, that did the trick! Now for a repeat performance with freesurfer!

from neurovault_puppet.

chrisgorgo avatar chrisgorgo commented on August 29, 2024

please send a PR with updated timeout

On Wed Dec 03 2014 at 9:39:18 AM vsoch [email protected] wrote:

Yep, that did the trick! Now for a repeat performance with freesurfer!


Reply to this email directly or view it on GitHub
#7 (comment)
.

from neurovault_puppet.

vsoch avatar vsoch commented on August 29, 2024

Re: cache: It looks like it's just downloading freesurfer. However, I manually created the cache directory (and deleted everything else under ~/.vagrand.d) and (what I think) should happen is sharing the cache between instances of the same box - however since I deleted everything before retrying, technically this is the first instance :) Should I let this one finish, and then create another?

==> default: Notice: /Stage[main]/Main/Neurovault::Main[nvault-install]/Neurovault::Freesurfer[install_freesurfer]/Package[libxmu6]/ensure: ensure changed 'purged' to 'present'
==> default: Debug: /Package[libxmu6]: The container Neurovault::Freesurfer[install_freesurfer] will propagate my refresh event
==> default: Debug: Execdl_freesurfer: Executing check 'test -d /opt/freesurfer'
==> default: Debug: Executing 'test -d /opt/freesurfer'
==> default: Debug: Execdl_freesurfer: Executing 'mkdir -p /var/cache/wget && wget wget -N -P /var/cache/wget ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz'
==> default: Debug: Executing 'mkdir -p /var/cache/wget && wget wget -N -P /var/cache/wget ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz'

from neurovault_puppet.

chrisgorgo avatar chrisgorgo commented on August 29, 2024

Yes it is downloading it now. You can let it finish or stop it, destroy the
VM, replace the unfinished download with the tarball you got from the other
computer, start building the VM again. It should not have to download
FreeSurfer then.

BTW I merged all of the PR on neurovault_puppet. You can use master now.

On Wed Dec 03 2014 at 2:22:35 PM vsoch [email protected] wrote:

Re: cache: It looks like it's just downloading freesurfer. However, I
manually created the cache directory (and deleted everything else under
~/.vagrand.d) and (what I think) should happen is sharing the cache between
instances of the same box - however since I deleted everything before
retrying, technically this is the first instance :) Should I let this one
finish, and then create another?

==> default: Notice:
/Stage[main]/Main/Neurovault::Main[nvault-install]/Neurovault::Freesurfer[install_freesurfer]/Package[libxmu6]/ensure:
ensure changed 'purged' to 'present'
==> default: Debug: /Package[libxmu6]: The container
Neurovault::Freesurfer[install_freesurfer] will propagate my refresh event
==> default: Debug: Execdl_freesurfer http://provider=posix: Executing
check 'test -d /opt/freesurfer'
==> default: Debug: Executing 'test -d /opt/freesurfer'
==> default: Debug: Execdl_freesurfer http://provider=posix: Executing
'mkdir -p /var/cache/wget && wget wget -N -P /var/cache/wget
ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz
'
==> default: Debug: Executing 'mkdir -p /var/cache/wget && wget wget -N -P
/var/cache/wget
ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz
'


Reply to this email directly or view it on GitHub
#7 (comment)
.

from neurovault_puppet.

vsoch avatar vsoch commented on August 29, 2024

I had one more error:

==> default: Error: mkdir -p /var/cache/wget && wget wget -N -P /var/cache/wget ftp://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/5.3.0/freesurfer-Linux-centos4_x86_64-stable-pub-v5.3.0.tar.gz returned 4 instead of one of [0]

But wget error code 4 is just Network error, so this is likely again my shoddy wireless connection. I'm still going to try it again. I'll post here only if there is an error that is not network related.

from neurovault_puppet.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.