Giter Club home page Giter Club logo

Comments (4)

josegonzalez avatar josegonzalez commented on June 4, 2024

This plugin doesn't use docker volumes, it writes files to disk directly. You can check the path on disk via dokku couchdb:info $SERVICE. Did you create a backup before upgrading? If so, you can create a new service and import that backup.

from dokku-couchdb.

knubie avatar knubie commented on June 4, 2024

Thanks @josegonzalez for the fast reply. I do wonder why I was able to find the data in a docker volume in that case... It was in a volume like /var/lib/docker/volumes/829f13aea3499d512fc4f8f71rb77e1dc162148443a1d779047bf475e7f98bbf/_data.

At this point I've copied the contents of that volume back to /var/lib/dokku/services/couchdb/lollipop/data. Still not sure what happened. Again I appreciate your help.

from dokku-couchdb.

josegonzalez avatar josegonzalez commented on June 4, 2024

Not sure either, but as you see here, we use a directory on disk to back the data volume.

Glad to see you're back up and running (always backup and test your backups!). Feel free to donate to the project if you find it useful, I personally use the money for either cat food or buying myself drinks at a bar, so you know it'll go to a good cause :)

Closing since hopefully there is nothing to do here now.

from dokku-couchdb.

knubie avatar knubie commented on June 4, 2024

Thanks Jose,

I'm still going through the wreckage to try and piece together what actually happened but I'm totally stumped. You're right that the couchdb dokku plugin doesn't create docker volumes, so I have no idea why there would be a volume containing the data directory. The only thing I can think of is that I created the service using an older version of the couchdb plugin, and maybe that was using volumes?

I tried running the same upgrade sequence on a backup server created from a snapshot, and everything went as expected. If I come up with anything else, I'll post an update here.

And I will definitely be sponsoring the project now. I definitely appreciate the work you're doing. Cats need to eat too!

from dokku-couchdb.

Related Issues (11)

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.