-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Throws TypeError when installing using --db=sqlite3 flag #349
Comments
You need --db='sqlite3' |
Yes, that is what I did. :) (However, if it needs to be wrapped in quotation marks, that seems like something that needs to be caught immediately rather than waiting until this step.) |
We have had 2 people report this issue today (another in slack). The problem is that if you set I think there may be some thing missing in the docs, but all the places I found mention both, so it would be great to get some feedback on how this was missed. Secondly, I think it makes sense to use the default sqlite3 path of |
… specified closes TryGhost#349 - add defaultValue function to dbpath argument
closes TryGhost#349 - add defaultValue function to dbpath argument
It was deleted from the docs or something. The line is missing today |
I think that would be great; also if the CLI tool was able to create the ghost.db file for you if it doesn't exist in the place you've pointed at. I had to create the DB file outside of the directory that Ghost was to be set up, because you can only run |
@JoshTumath Ghost-CLI is already able to do that - the PR linked to this issue fixes the problem with the default path 😄 |
@acburdine Awesome, thanks! However, when I do as you say and specify that path, I get the following error:
|
This is true, hadn't realized the implications of this particular permissions issue. A fix will be implemented for both problems in the next version |
I just double checked on https://docs.ghost.org/v1.0.0/docs/install#section-options. |
@acburdine What exactly is the cause of this performance issue? Do you know of a hotfix for this in the meantime? 😄 |
Not a performance issue - a permissions issue :) there's not a hotfix at the moment, but I'm working on a fix that will be released in the next version (early next week). |
I don't know why I said performance. 😆 Awesome, thanks for responding. |
refs TryGhost#349 - add defaultValue function to dbpath argument
refs #349 - add defaultValue function to dbpath argument
Oops didn't mean for that commit to close this issue |
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes TryGhost#349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
closes #349 - move knex-migrator to run in a child process, which allows us to initialize a sqlite database during a production ubuntu install
This issue is a
Summary
After setting up my server ready to install Ghost 1.0, I received a TypeError when I reached the 'Running database migrations' step.
Steps to Reproduce
ghost install --db=sqlite3
in a new directoryTechnical details:
The text was updated successfully, but these errors were encountered: