NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.08k stars 2.54k forks source link

warning: insert into `certificate` (...) - ER_DATA_TOO_LONG: Data too long for column 'nice_name' at row 1 #2054

Open marrobHD opened 2 years ago

marrobHD commented 2 years ago

Describe the bug

Occurs when too much Domain Names are configured in Proxy host and trying to create ssl cert.

Nginx Proxy Manager Version

v2.9.18

To Reproduce Steps to reproduce the behavior:

  1. Create proxy host with 13 domains
  2. Create new SSL certificate
  3. See error in logs

Expected behavior Should insert fine in database.

Additional context

app_1  | [5/14/2022] [11:46:00 PM] [Express  ] › ⚠  warning   insert into `certificate` (`created_on`, `domain_names`, `expires_on`, `meta`, `modified_on`, `nice_name`, `owner_user_id`, `provider`) values (NOW(), '[\"DOMAINS Removed\"]', NOW(), '{\"letsencrypt_agree\":true,\"dns_challenge\":false,\"nginx_online\":true,\"nginx_err\":null,\"letsencrypt_email\":\"MAIL REMOVED\"}', NOW(), 'DOMAINS REMOVED', 1, 'letsencrypt') - ER_DATA_TOO_LONG: Data too long for column 'nice_name' at row 1
nicoleonwien commented 1 year ago

Is there any chance to get this fixed?

Shocktrooper commented 10 months ago

I just got this as well. I created a valid http redirect but when I tried to create a cert it complained.

github-actions[bot] commented 4 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

Shocktrooper commented 1 month ago

👍