Comments (3)
I'm running into a similar error message. In my case I've wiped the repo and cloned it from a remote on an NAS. Config file looks the same as the machine that's doing the upload, and it's working fine. I'm not sure what the issue here is.
In my case it looks like it's not creating any of the subdirectories it needs.
from lfs-folderstore.
For what its worth I just got this working - it was a config problem on my end. I had specified the folder arg to be the local working directory. When I changed it to the target directory on the NAS, everything worked great.
from lfs-folderstore.
I think I might have figured out what the OP's problem was (a little late, sorry) - it's only because I only recently discovered that both GitLab and Gitea store their LFS files in a slightly different path to the way local Git LFS does.
When I made this plugin I decided to keep things simple, identical to the way LFS stores things locally, so an LFS files with hash ee6d4556b6bfff6d338ce58f4f52ed349127bcf1b1e0772ccc0061fe957d3881 is stored as ee/6d/ee6d4556b6bfff6d338ce58f4f52ed349127bcf1b1e0772ccc0061fe957d3881 (note how the file name is the entire hash).
GitLab and Gitea store the same file as ee/6d/4556b6bfff6d338ce58f4f52ed349127bcf1b1e0772ccc0061fe957d3881 - i.e. the hash is split between the folders and filename. It doesn't matter so long as you're only accessing these LFS files through GitLab/Gitea, but if you try to repurpose this storage directly for use with lfs-folderstore, it won't work because the filenames don't match the expected pattern. You'd have to rename every file to prefix it with the 2 parent folder names in order to use it directly. So I suspect that at some point the OP migrated some LFS data directly from a GitLab or similar storage onto a NAS and tried to use it with lfs-folderstore - that can work but you'd have to rename all the files.
from lfs-folderstore.
Related Issues (16)
- Error when repo is not on C drive (can't copy from tmp to repo) HOT 5
- Why do we need a remote? HOT 2
- git lfs migrate import HOT 1
- go.mod file missing when compiling from source
- Pushing fresh repo fails due to unknown Git LFS objects HOT 2
- error: failed to push some refs to 'github.com:langdon/my-private-repo.git' HOT 8
- Cannot create dir when uploading HOT 1
- doesn't build out of the box with go build HOT 1
- Question About Setting This Up HOT 4
- Spaces in NAS folder path HOT 3
- Could you explain the copy-on-write integrity problem? HOT 2
- error: failed to push some refs to 'https://github.com/...' HOT 3
- If it's possible to lfs-folderstore support FTP/SFTP protocol? HOT 1
- Could you explain the installation process on Mac? HOT 4
- Error while pulling from MegaSync HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lfs-folderstore.