Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-17769

Product license file fails to install due to invalid file permissions shows only a "timeout" error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.13.0
    • Fix Version/s: None
    • Component/s: Licensing, UI

      Description

      Tested on CentOS 7

      Given the following permissions on a .lic product license file:

      [root@localhost nexus3]# ls -alh /home/dan/sonatype/product/*.lic
      rwxr-x--. 1 root root 2.9K Jul 12 18:08 /home/dan/sonatype/product/sonatype-nexus-firewall-lifecycle-2017.lic

      (only accessible by "root" user)

      Seems a little odd that this file is visible to be selected in the web UI, but it is:

      When you try to install this license via the UI, after 30 seconds, a "timeout message" appears in the UI and the nexus.log, but no indication of the cause of the failure is shown in UI nor in the log. Only the "timeout" message appears, which makes it hard to diagnose the real problem is with file permissions of the .lic file.

      Maybe an issue with extjs upload feature?

       

      Workaround: Granting higher access permissions to the .lic file solves the issue.

        Attachments

        1. LicenseInstallTimeout.png
          163 kB
          Dan Rollo
        2. UnReadbleFileInUI.png
          163 kB
          Dan Rollo

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            drollo Dan Rollo
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title