Giter VIP home page Giter VIP logo

Comments (8)

jmc-figueira avatar jmc-figueira commented on June 30, 2024

I had not realized I had to manually create the folders in /persist first. After I did that, it worked. Closing this issue...

from impermanence.

talyz avatar talyz commented on June 30, 2024

Hi! Thank you for reporting this!

You should not have to create the directory structure in your persistence root. It should create the directory for you with the message

Warning: Source directory dirname does not exist; it will be created for you. Make sure the permissions are correct!

This is a bug in the create-directories.bash script. realpath cannot be passed a path to a file in a nonexistent directory.

from impermanence.

jmc-figueira avatar jmc-figueira commented on June 30, 2024

I see. The message you mention appears, indeed, but the script still fails. Perhaps it's something to do with the order of operations? realpath should probably be called after the directory is created, I'm guessing.

from impermanence.

talyz avatar talyz commented on June 30, 2024

Can you try #37? It should solve your issue.

from impermanence.

jmc-figueira avatar jmc-figueira commented on June 30, 2024

It did solve that previous issue; however, the files inside the directories are not copied to the persistence root (for instance, configuration.nix in /etc/nixos/).

from impermanence.

talyz avatar talyz commented on June 30, 2024

Great! I'll close this now, then.

No, they wouldn't be - we never copy or move files into persistent storage. If you want the files to exist in persistent storage before the bind mounts and links are set up, you need to create them there to begin with.

from impermanence.

jmc-figueira avatar jmc-figueira commented on June 30, 2024

Oh, so this bug was just about the directory structure then. I see. Thanks for the quick fix!

from impermanence.

talyz avatar talyz commented on June 30, 2024

Yes, exactly. No problem!

from impermanence.

Related Issues (20)

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.