Upgrading to Pega 24.2
When I run the update.sh script I receive the following and the process stops.
I can't determine what the problem is.
When I run the update.sh script I receive the following and the process stops.
I can't determine what the problem is.
crmpoc:/pega_software/pega24.2/scripts: ./upgrade.sh INFO ResumeKt - Detected resume.properties, but automatic.resume flag in setupDatabase.properties is set to false. INFO ResumeKt - Starting over upgrade INFO ResumeKt - Performing upgrade... INFO AntScriptWrapper - INFO AntScriptWrapper - Initialization: INFO AntScriptWrapper - [echo] Performing Upgrade INFO AntScriptWrapper - [delete] Deleting: /pega_software/pega24.2/scripts/resume.properties INFO AntScriptWrapper - [delete] Deleting directory /pega_software/pega24.2/scripts/taskRuntimes INFO AntScriptWrapper - [mkdir] Created dir: /pega_software/pega24.2/scripts/taskRuntimes INFO AntScriptWrapper - [delete] Deleting: /pega_software/pega24.2/scripts/logs/Warnings.log INFO AntScriptWrapper - [pega:propertyparser] Reading Properties from: /pega_software/pega24.2/scripts/setupDatabase.properties INFO AntScriptWrapper - [pega:propertyparser] pega.jdbc.driver.class=oracle.jdbc.OracleDriver INFO AntScriptWrapper - [pega:propertyparser] update.existing.applications=false INFO AntScriptWrapper - [pega:propertyparser] bypass.udf.generation=true INFO AntScriptWrapper - [pega:propertyparser] pega.jdbc.password=***** INFO AntScriptWrapper - [pega:propertyparser] update.applications.schema=false INFO AntScriptWrapper - [pega:propertyparser] automatic.resume=false INFO AntScriptWrapper - [pega:propertyparser] pega.jdbc.driver.jar=/oracle_software/19.17.0/jdbc/lib/ojdbc8.jar INFO AntScriptWrapper - [pega:propertyparser] rules.schema.name=rules_admin INFO AntScriptWrapper - [pega:propertyparser] run.ruleset.cleanup=true INFO AntScriptWrapper - [pega:propertyparser] pega.jdbc.url=jdbc:oracle:thin:@//hapdevel2.hap.org:1521/crmpoc.hap.org INFO AntScriptWrapper - [pega:propertyparser] pega.database.type=oracledate INFO AntScriptWrapper - [pega:propertyparser] user.temp.dir=/pega_software/pega24.2/temp INFO AntScriptWrapper - [pega:propertyparser] production.level=2 INFO AntScriptWrapper - [pega:propertyparser] customerdata.schema.name= INFO AntScriptWrapper - [pega:propertyparser] pega.jdbc.username=pega_admin INFO AntScriptWrapper - [pega:propertyparser] bypass.pega.schema= INFO AntScriptWrapper - [pega:propertyparser] pega.admin.password=***** INFO AntScriptWrapper - [pega:propertyparser] data.schema.name=crm_admin INFO AntScriptWrapper - [pega:propertyparser] system.name=pega INFO AntScriptWrapper - [echo] Using logging configuration from: /pega_software/pega24.2/scripts/config/deploylogging.properties INFO AntScriptWrapper - [echo] *** JVM Arguments -Xmx4g -Djava.security.egd=file:///dev/urandom -XX:+HeapDumpOnOutOfMemoryError -Djava.util.logging.config.file='/pega_software/pega24.2/scripts/config/deploylogging.properties' *** INFO AntScriptWrapper - [propertyfile] Creating new property file: /pega_software/pega24.2/scripts/resume.properties INFO AntScriptWrapper - [propertyfile] Updating property file: /pega_software/pega24.2/scripts/resume.properties Found 27155420KB of free space on '/pega_software/pega24.2/temp' INFO AntScriptWrapper - [echo] Driver Path: /oracle_software/19.17.0/jdbc/lib/ojdbc8.jar INFO AntScriptWrapper - [pega:getbuildcodesetversion] Found runtime codeset version FS_ONLY INFO AntScriptWrapper - [pega:getbuildcodesetversion] Found manifest codeset version 08-24-51 INFO AntScriptWrapper - [mkdir] Created dir: /pega_software/pega24.2/temp/PegaInstallTemp-15-January-2025-18.59.27/load INFO AntScriptWrapper - [mkdir] Created dir: /pega_software/pega24.2/temp/PegaInstallTemp-15-January-2025-18.59.27/pr_temp INFO AntScriptWrapper - [touch] Creating /pega_software/pega24.2/scripts/logs/Warnings.log INFO AntScriptWrapper - [echo] Using /pega_software/pega24.2/temp/PegaInstallTemp-15-January-2025-18.59.27 for install scratch space... INFO AntScriptWrapper - [copy] Copying 1 file to /pega_software/pega24.2/temp/PegaInstallTemp-15-January-2025-18.59.27/load INFO AntScriptWrapper - [copy] Copying 1 file to /pega_software/pega24.2/temp/PegaInstallTemp-15-January-2025-18.59.27 Exception in thread "main" /pega_software/pega24.2/scripts/setupDatabase.xml:796: java.lang.NullPointerException at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:109) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401) at org.apache.tools.ant.Project.executeTarget(Project.java:1374) at com.pega.deploy.AntScriptWrapper.invokeAntTarget(AntScriptWrapper.kt:94) at com.pega.deploy.SetupDatabase.initialization(SetupDatabase.kt:166) at com.pega.deploy.UpgradeKt.rulesUpgrade(Upgrade.kt:101) at com.pega.deploy.UpgradeKt.main(Upgrade.kt:41) at com.pega.deploy.UpgradeKt.main(Upgrade.kt) Caused by: java.lang.NullPointerException at java.security.SecureRandom.nextBytes(SecureRandom.java:475) at java.security.SecureRandom.next(SecureRandom.java:498) at java.util.Random.nextLong(Random.java:435) at java.nio.file.TempFileHelper.generatePath(TempFileHelper.java:69) at java.nio.file.TempFileHelper.create(TempFileHelper.java:138) at java.nio.file.TempFileHelper.createTempFile(TempFileHelper.java:172) at java.nio.file.Files.createTempFile(Files.java:863) at org.apache.tools.ant.util.FileUtils.createTempFile(FileUtils.java:1035) at org.apache.tools.ant.taskdefs.Replace.processFile(Replace.java:652) at org.apache.tools.ant.taskdefs.Replace.execute(Replace.java:533) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) ... 10 more Java Process returned a non 0 value