Giter Site home page Giter Site logo

Comments (5)

doomedraven avatar doomedraven commented on July 22, 2024

don't use sqlite3! that is dev database format for testing, there is warning for that, use proper database like postgres, we spoke with Kevin, i won't support that crap which is just for dev, use proper things and enjoy performance or write alembic for sqlite3 :P

here you have how to install it
https://github.com/doomedraven/Tools/blob/master/Cuckoo/cuckoo.sh#L426
and here how to create db
https://github.com/doomedraven/Tools/blob/master/Cuckoo/cuckoo.sh#L473

then just change connection like showed here
https://github.com/doomedraven/Tools/blob/master/Cuckoo/cuckoo.sh#L596

from cape.

kevoreilly avatar kevoreilly commented on July 22, 2024

Yeah I was caught out by this but have managed to switch to psql without too much trouble. Although I just started with a fresh database, saving an existing one might not be so easy...

from cape.

doomedraven avatar doomedraven commented on July 22, 2024

to get everything back to work, modify lib/cuckoo/core/database.py set schema to 36926b59dfbb and then in options size back to 255 from 1024, but you will start getting luck of some features which required that upgrade

from cape.

elmaisbuscado avatar elmaisbuscado commented on July 22, 2024

Ok, is solved using Postgres. Maybe should remove sqlite3 support¿? This will breaks for everyone using sqlite3...

from cape.

doomedraven avatar doomedraven commented on July 22, 2024

we spoke about to remove that, but no, people should read warnings when no connection is set, sqlite3 is useful for quick test of cape, or in some dev where you don't need db, you just want to make feature and forget

we have another alembic upgrade which we "postponed" due to that sqlite3 problem

from cape.

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.