wimh / SparkleShare

SparkleShare is a file sharing and collaboration tool inspired by Dropbox.
http://www.sparkleshare.org/
GNU General Public License v3.0
39 stars 6 forks source link

GITHUB can not connect to repo (ERROR: Repository not found.) #7

Closed keamas closed 13 years ago

keamas commented 13 years ago

Hi I have one more problem;

I uploaded copied my ssh key to github and followed the Sparkleshare WIZARD see the Screenshots. http://is101507.students.fhstp.ac.at/?p=147

But it doesn't work see here the command line output:

21:51:34 [Fetcher][C:\Users\test\Documents\SparkleShare.tmp\Documents] Fetching folder: ssh://git@github.com/Documents 21:51:34 [Fetcher] Disabled host key checking 21:51:34 [Cmd] git clone "ssh://git@github.com/Documents" "C:\Users\test\Documents\SparkleShare.tmp\Documents" ERROR: Repository not found. fatal: The remote end hung up unexpectedly 21:51:37 [Git] Exit code 128 21:51:37 [Fetcher] Failed 21:51:37 [Fetcher] Enabled host key checking

Can anyone finde a failure or have some tips for me ???

lgordon commented 13 years ago

you need to tell sparkleshare your github username,

for example, my username is lgordon and the repo is named sparkle, so in the box I put lgordon/sparkle

the command in the output is then:

16:07:44 [Cmd] /usr/bin/git clone "ssh://git@github.com/lgordon/sparkle" "/home/lyle/SparkleShare/.tmp/sparkle"

edit: i looked at your screen shots and it seems that you did type in your username, could be a bigger issue.

keamas commented 13 years ago

hmm I entered keamas/Documents and keamas is my username but it seems that sparklesshare ignores the username keamas. Gitorious is working great but not Github...

keamas commented 13 years ago

And I have a issue when trying to use my owen server: The Git repo is located under this path on the server: /home/ladmin/Freigabe.git

I entered this credentials in the wizard on my own Server: ssh://ladmin@192.168.1.20/ Folder name: home/ladmin/Freigabe

and here the command line output:

20:41:19 [Fetcher][C:\Users\test\Documents\SparkleShare.tmp\Freigabe] Fetching folder: ssh://ladmin@192.168.1.20/Freigabe 20:41:19 [Fetcher] Disabled host key checking 20:41:19 [Cmd] git clone "ssh://ladmin@192.168.1.20/Freigabe" "C:\Users\test\Documents\SparkleShare.tmp\Freigabe" Password: fatal: '/Freigabe' does not appear to be a git repository fatal: The remote end hung up unexpectedly 20:41:29 [Git] Exit code 128 20:41:29 [Fetcher] Failed 20:41:29 [Fetcher] Enabled host key checking

Something is wrong with the path

Some information about the Server: I used Ubuntu 11. 04 and installed

openssh-server and git core

I initialized the repo:

git init --bare Freigabe.git

I copyd my Windows SSH key to the server

/home/ladmin/.ssh/authorized_keys

wimh commented 13 years ago

at least for github it should be fixed now. But I think your local path (/home/ladmin/Freigabe.git) should be handled correctly too now. I did not test that yet though.

keamas commented 13 years ago

stupid question but how can I easyly upgrade my Sparkleshare with git ?? do you have the command then I will test it and thx for the fast replays so far.

wimh commented 13 years ago

You can use git pull; start C:\msysgit\git-cmd.bat and execute:

cd \projects\SparkleShare
git pull

an then rebuild

keamas commented 13 years ago

thx for the help tested works great with github and my own server