Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Login exception INTERNAL_SERVER_ERROR #139

Open
LeonardoGentile opened this issue May 6, 2020 · 1 comment
Open

Login exception INTERNAL_SERVER_ERROR #139

LeonardoGentile opened this issue May 6, 2020 · 1 comment

Comments

@LeonardoGentile
Copy link

When performing the first login I receive this error:

"SQLITE_ERROR: no such table: users",

The sqlite db is there and I can read from it with an sql tool. I've also verified that the table users is available.

The location of this file is in server/store.sqlite but somehow when I run my server it gets copied to the root folder (whic part of the logic does this, maybe sequelize?)

I can read from src/utils that storage: './store.sqlite', so I guess the db should be located inside the server/src directory, but even copying it manually inside src doesn't fix the problem.

Maybe I've missed a step somehow?

@LeonardoGentile
Copy link
Author

Probably related to TryGhost/node-sqlite3#441

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant