Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18231

Server should not start on pending actions failure

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10
    • Sprint:
      DevOps Sprint 11

      Description

      When some pending actions fail, then the server should not start by default unless using the --ignore-missing option.


      When some pending actions fail, the server now doesn't start, unless the option --ignore-missing is used.

      $ echo "install fail" > nxserver/data/installAfterRestart.log
      $ ./bin/nuxeoctl start -q 
      org.nuxeo.connect.update.PackageException: Package not found: fail
      Pending actions execution failed. The commands file has been moved to: /.../nuxeo-cap-7.10-SNAPSHOT-tomcat/nxserver/data/installAfterRestart.log.bak
      Start interrupted due to failure on pending actions. You can resume with a new start; or you can restore the file 'installAfterRestart.log', optionally using the '--ignore-missing' option.
      
      $ echo "install fail" > nxserver/data/installAfterRestart.log
      $ ./bin/nuxeoctl start -q --ignore-missing
      Unable to install unknown package: fail
      Server started with process ID 4957.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: