artemkin / git-lfs-server

Git LFS server
Other
140 stars 20 forks source link

exception while running #8

Closed jeras closed 6 years ago

jeras commented 6 years ago

Tried to run version 0.3.0 on Ubuntu 17.10 with the command line for server without authentication:

$ sudo ./lfs_server.sh -verbose -s localhost -p 8080
Uncaught exception:

  (Unix.Unix_error "Illegal seek" sysconf "")

Raised by primitive operation at file "src/core_unix.ml", line 347, characters 14-29
artemkin commented 6 years ago

It seems Ocaml core library doesn't correctly handle sysconf result with glibc-2.26 https://github.com/janestreet/core/issues/95. Let me prepare a new release.

artemkin commented 6 years ago

@jeras check 0.3.1 https://github.com/artemkin/git-lfs-server/releases/download/v0.3.1/lfs_server-0.3.1-linux.x64.tar.gz

jeras commented 6 years ago

Thanks artemkin, I will test the new release later today.

jeras commented 6 years ago

Hi @artemkin, the issue is fixed now, the server started properly. Thanks. But I found out I do not know how to integrate it with a git repo.

My intention was to use it to run some LFS tests, but I kind of lost interest, sorry.

Right now it seems Microsoft GVFS might be a better choice, since as I understand it keeps all files in a central server repo, instead of using a separate location. This makes it easier to move the server side repository without loosing data. Unfortunately GVFS is only available on Windows, although server side MS and Bitbucket should have some support.

Another thing that would make sense for my usage cases is file locking, I quickly tried what is provided on GitHub, I suspect you did not implement it yet.

So for now I will probably stick to standard git and continue evaluating when some progress is made by server providers (GitLab, Bitbucket), and ...