Skip to content

Fails to install in IRIS container #4

@gjsjohnmurray

Description

@gjsjohnmurray
USER>zpm

=============================================================================
|| Welcome to the Package Manager Shell (ZPM). Version: 0.10.2             ||
|| Enter q/quit to exit the shell. Enter ?/help to view available commands ||
|| Current registry https://pm.community.intersystems.com/                 ||
|| System Mode: DEVELOPMENT                                                ||
|| Mirror Status: WAITING                                                  ||
=============================================================================
IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2025.1 (Build 230_2U) Wed Jun 4 2025 18:50:30 EDT [HealthConnect:8.2.2]
zpm:USER>version

HSLIB> zpm 0.9.0+snapshot (DeveloperMode)
USER>  zpm 0.10.2
HSSYS> zpm 0.9.0+snapshot (DeveloperMode)
       Installed In: HSLIB 
https://pm.community.intersystems.com/ - 1.0.6
zpm:USER>install iterm                              

WARNING: The <CSPApplication></CSPApplication> resource tag is deprecated and may be removed in a future release of IPM.
         Please contact the package developer of iterm to use <WebApplication></WebApplication> instead
[USER|iterm]    Initialize START
[USER|iterm]    Initialize SUCCESS
[USER|iterm]    Reload START (/shared/durable/mgr/Temp/hlf5o1Ei/)
[USER|iterm]    requirements.txt START
[USER|iterm]    requirements.txt SUCCESS
[USER|iterm]    Reload SUCCESS
[iterm] Module object refreshed.
[USER|iterm]    Validate START
[USER|iterm]    Validate SUCCESS
[USER|iterm]    Compile START
[USER|iterm]    Compile SUCCESS
[USER|iterm]    Activate START
[iterm] Activate FAILURE
ERROR! Error copying directory /shared/durable/mgr/Temp/hlf5o1Ei/iterm/ to /usr/irissys/csp/iterm/
  > ERROR #320: Create failed because: /usr/irissys/csp/iterm/
zpm:USER>q

USER>w $System.Util.InstallDirectory()_"csp"    
/usr/irissys/csp
USER>w ##class(%Library.File).ManagerDirectory()
/shared/durable/mgr/
USER>

Installation seems to be trying to copy the package's /iterm folder contents into the folder configured for the /iterm webapp it created. But that destination folder is in the container's read-only filesystem.

I'm unclear why that copying is being attempted. The package's /iterm folder only seems to contain Python stuff, and the module.xml earlier copies this into ${mgrdir}python/iterm

Maybe this has been caused by a change in IPM. You'll see above that I'm using 0.10.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