Skip to content

Bug in documentation #700

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

Closed
the-holger opened this issue Nov 6, 2020 · 2 comments · Fixed by #1122
Closed

Bug in documentation #700

the-holger opened this issue Nov 6, 2020 · 2 comments · Fixed by #1122
Labels

Comments

@the-holger
Copy link

I set up npm using sqlite as my db. When following the setup guide (https://nginxproxymanager.com/setup/) one detail is missing from the config.json file, instead of

{
  "database": {
    "engine": "knex-native",
    "knex": {
      "client": "sqlite3",
      "connection": {
        "filename": "/data/database.sqlite"
      }
    }
  }
}

one should add the "useNullAsDefault" option for knex like this:

{
  "database": {
    "engine": "knex-native",
    "knex": {
      "client": "sqlite3",
      "connection": {
        "filename": "/data/database.sqlite"
      },
      "useNullAsDefault": true
    }
  }
}

Cheers!
Holger

@chaptergy
Copy link
Collaborator

On what environment did you encounter this issue? On most machines it should work like it does in the documentation.

@Karatekid2407
Copy link

Only for complete information in this ticket.
On my side it was Raspberry Pi4 8GB with the same issue

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

Successfully merging a pull request may close this issue.

3 participants