funmaker / Hybooru

Hydrus-based booru-styled imageboard in React
https://booru.funmaker.moe/
MIT License
95 stars 15 forks source link

Unable to initialize DB #6

Closed Wyrrrd closed 2 years ago

Wyrrrd commented 2 years ago

Since the latest commit (5e80669), Hybooru docker container throws the following error on fresh start (DB not initialized):

Rebuilding Database!

Unable to initialize DB!
SqliteError: no such table: current_files_4
    at Database.prepare (/app/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)
    at r.total (/build/server/helpers/dbImport/import.ts:20:24)
    at r.<anonymous> (/build/server/helpers/dbImport/import.ts:40:30)
    at Generator.next (<anonymous>)
    at /app/server.js:178:1303
    at new Promise (<anonymous>)
    at a (/app/server.js:178:1048)
    at r.start (/app/server.js:178:1859)
    at Object.<anonymous> (/build/server/helpers/dbImport/index.ts:61:69)
    at Generator.next (<anonymous>)
funmaker commented 2 years ago

@Wyrrrd Thanks for the issue. What is the version of your Hydrus instance? You need Hydrus v447 at minimum since the last release, as specified in readme.

Wyrrrd commented 2 years ago

Sorry to bother you, my automatism seems to be not automatic anymore. Version was 437, now everything works again...