mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #5284] SQLLite issue - NOW #3159
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#3159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jsk01 on GitHub (Feb 6, 2026).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/5284
Issue creating a new setup with latest (v2.13.7). Upon submitting the new user there is a failure in the log related to the use of the NOW function which no longer exists in the version of sqllite used. I changed to version 2.13.6 and the new user was created.
Checklist
jc21/nginx-proxy-manager:latestdocker image?Operating System
Docker on Synology
@syrabo commented on GitHub (Feb 7, 2026):
I'm also seeing the following in the Docker logs: SQLITE_ERROR: no such function: NOW
I can't delete a certificate or edit an entry on the web interface, let alone create one.
Version: jc21/nginx-proxy-manager:latest
2.13.7
@RndmJoker commented on GitHub (Feb 7, 2026):
I have the same bug. I cant create new hosts or update my ssl certificates. I alwas geht this error:
SQLITE_ERROR: no such function: NOW
Version jc21/nginx-proxy-manager:latest
2.13.7
@redghc commented on GitHub (Feb 7, 2026):
Same error here on user register onboarding.
@sleighton commented on GitHub (Feb 7, 2026):
sqlite3 never had a function NOW(). There's probably a UDF that got dropped or moved in the code that was there to keep the SQL statements compatible with mysql and postgres, which do have NOW().
@ajoosten commented on GitHub (Feb 7, 2026):
The issue is coming from this commit:
github.com/NginxProxyManager/nginx-proxy-manager@77662b4e7fThe name of the sqliteClientName is changed from sqlite3 to better-sqlite3, and now the test in backend/models/now_helper.js is failing and the result is that the Now() function is returned also for SQLite databases. I could solve this locally by changing the name back.
@jc21 can you check this? You might have overseen this consequence ...
@N0tronic commented on GitHub (Feb 8, 2026):
+1
@Shaalan15 commented on GitHub (Feb 8, 2026):
+1
@mudora23 commented on GitHub (Feb 8, 2026):
Updating the config JSON file used from
"client": "sqlite3"to"client": "better-sqlite3"fixes the issue. It is becauseisSqlite()was updated to only return true if the client name is "better-sqlite3".@malammar commented on GitHub (Feb 9, 2026):
This feels like a regression. Unless the docs specifically mention the need for
better-sqlite3.@robertschrs commented on GitHub (Feb 10, 2026):
Same issue on my end, "better-sqlite3" solved it. Running NPM in a docker container on a TrueNAS server.
@7heMech commented on GitHub (Feb 14, 2026):
Huh, it seems like I can't reproduce this issue.
Is this vaild for new installations only?
@mudora23 commented on GitHub (Feb 14, 2026):
I remember someone reported that the issue also happens when creating additional users, which supposedly also calls
NOW().@7heMech commented on GitHub (Feb 14, 2026):
Yes, I tried everything mentioned above and more: creating, editing and deleting on hosts, certificates (no edits here) and users on a new and existing updated instance.
@jsk01 commented on GitHub (Feb 14, 2026):
I had the issue on a new install. Went to previous version and got logged
in. Then updated to the latest version and had the same issue adding hosts
so I went back to the previous version. I haven't tried making the change
to the config file.
@YTKme commented on GitHub (Feb 15, 2026):
hi @mudora23, i am encountering the same issue, but where's the config JSON file located?
@RndmJoker commented on GitHub (Feb 16, 2026):
No i dont think so. My installation ist a few months old and it worked before.
@7heMech commented on GitHub (Feb 17, 2026):
Should be fixed in the latest release. @jsk01 can you confirm and if so, close the issue?
@jc21 commented on GitHub (Feb 17, 2026):
Interestingly, the CI builds perform complete setups using all 3 supported database types. And all passed with the
better-sqlite3change.Is/was this only affecting users who have their own config json file in their
datafolder?@jc21 commented on GitHub (Feb 17, 2026):
The commit above should resolve any lingering NOW issues regardless.