Hello everyone,
I read a lot of your content, dans I’m amazed by all the information available.
We installed Gitlab on a synology NAS with a friend, everyone recommended to install it in a docker envirronement, so we did. We setup Giltab as a self managed community version, LFS is enabled on our projects.
We didnt succeed to push a single LFS file whatever we are doing, and did not find a tutorial on how to setup correctly the software (the gitlab lfs administration page is not very useful in this matter).
The origin was at this path : http //Gitlab/ssais/Test.git (not a link because forum doesnt allow that)
But we moved it to another one doing a redirection : http //gitlab-nas/essais/Test.git
LFS is enabled by default on all projects on Gitlab, we initialized LFS in our cloned repo.
Here a the problems :
- When a LFS file is pushed along other that are not tracked by LFS, only those are pushed successfully, for the LFS files, the pushing stalls at 0.
We tried pushing from the git window and activating --verbose, but nothing is happening, it stays at 0 bytes, 0bytes/s.
- When we modify the gitlab.rb, by uncommenting the following lines:
### Git LFS
gitlab_rails['lfs_enabled'] = true
gitlab_rails['lfs_storage_path'] = "/volume1/essais/gitlab/data/gitlab-rails/shared/lfs-objects"
gitlab_rails['lfs_object_store_enabled'] = false
it still doesnt work for LFS files and we have this error :
fatal: unable to access 'http://gitlab-nas/essais/Test.git/': Error while processing content unencoding: invalid stored block lengths
We made sure that root is the owner of the gilab.rb file and it works with non-LFS files but not with LFS files.
- We think there might be a problem on where the files are located, because we cannot access the LFS storage path from our browser, we don’t know how to check where the LFS files are located from the gitlab itself.
We consider installing Gitlab again from the start, but we don’t know what will change since we made the install according to tutorials, we wonder id installing it again will really change something … If you have a clue please help, I’ve been spending a week on this and don’t understand the problem.
Thanks in advance.