Skip to content
This repository has been archived by the owner on Aug 14, 2018. It is now read-only.

Details on repo don't show up #27

Open
skkeeper opened this issue Jul 29, 2011 · 2 comments
Open

Details on repo don't show up #27

skkeeper opened this issue Jul 29, 2011 · 2 comments

Comments

@skkeeper
Copy link

I'm not sure if this is a bug since the last time (and only time I used bananajour) was a year ago and I didn't have much time to play around with it, but it's now not showing up any details on the repositories I added. For example:

Screenshot

That repository has 1 commit, but I've tried with public repos that have hundreds.

Maybe I'm missing some dependency, I've setup my system in Fedora 15 as described here.

@smathy
Copy link
Collaborator

smathy commented Aug 19, 2011

Do you have some git daemon processes running? They should look something like this:

git daemon --base-path=/Users/jk/.bananajour/repositories --export-all

And that directory should contain a bunch of repo.git directories.

@freshtonic
Copy link
Contributor

This can be a symptom of incorrect Avahi configuration.

This information from the readme might help:

Linux support

To install the dnssd gem on Linux you'll need avahi. For Ubuntu peeps this means:

sudo aptitude update

sudo aptitude install g++ ruby-dev \
 libavahi-compat-libdnssd-dev avahi-discover avahi-utils

and you'll need to set the domain-name:

sudo sed -i \
 -e 's/#domain-name=local/domain-name=local/' \
 /etc/avahi/avahi-daemon.conf

sudo service avahi-daemon restart

You can debug whether or not Avahi can see Bananajour and git-daemon Bonjour statuses using the command 'avahi-browse'. This command can be found in the package 'avahi-utils'.

The following command will show you all of the Bonjour services running on your local network:

avahi-browse --all

If you kill bananajour with kill -9 it doesn't get a chance to unregister the Bonjour services, and when it is restarted it will die with DNSSD::AlreadyRegisteredError. Although not ideal, you can work around this my restarting avahi-daemon first.

Note: You might have to restart the avahi-daemon sometimes if you are having problems seeing other bananajours.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants