Skip to content

Cannot patch new Portal security 2024 u1 linux #381

@df-sloughton

Description

@df-sloughton

Hi
Im interested in all the patches for Portal on Linux, including getting past any recent patch installer/Enterprise Sites patching issues if they exist on Linux.
Packer + Chef seem to say it installed, or was already there (says "upto date")? But when deployed image patchnotification says its available still to install.

Target OS: Ubuntu Linux 22.02
ArcGIS Enterprise 10.9.1
Chef ArcGIS Cookbooks 4.0.0
packer:1.9.1 on GitHub Cloud > Actions Runner

Chef JSON snippet (trying also to get the order right):

...
        "portal": {
            "wa_name": "portal",
            "install_dir": "/opt",
            "configure_autostart": true,
            "install_system_requirements": true,
            "patches": [
                "ArcGIS-1091-PFA-SEC2022U1-Patch-linux.tar",
                "ArcGIS-1091-PFA-Log4j-PatchB-linux.tar",
                "ArcGIS-1091-PFA-SEC2022U2-PatchB-linux.tar",
                "ArcGIS-1091-PFA-ESFD-Patch-linux.tar",
                "ArcGIS-1091-PFA-SEC2023U1-PatchB-linux.tar",
                "ArcGIS-1091-PFA-QCS-Patch-linux.tar",
                "ArcGIS-1091-PFA-ESSEC-PatchB-linux.tar",
                "ArcGIS-1091-PFA-SEC2024U1-Patch-linux.tar"
            ]
        },
...

Chef logs via Packer via Github Action Runner snippet

...
2024-04-08T07:02:18Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_patches[Install patch ArcGIS-1091-PFA-SEC2023U1-PatchB-linux.tar] action install
2024-04-08T07:02:18Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:
2024-04-08T07:03:08Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_patches[Install patch ArcGIS-1091-PFA-QCS-Patch-linux.tar] action install
2024-04-08T07:03:08Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:
2024-04-08T07:03:57Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_patches[Install patch ArcGIS-1091-PFA-ESSEC-PatchB-linux.tar] action install
2024-04-08T07:03:57Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:
2024-04-08T07:03:57Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_patches[Install patch ArcGIS-1091-PFA-SEC2024U1-Patch-linux.tar] action install (up to date)
2024-04-08T07:03:57Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_portal[Start Portal for ArcGIS after patching] action start
2024-04-08T07:03:57Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:     * service[arcgisportal] action enable (up to date)
2024-04-08T07:04:03Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:     * service[arcgisportal] action start
2024-04-08T07:04:03Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:       - start service service[arcgisportal]
2024-04-08T07:04:03Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:
2024-04-08T07:04:03Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_server[Stop ArcGIS Server before patching] action stop (skipped due to not_if)
2024-04-08T07:04:03Z:     1_arcgis_ubuntu.amazon-ebs.arcgis_portal_ubuntu:   * arcgis_enterprise_server[Start ArcGIS Server after patching] action start (skipped due to not_if)
...

Patchnotification output:

arcgis@ip-xxxxyyyyy:~$ /opt/arcgis/portal/tools/patchnotification/patchnotification
Unable to access display.  Switching to console mode.
================================================================================
                      ArcGIS Enterprise Patch Notification
================================================================================

Installed Components

    Portal for ArcGIS                             10.9.1

================================================================================

Available Updates

 Portal for ArcGIS
    - Portal for ArcGIS Security 2024 Update 1 Patch (!)
      https://support.esri.com/en-us/patches-updates/2023/portal-for-arcgis-security-2024-update-1-patch
      Release Date: 4/4/24

================================================================================

Installed Patches
    - Portal for ArcGIS 10.9.1 Enterprise Sites Security Patch B
      Installed: 4/8/24, 7:03 AM

    - Portal for ArcGIS 10.9.1 QuickCapture Security Patch
      Installed: 4/8/24, 7:02 AM

    - Portal for ArcGIS 10.9.1 Security 2023 Update 1 Patch B
      Installed: 4/8/24, 7:01 AM

    - Portal for ArcGIS 10.9.1 Log4j Patch B
      Installed: 4/8/24, 6:52 AM


================================================================================
To browse a full list of Esri patches and service packs, visit the Esri Support site:
http://support.esri.com/Downloads

This might be another problem or related, but right now I cant manually patch either:

arcgis@ip-xxxxxyyyyy:~$ /tmp/PFA-1091-P-991/applypatch -s -portal /opt/arcgis/portal

  ===================================================================

                 ArcGIS Enterprise Update Tool 2.0.2

  ===================================================================

  At any prompt, press the Return key to take the default option
  shown in parenthesis or press 'q' to quit the installation process.


*** ERROR:

No $HOME/.ESRI.properties files found.

  The ESRI patch installation has failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions