Coder Social home page Coder Social logo

Comments (5)

vmalaga avatar vmalaga commented on July 26, 2024

enabling -x on pre-receive hook I can see the reason of the error, archive-server return missing archive file to the curl request

remote: + export TSURU_HOST=http://172.16.70.100:8080
remote: + TSURU_HOST=http://172.16.70.100:8080
remote: + export TSURU_TOKEN=bf1181bb84ef7fe24c8f035cf3941b3843450580
remote: + TSURU_TOKEN=bf1181bb84ef7fe24c8f035cf3941b3843450580
remote: + export ARCHIVE_SERVER_READ=http://172.16.70.100:3232 ARCHIVE_SERVER_WRITE=http://127.0.0.1:3131
remote: + ARCHIVE_SERVER_READ=http://172.16.70.100:3232
remote: + ARCHIVE_SERVER_WRITE=http://127.0.0.1:3131
remote: + read oldrev newrev refname
remote: + set +e
remote: + echo refs/heads/master
remote: + grep -v 'tags/master$'
remote: + grep -q '/master$'
remote: + status=0
remote: + set -e
remote: + '[' 0 = 0 ']'
remote: + COMMIT=1d4cbcf5f55b4720091384241ce163155f3d1607
remote: + read oldrev newrev refname
remote: + '[' -z 1d4cbcf5f55b4720091384241ce163155f3d1607 ']'
remote: + APP_DIR=tests3.git
remote: + APP_NAME=tests3
remote: ++ generate_archive /var/lib/gandalf/repositories/tests3.git 1d4cbcf5f55b4720091384241ce163155f3d1607
remote: ++ url=http://127.0.0.1:3131/
remote: +++ curl -sNd 'path=/var/lib/gandalf/repositories/tests3.git&refid=1d4cbcf5f55b4720091384241ce163155f3d1607' http://127.0.0.1:3131/
remote: ++ result='missing archive file'

from gandalf.

fsouza avatar fsouza commented on July 26, 2024

@vmalaga looks like it's indeed archive-server. Did you upgrade it as well? If so, could you please upgrade the pre-receive hook? There was a change in the archive-server (I expected it to be backward compatible, but looks like it wasn't).

I'm at the moment fixing archive-server so it's backward compatible, sorry for about that :-(

from gandalf.

fsouza avatar fsouza commented on July 26, 2024

Launchpad is finishing the build of the deb packages, can you try upgrading archive-server afterwards and confirm that it works as expected?

from gandalf.

vmalaga avatar vmalaga commented on July 26, 2024

@fsouza I just upgraded archive-server and now it works like expected. Thanks for the speed, so leave the platform working for tomorrow.

I am going to finish review all the stack to give the upgrade to 0.13 closed

from gandalf.

fsouza avatar fsouza commented on July 26, 2024

@vmalaga awesome, please let us know if you find any other issue.

from gandalf.

Related Issues (20)

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.