Comments (11)
Hi @aaronfranco, how did you install Gandalf? Can you share your Gandalf configuration file? It's probably at /etc/gandalf.conf
.
from gandalf.
Hi @fsouza, thanks for the speedy reply! I installed with aptitude
sudo apt-get install gandalf-server
Here is my config:
bin-path: /usr/local/bin/gandalf
database:
url: 127.0.0.1:27017
name: gandalf
git:
bare:
location: /var/lib/gandalf/repositories
template: /home/git/bare-template
host: localhost
bind: "0.0.0.0:8000"
uid: git
api:
request:
maxMemory: 2097152
repository:
tempDir: /tmp
from gandalf.
@aaronfranco the first line should be /usr/bin/gandalf-ssh
instead. You need to remove the old key, change the file, restart the gandalf-server and then add the key back again.
Alternatively, you can just change the file /etc/gandalf.conf
, restart gandalf-server and manually edit the file /home/git/.ssh/authorized_keys
, replacing "/usr/local/bin/gandalf" with "/usr/bin/gandalf-ssh".
from gandalf.
Do I remove the old key with tsuru key-remove?
You mention I need to "change the file," which file is that?
from gandalf.
@aaronfranco I'm sorry, I've just edited my comment. The file is /etc/gandalf.conf
.
Yes, the command to remove the key is tsuru key-remove
.
from gandalf.
@fsouza thanks! that fixed it.
from gandalf.
@aaronfranco thank you! Do you think there's something we can improve in our documentation to avoid this kind of confusion in the future?
from gandalf.
@fsouza Yes. The sample gandalf config file caused the problem for me. I think updating it with the right bin-path should help 👍
That file is used on this page of your documentation. Now that I look at it, I also had to change the git template paths.
from gandalf.
@aaronfranco Thank you! I've updated the configuration file and the documentation page, is it fine to close this issue?
from gandalf.
@fsouza I think the file needs one more change...
...
git:
bare:
location: /var/lib/gandalf/repositories
...
Currently, the git:bare:location is set to /tmp/repositories. I'm not sure that makes a differnce, but I had to change mine to the above.
from gandalf.
Sure, thanks!
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: 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
- master (pre-receive hook declined) HOT 5
- 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.