Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109297

TrueNAS 12.0-U1.1 - nginx stopping after restart, webUI not accessible

    XMLWordPrintable

    Details

    • Impact:
      High

      Description

      After clean install latest stable version of TrueNAS and first reboot nginx will crash showing that it cannot find a certificate.

      Solution is for me to set up post init command with service nginx start

      More details in community forum here:

      https://www.truenas.com/community/threads/truenas-12-0-u1-1-nginx-stopping-after-restart-webui-not-accessible.90842/ 

      Here is /var/log/nginx/error.log

      2021/02/05 19:45:45 [emerg] 1775#100778: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
      2021/02/05 19:45:45 [emerg] 1776#100778: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
      2021/02/05 19:52:58 [emerg] 1777#100679: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
      2021/02/05 19:52:58 [emerg] 1778#100679: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
      2021/02/05 20:07:33 [emerg] 1786#100808: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
      2021/02/05 20:07:33 [emerg] 1787#100808: cannot load certificate "/etc/certificates/freenas_default.crt": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/certificates/freenas_default.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)

      Debug attached.

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                Oriann Oldřich Střítecký
                Watchers:
                Oldřich Střítecký, Waqar Ahmed
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: