Giter Club home page Giter Club logo

Comments (5)

mperham avatar mperham commented on July 19, 2024

I can't reproduce the issue:

~/src/github.com/contribsys/faktory (master=)$ make build
go generate github.com/contribsys/faktory/webui
go build -o faktory-cli cmd/repl.go
go build -o faktory cmd/daemon.go
~/src/github.com/contribsys/faktory (master=)$ ./faktory-cli
Faktory 0.5.0
Copyright © 2017 Contributed Systems LLC
Licensed under the GNU Public License 3.0
Using RocksDB 5.7.3 at /Users/mikeperham/.faktory/db
> ^D
~/src/github.com/contribsys/faktory (master=)$ 

from faktory.

squarism avatar squarism commented on July 19, 2024

Hmm. Ah, I see.
Unable to open storage: IO error: While mkdir if missing: ~/.faktory/db

Well I have an easy fix. Store is nil when this happens. Did I miss a init step?

from faktory.

mperham avatar mperham commented on July 19, 2024

Again, really weird that I can't repro:

~/src/github.com/contribsys/faktory (master=)$ rm -rf ~/.faktory/db
~/src/github.com/contribsys/faktory (master=)$ ./faktory-cli 
Faktory 0.5.0
Copyright © 2017 Contributed Systems LLC
Licensed under the GNU Public License 3.0
Using RocksDB 5.7.3 at /Users/mikeperham/.faktory/db
> ^D

from faktory.

mperham avatar mperham commented on July 19, 2024

The store should auto-create the DB directory if it doesn't exist. Maybe you don't have ~/.faktory and it won't create that.

from faktory.

squarism avatar squarism commented on July 19, 2024

Yeah, that's it. rm -rf ~/.faktory causes it. I guess the PR is defensive enough.

from faktory.

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.