intersystems-community / secured-rest-api

MIT License
0 stars 1 forks source link

Error installing in docker-compose #1

Open SergeyMi37 opened 3 years ago

SergeyMi37 commented 3 years ago

docker-compose build --no-cache --progress=plain Building iris Step 1/12 : ARG IMAGE=intersystemsdc/iris-community:2020.3.0.221.0-zpm Step 2/12 : ARG IMAGE=intersystemsdc/iris-community:2020.4.0.524.0-zpm Step 3/12 : ARG IMAGE=intersystemsdc/iris-community Step 4/12 : FROM $IMAGE ---> 847890cd9614 Step 5/12 : USER root ---> Running in 7b74a1ed89ca Removing intermediate container 7b74a1ed89ca ---> 13af6cea52ed Step 6/12 : WORKDIR /opt/irisapp ---> Running in a8e1772483de Removing intermediate container a8e1772483de ---> 7239d56e7c2d Step 7/12 : RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp ---> Running in 40f3249c6e4f Removing intermediate container 40f3249c6e4f ---> 44d913228487 Step 8/12 : USER ${ISC_PACKAGE_MGRUSER} ---> Running in 09b44e4ced51 Removing intermediate container 09b44e4ced51 ---> ceaf21c45928 Step 9/12 : COPY src src ---> a9714b542670 Step 10/12 : COPY module.xml module.xml ---> 4e4d8f92c379 Step 11/12 : COPY iris.script /tmp/iris.script ---> 0991bd20657c Step 12/12 : RUN iris start IRIS && iris session IRIS < /tmp/iris.script && iris stop IRIS quietly ---> Running in 4eeb49da1eb1 Using 'iris.cpf' configuration file

This copy of InterSystems IRIS has been licensed for use exclusively by: InterSystems IRIS Community Copyright (c) 1986-2021 by InterSystems Corporation Any other use is a violation of your license agreement Starting IRIS

Node: 4eeb49da1eb1, Instance: IRIS

USER>

USER>

USER>

%SYS>

%SYS>

%SYS>

USER>

Load started on 11/14/2021 14:39:51 Loading file /opt/irisapp/module.xml as xml Imported document: dc-sample-rest.ZPM Load finished successfully.

Dependencies: swagger-ui 1.0.0 @ registry Module swagger-ui was downloaded from registry (https://pm.community.intersystems.com) Loading from /usr/irissys/mgr/.modules/USER/swagger-ui/1.0.0/

Load started on 11/14/2021 14:41:29 Loading file /usr/irissys/mgr/.modules/USER/swagger-ui/1.0.0/module.xml as xml Imported document: swagger-ui.ZPM Load finished successfully.

Skipping preload - directory does not exist. Load started on 11/14/2021 14:41:29 Loading file /usr/irissys/mgr/.modules/USER/swagger-ui/1.0.0/module.xml as xml Imported document: swagger-ui.ZPM Load finished successfully.

Loading swagger-ui in process 551 [swagger-ui] Reload START (/usr/irissys/mgr/.modules/USER/swagger-ui/1.0.0/) Skipping preload - directory does not exist. [swagger-ui] Reload SUCCESS [swagger-ui] Module object refreshed. [swagger-ui] Validate START [swagger-ui] Validate SUCCESS [swagger-ui] Compile START [swagger-ui] Compile SUCCESS [swagger-ui] Activate START [swagger-ui] Configure START Creating Web Application /swagger-ui AuthenticationMethods: AutoCompile: 1 CSPZENEnabled: 1 ChangePasswordPage: CookiePath: /swagger-ui DeepSeeEnabled: 0 Description: DispatchClass: Enabled: 1 ErrorPage: EventClass: GroupById: HyperEvent: 0 InbndWebServicesEnabled: 1 IsNameSpaceDefault: 0 LockCSPName: 1 LoginPage: LoginTokenEnabled: 0 MatchRoles: :%DB_USER NameSpace: USER Package: Path: /usr/irissys/csp/swagger-ui/ PermittedClasses: Recurse: 1 Resource: ServeFiles: 1 ServeFilesTimeout: SuperClass: Timeout: TwoFactorEnabled: 0 Type: 2 UseCookies: 1 iKnowEnabled: 0 Done. chmod -R 775 /usr/irissys/csp/swagger-ui/ chmod -R 775 /usr/irissys/csp/swagger-ui/ Clearing CSPGateway cache of /swagger-ui/* [swagger-ui] Configure SUCCESS [swagger-ui] MakeDeployed START No classes to mark as deployed. No routines to deploy. [swagger-ui] MakeDeployed SUCCESS [swagger-ui] Activate SUCCESS Skipping preload - directory does not exist. Load started on 11/14/2021 14:41:30 Loading file /opt/irisapp/module.xml as xml Imported document: dc-sample-rest.ZPM Load finished successfully.

Loading dc-sample-rest in process 548 [dc-sample-rest] Reload START (/opt/irisapp/) Skipping preload - directory does not exist. Load of directory started on 11/14/2021 14:41:30 '*'

ERROR #5021: Directory '/opt/irisapp/src/dc/sample/rest' does not exist. Detected 1 errors during load.

[dc-sample-rest] Reload FAILURE ERROR! Directory '/opt/irisapp/src/dc/sample/rest' does not exist.ERROR: Service 'iris' failed to build: The command '/bin/sh -c iris start IRIS && iris session IRIS < /tmp/iris.script && iris stop IRIS quietly' returned a non-zero code: 1 root@hp-ssd-msw:/mnt/d/_proj/_oex/secured-rest-api#