Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102058

Failed to run upgrade client due to FileNotFoundException

    Description

    Steps to Reproduce:

    1. Prepare a database of older version of portal.
    2. In master, configure the upgrade properties in upgrade client.
    3. Run upgrade client.

    Expected Results:
    Upgrade should run and upgrade the database.

    Actual Results:
    Upgrade failed to run with below error:

    Error running upgrade
    java.io.FileNotFoundException: F:\master0923\tools\portal-tools-db-upgrade-client\logs\upgrade.log (系统找不到指定的路径。)
            at java.io.FileOutputStream.open0(Native Method)
            at java.io.FileOutputStream.open(Unknown Source)
            at java.io.FileOutputStream.<init>(Unknown Source)
            at java.io.FileOutputStream.<init>(Unknown Source)
            at com.liferay.portal.tools.db.upgrade.client.UpgradeClient.<init>(UpgradeClient.java:148)
            at com.liferay.portal.tools.db.upgrade.client.UpgradeClient.main(UpgradeClient.java:120)
    

      Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                16 weeks, 1 day ago

                Packages

                Version Package
                7.1.X
                7.2.X
                7.2.1 CE GA2
                Master