Why does my offline update of Matlab 2021a fail ?

5 次查看(过去 30 天)
Hello,
I've installed Matlab 2021a on a RedHat Linux 7 server which appears to be working fine.
However, when I try to apply Update 1 via the offline update method (this server is on an isolated network), the process takes around 6 hours and then fails (silently on the command line).
Following is the installed version information information:
$ more VersionInfo.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Version information for MathWorks R2021a Release -->
<MathWorks_version_info>
<version>9.10.0.1602886</version>
<release>R2021a</release>
<description></description>
<date>Feb 17 2021</date>
<checksum>955897928</checksum>
</MathWorks_version_info>
This is the command used to start the update and the exit code (where the path given contains the unpacked R2021a update zip file):
$ ./update_installer -updatepackage /home/MATLAB/update1
$ echo $?
1
and this is the log file output:
(Jan 17, 2022 12:29:42) ##################################################################
(Jan 17, 2022 12:29:42) #
(Jan 17, 2022 12:29:42) # Today's Date:
(Jan 17, 2022 12:29:42) Mon Jan 17 12:29:41 GMT 2022
(Jan 17, 2022 12:29:42)
(Jan 17, 2022 12:29:42) System Info
(Jan 17, 2022 12:29:42) OS: Linux 3.10.0-1062.12.1.el7.x86_64
(Jan 17, 2022 12:29:42) Arch: amd64
(Jan 17, 2022 12:29:42) Data Model: 64
(Jan 17, 2022 12:29:42) Language: en
(Jan 17, 2022 12:29:42) Java Vendor: Oracle Corporation
(Jan 17, 2022 12:29:42) Java Home: /matlab/R2021a/sys/java/jre/glnxa64/jre
(Jan 17, 2022 12:29:42) Java Version: 1.8.0_202
(Jan 17, 2022 12:29:42) Java VM Name: Java HotSpot(TM) 64-Bit Server VM
(Jan 17, 2022 12:29:42) Release Description: R2021a
(Jan 17, 2022 12:29:42) Java Class Path: Skipped
(Jan 17, 2022 12:29:42) User Name: swlib
(Jan 17, 2022 12:29:42) Current Directory: /matlab/R2021a/bin/glnxa64
(Jan 17, 2022 12:29:42) mode: silent
(Jan 17, 2022 12:29:42) help: true
(Jan 17, 2022 12:29:42) matlabroot: /matlab/R2021a
(Jan 17, 2022 12:29:42) sessionid: 58d49c3d-3762-4248-adce-02464d48bc0d
(Jan 17, 2022 12:29:42) helper_launch_path: /tmp/mw_update_installer_helper_tKMcEP
(Jan 17, 2022 12:29:42) updatepackage: /home/MATLAB/update1
(Jan 17, 2022 12:29:42) Current Update level: R2021a
(Jan 17, 2022 12:29:43) Product Installation: MATLAB
(Jan 17, 2022 12:29:44) user archive location /home/MATLAB/update1/R2021a
(Jan 17, 2022 12:29:44) Starting local product/component search in download directory
(Jan 17, 2022 12:29:44) Searching for archives...
(Jan 17, 2022 12:29:44) Reading /home/MATLAB/update1/R2021a
(Jan 17, 2022 12:29:44) Extracting /home/MATLAB/update1/R2021a/platform_glnxa64.zip
(Jan 17, 2022 12:29:44) Extracting /home/MATLAB/update1/R2021a/platform_common.zip
(Jan 17, 2022 12:29:44) Archive search complete. 2 total files found.
(Jan 17, 2022 12:29:51) Completed local product/component search
(Jan 17, 2022 12:29:51) Reading archives completed
(Jan 17, 2022 12:30:01) Target Update level: R2021a_Update_1
(Jan 17, 2022 12:30:01) Preparing update information
(Jan 17, 2022 12:30:01) MATLAB version validation successful
(Jan 17, 2022 18:51:33) Update size: 0 KB
(Jan 17, 2022 18:51:33) Download size: 0 KB
(Jan 17, 2022 18:51:33) Space check for update successful
(Jan 17, 2022 18:51:34) Starting update task
(Jan 17, 2022 18:51:34) Something unexpected occurred.: This is not common.
To resolve this issue, contact Technical Support.
at com.mathworks.update_installer.ExceptionHandlerImpl.createUpdateInstallerException(Unknown Source)
at com.mathworks.update_installer.ExceptionHandlerImpl.processException(Unknown Source)
at com.mathworks.update_installer.UpdateInstallerService.updateInstallation(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.installservicehandler.InstallServiceHandlerClient.executeService(InstallServiceHandlerClient.java:18)
at com.mathworks.update_installer.UpdateInstallerClient$9.executeService(Unknown Source)
at com.mathworks.installjscommon.InstallerClientUtility.executeGetNextStateInSequence(Unknown Source)
at com.mathworks.update_installer.UpdateInstallerClient.clientMain(Unknown Source)
Caused by: java.lang.NullPointerException
at com.mathworks.install_impl.ComponentInstallerImpl.installComponent(Unknown Source)
at com.mathworks.install_impl.ComponentInstallerImpl.extractComponents(Unknown Source)
at com.mathworks.install_impl.ComponentInstallerImpl.installComponents(Unknown Source)
at com.mathworks.install_impl.ProductInstallerImpl.updateProducts(Unknown Source)
at com.mathworks.install_impl.InstallerImpl.update(Unknown Source)
at com.mathworks.install_task.UpdateTask.execute(UpdateTask.java:46)
at com.mathworks.install_task.AbstractDefaultInstallTask.call(AbstractDefaultInstallTask.java:24)
... 11 more
(Jan 17, 2022 18:51:34) Update session complete.
What is odd is that I have followed the same install process previously using the same versions on a different (though similar build) Red Hat server and had no issues.
(for information, I'm using these versions to match that pre-existing build - newer versions will be installed eventually but for now this is what we need)
thanks,
Neil

采纳的回答

Srijith Kasaragod
Hi,
This seems to be a machine specific issue. There could be many reasons for this: a stale NFS mount, corrupted update package, Security software, permissions, etc.
Installing the full MATLAB R2021a_Update1 rather than applying the update to the base installation is known to resolve this issue.
I hope this helps!
  1 个评论
Neil Swallow
Neil Swallow 2022-4-12
Hello,
Thanks - I was unable to resolve issues applying the update package on its own so have installed the the full Matlab install at update 1, as you suggested and this worked fine.
Neil

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by