Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7943

Magnolia fails to install the Imaging workspace when offline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.5
    • 6.2.3, 6.2.4
    • core
    • Maintenance 33, Maintenance 34
    • 2

      One of our customers runs magnolia in a restricted environment and has no connection to external resources. When trying to install Magnolia 6.2.3 or Magnolia 6.2.4 offline (with no internet), it fails with an error caused by the Imaging workspace not created. This was working fine on Magnolia 6.2.2.

      Steps to reproduce

      1. Download a clean Magnolia 6.2.3 or 6.2.4 (I tested it with both of them)
      2. Turn your laptop's internet/wifi off
      3. Try to install Magnolia
      4. You will get an error and the installation is stopped

      Expected results

      You should be able to complete the installation with no error.

      Actual results

      Unable to install Magnolia

      Development notes
      Find the logs attached 6.2.4 error

      The first error we see is this trying to register the workspace, but unable to do it as the workspace does not exist.

      2020-11-03 09:22:04,246 INFO  info.magnolia.repository.DefaultRepositoryManager : Loading workspace imaging (logical name imaging).
      2020-11-03 09:22:04,267 ERROR info.magnolia.jackrabbit.ProviderImpl             : Unable to register workspace, will continue
      ...
      2020-11-03 09:22:04,284 ERROR info.magnolia.repository.DefaultRepositoryManager : Failed to initialize workspace imaging in repository magnolia
      javax.jcr.NoSuchWorkspaceException: imaging
      ...
      2020-11-03 09:22:08,222 ERROR info.magnolia.module.ui.ModuleManagerWebUI        : Could not perform installation: javax.jcr.NoSuchWorkspaceException: imaging
      ...
      Caused by: javax.jcr.NoSuchWorkspaceException: imaging
      ...
      2020-11-03 09:22:08,223 ERROR info.magnolia.module.InstallContextImpl           : [31/1261 tasks - null]> Could not perform installation: javax.jcr.NoSuchWorkspaceException: imaging
      ...
      Caused by: javax.jcr.NoSuchWorkspaceException: imaging
      

      Workaround to solve the error:

      1. Try to install Magnolia, you will get the error but the necessary folders are generated
      2. Stop Magnolia once you get the error
      3. Go to ../repositories/magnolia/workspaces/ and paste the folder attached imaging.zip
      4. Start Magnolia back and the error should be gone.

        Acceptance criteria

          1. 6.2.4 error
            37 kB
          2. imaging.zip
            58 kB

              jalonso Jesus Alonso
              mdamborenea Monica Damborenea
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD