Skip to content

Unable to install git-source-control due to /usr/irissys/ permissions #795

@eleanor-layerhealth

Description

@eleanor-layerhealth

I'm installing git-source-control in a newly deployed instance of IRIS for Health running on Kubernetes. I ran into an Activate FAILURE/ERROR! Error creating directory /usr/irissys/devuser/studio/templates/gitsourcecontrol/ error on installation, and WRC recommended reaching out here. They noted it was likely due to durable %SYS being configured on the container, which is setting the /usr/irissys/ permissions to Read/Execute and preventing this directory from being created.

They also pointed me to a similar issue: intersystems/ipm#809

Here are the full install logs if helpful:

 SCRATCH>s version="latest" s r=##class(%Net.HttpRequest).%New(),r.Server="[pm.community.intersystems.com](http://pm.community.intersystems.com/)",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/"_version_"/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

 Load started on 06/19/2025 14:17:21
 Loading file /irissys/data/IRIS/mgr/Temp/6IuKbjAbikqxyg.xml as xml
 Imported class: IPM.Installer
 Compiling class IPM.Installer
 Compiling routine IPM.Installer.1
 Load finished successfully.

 SCRATCH>Do ##class(%IPM.Main).Shell("enable -community")

 Version of IPM in current namespace: 
 SCRATCH> zpm 0.10.2

 RUNNING command: "repo -delete-all"
 Command "repo -delete-all" finished successfull

 RUNNING command: "repo -reset-defaults"
 registry
 Source: https://pm.community.intersystems.com/
 Enabled? Yes
 Available? Yes
 Use for Snapshots? Yes
 Use for Prereleases? Yes
 Is Read-Only? No
 Default Deployment Registry? No

 registry
 Source: https://pm.community.intersystems.com/
 Enabled? Yes
 Available? Yes
 Use for Snapshots? Yes
 Use for Prereleases? Yes
 Is Read-Only? No
 Default Deployment Registry? No

 Command "repo -reset-defaults" finished successfull

 RUNNING command: "enable -map -repos -globally"
 Version of IPM in current namespace: 
 SCRATCH> zpm 0.10.2
 Mapping %IPM package in SCRATCH equivalently to %SYS
 Mapping %IPM.* routines in SCRATCH equivalently to %SYS
 Mapping %IPM package in SCRATCH equivalently to HSCUSTOM
 Mapping %IPM.* routines in SCRATCH equivalently to HSCUSTOM
 Skipping IPM mapping of HSLIB - IPM already installed.
 Mapping %IPM package in SCRATCH equivalently to HSSYS
 Mapping %IPM.* routines in SCRATCH equivalently to HSSYS
 Mapping %IPM package in SCRATCH equivalently to HSSYSLOCALTEMP
 Mapping %IPM.* routines in SCRATCH equivalently to HSSYSLOCALTEMP
 Mapping %IPM package in SCRATCH equivalently to IRISCLUSTER
 Mapping %IPM.* routines in SCRATCH equivalently to IRISCLUSTER
 Skipping IPM mapping of SCRATCH - IPM already installed.
 Mapping %IPM package in SCRATCH equivalently to USER
 Mapping %IPM.* routines in SCRATCH equivalently to USER
 Skipping repository mapping of %SYS - IPM repositories found.
 Skipping repository mapping of HSCUSTOM - IPM repositories found.
 Skipping repository mapping of HSLIB - IPM not mapped from source namespace.
 Skipping repository mapping of HSSYS - IPM repositories found.
 Skipping repository mapping of HSSYSLOCALTEMP - IPM repositories found.
 Skipping repository mapping of IRISCLUSTER - IPM repositories found.
 Skipping repository mapping of SCRATCH - IPM not mapped from source namespace.
 Skipping repository mapping of USER - IPM repositories found.
 Done.

 HSLIB>     zpm 0.9.0+snapshot (DeveloperMode)
 SCRATCH>    zpm 0.10.2
 %SYS>     zpm 0.10.2
        Installed In: SCRATCH 
 HSCUSTOM>   zpm 0.10.2
        Installed In: SCRATCH 
 HSSYS>     zpm 0.10.2
        Installed In: SCRATCH 
 HSSYSLOCALTEMP> zpm 0.10.2
        Installed In: SCRATCH 
 IRISCLUSTER>  zpm 0.10.2
        Installed In: SCRATCH 
 USER>     zpm 0.10.2
        Installed In: SCRATCH 
 https://pm.community.intersystems.com/ - 1.0.6
 Command "enable -map -repos -globally" finished successfull

 SCRATCH>Do ##class(%IPM.Main).Shell("install git-source-control 2.11.0")
 
 [SCRATCH|git-source-control] Initialize START
 [SCRATCH|git-source-control] Initialize SUCCESS
 [SCRATCH|git-source-control] Reload START (/irissys/data/IRIS/mgr/Temp/uuUrLvtq/)
 [SCRATCH|git-source-control] Reload SUCCESS
 [git-source-control] Module object refreshed.
 [SCRATCH|git-source-control] Validate START
 [SCRATCH|git-source-control] Validate SUCCESS
 [SCRATCH|git-source-control] Compile START
 [SCRATCH|git-source-control] Compile SUCCESS
 [SCRATCH|git-source-control] Activate START
 [git-source-control] Activate FAILURE
 ERROR! Error creating directory /usr/irissys/devuser/studio/templates/gitsourcecontrol/: <4294967283> Unknown error -13

And version info:

SCRATCH>write ##class(%ZHSLIB.HealthShareMgr).VersionInfo()
 IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2025.1 (Build 225_1U) Fri May 16 2025 12:22:16 EDT [Health:8.2.2]

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