Comments (5)
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.
@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.
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.
@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.
@vmalaga awesome, please let us know if you find any other issue.
from gandalf.
Related Issues (20)
- Remove an empty namespace upon repository removal
- Create a handler to return log message and textual diff for a given ref of a repository HOT 1
- Improve the PUT /repository/:name: to update all data of a repository, not only the name HOT 1
- store repositories in s3 HOT 2
- api: improve status code reporting
- Support add/pushing tags
- Clarify the payload for the `commit` API call HOT 1
- docs: How to initialize git repo created by gandalf HOT 1
- Git Push Error - gandalf not found HOT 11
- Git Push: HTTPConnectionPool Error: Max Retries reached HOT 11
- support HTTPs
- add endpoint to update user public key
- add key should return 409 when there's already a key with the provided name
- gandalf-ssh should be able to send logs to stdout/stderr HOT 4
- Installation problem HOT 4
- NodeJS tsuru image not accepting pushes anymore HOT 3
- use gops to report informations about gandalf
- Could not create git bare repository
- Gandalf binary for Ubuntu 18.04 LTS "Bionic Beaver"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gandalf.