[GH-ISSUE #700] Bug in documentation #590

Closed
opened 2026-02-26 06:33:33 +03:00 by kerem · 2 comments
Owner

Originally created by @the-holger on GitHub (Nov 6, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/700

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

Originally created by @the-holger on GitHub (Nov 6, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/700 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
kerem 2026-02-26 06:33:33 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@chaptergy commented on GitHub (May 12, 2021):

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

<!-- gh-comment-id:840139251 --> @chaptergy commented on GitHub (May 12, 2021): On what environment did you encounter this issue? On most machines it should work like it does in the documentation.
Author
Owner

@Karatekid2407 commented on GitHub (May 25, 2021):

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

<!-- gh-comment-id:847795750 --> @Karatekid2407 commented on GitHub (May 25, 2021): Only for complete information in this ticket. On my side it was Raspberry Pi4 8GB with the same issue
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#590
No description provided.