Code Monkey home page Code Monkey logo

Comments (3)

mogwi70 avatar mogwi70 commented on May 26, 2024

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.

mogwi70 avatar mogwi70 commented on May 26, 2024

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.

sinbad avatar sinbad commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.