Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 24 2019 15:16

    achilleas-k on dev

    Reword signup note about affili… Change "retype" prompt in signu… Fix "for" field in form labels and 1 more (compare)

  • Jan 23 2019 18:07

    achilleas-k on dev

    [signup] Fix link to Data Proce… (compare)

  • Jan 23 2019 17:10

    achilleas-k on dev

    [signup] Update Signup page - … (compare)

  • Jan 23 2019 13:10
    achilleas-k assigned #30
  • Jan 23 2019 13:10
    achilleas-k opened #30
  • Jan 18 2019 14:14

    achilleas-k on dev

    Copyright in footer: 2019 (compare)

  • Jan 07 2019 17:33
    ajkswamy edited #27
  • Jan 07 2019 17:33
    ajkswamy opened #27
  • Jan 07 2019 17:30
    ajkswamy opened #26
  • Jan 07 2019 17:27
    ajkswamy opened #25
  • Dec 19 2018 13:42

    achilleas-k on dev

    Dockerfile: Install git-annex-s… (compare)

  • Dec 14 2018 16:34
    achilleas-k opened #24
  • Dec 11 2018 15:31

    achilleas-k on dev

    Minor localisation fixes (compare)

  • Dec 11 2018 15:22

    achilleas-k on dev

    Minor localisation fixes (compare)

  • Dec 11 2018 13:18

    achilleas-k on dev

    [travis] Back to upstream (compare)

  • Dec 11 2018 13:05

    achilleas-k on dev

    Footer redesign: Two lines Fir… Change PLOS logo in Footer to i… (compare)

  • Dec 07 2018 18:20

    achilleas-k on dev

    Vendor: update github.com/G-Nod… (compare)

  • Dec 06 2018 19:19

    achilleas-k on dev

    Vendor all dependencies Reverting to upstream Dockerfil… (compare)

  • Dec 06 2018 16:06

    achilleas-k on dev

    Minor template variable renamin… (compare)

  • Dec 06 2018 15:42

    achilleas-k on dev

    Repo header: Fix DOIReg variabl… (compare)

Achilleas Koutsou
@achilleas-k
<home>/Library/Caches on macos
~/.cache/g-node/gin on Linux
<home>\AppData\Local\g-node\gin on Windows
Correction for macOS: ~/Library/Caches/G-Node/gin/
Maximilian
@mschmidt87
This is what "gin --version" gives me: GIN command line client 0.16 Build 000849 (918a06ff8f352fae7bd905c2513a92b6e8ae0706)
Maximilian
@mschmidt87
I followed step b). But perhaps my git annex is not properly set up and that is the problem?
Achilleas Koutsou
@achilleas-k
The git annex version seems to be okay, otherwise the client would complain
I'm not seeing anything obvious. You said in your original message that the client lists the files and says it's uploading?
There's a lot of unusual situations that the v0.16 client couldn't handle that have been fixed in the latest beta. https://github.com/G-Node/gin-cli/releases/tag/v1.0beta
It's still called beta because I haven't released it officially yet, but the 1.0 should be out soon and it will very likely be exactly the same as this beta
I'd recommend trying it out and seeing if you get the same issue.
Let me know how it goes!
Noldos
@Noldos

Hi, I'm trying to set up a GIN server on a small server in our lab. I keep hitting authentication issues. I start gin with docker run -v /srv/git/:/data -p 3000:3000 -p 2222:22 -d gnode/ginhome
which works fine for the http part, ie. the web interface is up.

But I can't do a simple pull:

> gin add-server --web http://192.168.99.99:3000 --git userid@192.168.99.99:2222 servername
> gin get user/repo
 Downloading repository Repository download failed. Internal git command returned: Cloning into 'repo'...
userid@192.168.99.99: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

[error] 1 operation failed

No luck if i connect with userid = git or my gin user name

even if I add my key by hand to /srv/git/git/.ssh/authorized_keys, I get the same message, even though I can connect to port 2222:

ssh git@192.168.99.99 -p 2222
PTY allocation request failed on channel 0
Hi there, You've successfully authenticated, but Gogs does not provide shell access.
If this is unexpected, please log in with password and setup Gogs under another user.
Connection to 192.168.99.99 closed.

any ideas?

Achilleas Koutsou
@achilleas-k
Hi @Noldos. is the gin client logged into the local server?
gin use-server servername
gin login
Noldos
@Noldos
Hi, Thanx for the answer.
Yes, I can log in
>gin login username
Logging into servername
Password: *************************

:: Welcome username
:: Successfully logged into servername[http://192.168.99.99:3000]
Noldos
@Noldos
A few more preemptive answers :):
I'm not using the inbuilt gogs ssh server since gogs documentation advises against using it in docker container
I can get repos list, key information and so on from the server
>gin login event is logged in /srv/git/gogs/log/gogs.log with a lot of info about session ID, CSRF Token, and ssh public key info. serv.log and xorm.org remain empty. Other actions are not logged.
Achilleas Koutsou
@achilleas-k
Going back to basics then, does the repository you're trying to gin get exist? Try gin create testrepo
Also, rereading your original message, the ssh user should be git, as you already tried
Also confirmed by your ssh git@<ip> test
Noldos
@Noldos
Yes, i can create a repo, but It can't be fetched:
>gin create testrepo
:: Creating repository 'userid/testrepo' OK
 Downloading repository Repository download failed. Internal git command returned: Cloning into 'testrepo'...
git@192.168.99.99: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

[error] 1 operation failed
Achilleas Koutsou
@achilleas-k
Can you send me the gin client log? On Linux it should be at ~/.cache/g-node/gin/gin.log
~/Library/Caches/g-node/gin/gin.log for macOS
C:\Users\<User>\AppData\Local\g-node\gin\gin.log for Windows
You can send it to koutsou@g-node.org
Achilleas Koutsou
@achilleas-k
It's very strange because ssh git@<ip> -p <port> works, so the SSH server configuration you posted initially is correct. When you log in with the gin client, it sets up its own key pair to use, so as long as the client is logged in, it should be able to do SSH and git operations. But the auth keeps failing. The only thing I can point to is that the host_key is wrong, but that gets fetched automatically when you do gin add-server and if there was something wrong with that, the error message would be different.
Matthew Evrard
@matthewevrard_twitter
Is this still active? I am trying to install GIN on our local server but am having some issues
Ashok Ragavendran
@ashokrags
image.png
hello I have a question about modifying the file size limits for uploads for a self-hosted docker container. I currently get the message that the limit is 4MB. Any help would be appreciated