[GH-ISSUE #1582] Cannot add SSL for second domain #1192

Closed
opened 2026-02-26 06:36:09 +03:00 by kerem · 0 comments
Owner

Originally created by @kbzowski on GitHub (Nov 12, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1582

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
After adding a second domain to an existing proxy with SSL and requesting a new certificate, the UI shows "Internal Error".
Logs:

warning   insert into `certificate` (`created_on`, `domain_names`, `expires_on`, `meta`, `modified_on`, `nice_name`, `owner_user_id`, `provider`) values (datetime('now','localtime'), '["domain-a.com","domain-b.com"]', datetime('now','localtime'), '{"letsencrypt_agree":true,"dns_challenge":false,"nginx_online":true,"nginx_err":null,"letsencrypt_email":"mail@example.com"}', datetime('now','localtime'), 'domain-a.com, domain-b.com', 1, 'letsencrypt') - SQLITE_CONSTRAINT: NOT NULL constraint failed: certificate.is_deleted

Sensitive information has been redacted

Nginx Proxy Manager Version
v2.9.12

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/nginx/proxy'
  2. Add new domain to existing proxy with SSL enabled
  3. Disable SSL for that proxy
  4. Request new certificate from Let's encrypt

Expected behavior
Working proxy with SSL on both domains.

Operating System
Single docker instance on Linux. SQLite backend.

Additional context
I have migrated database from MariaDB to SQLite recently. No other issues after migration was noticed.

Originally created by @kbzowski on GitHub (Nov 12, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1582 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** After adding a second domain to an existing proxy with SSL and requesting a new certificate, the UI shows "Internal Error". Logs: ``` warning insert into `certificate` (`created_on`, `domain_names`, `expires_on`, `meta`, `modified_on`, `nice_name`, `owner_user_id`, `provider`) values (datetime('now','localtime'), '["domain-a.com","domain-b.com"]', datetime('now','localtime'), '{"letsencrypt_agree":true,"dns_challenge":false,"nginx_online":true,"nginx_err":null,"letsencrypt_email":"mail@example.com"}', datetime('now','localtime'), 'domain-a.com, domain-b.com', 1, 'letsencrypt') - SQLITE_CONSTRAINT: NOT NULL constraint failed: certificate.is_deleted ``` _Sensitive information has been redacted_ **Nginx Proxy Manager Version** v2.9.12 **To Reproduce** Steps to reproduce the behavior: 1. Go to '/nginx/proxy' 2. Add new domain to existing proxy with SSL enabled 3. Disable SSL for that proxy 4. Request new certificate from Let's encrypt **Expected behavior** Working proxy with SSL on both domains. **Operating System** Single docker instance on Linux. SQLite backend. **Additional context** I have migrated database from MariaDB to SQLite recently. No other issues after migration was noticed.
kerem 2026-02-26 06:36:09 +03:00
  • closed this issue
  • added the
    bug
    label
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#1192
No description provided.