```Hi I am running docker container of ortussoluti...
# docker
a
Copy code
Hi I am running docker container of ortussolutions/commandbox:adobe2021-3.8.0
with cfengine = adobe@2021 on ECS Fargate task. 
When container starts running it is missing all these packages mentioned in install.txt file: 
packages=felixclassloader\:2021.0.3.329779,zip:\2021.0.02.328618,chart\:2021.0.02.328618,pdf\:2021.0.02.328618,awss3legacy\:2021.0.02.328618,feed\:2021.0.02.328618,sqlserver\:2021.0.02.328618,document\:2021.0.02.328618,scheduler\:2021.0.02.328618,debugger\:2021.0.02.328618,mail\:2021.0.02.328618,image\:2021.0.02.328618,spreadsheet\:2021.0.02.328618,caching\:2021.0.02.328618,adminapi\:2021.0.02.328618,administrator\:2021.0.02.328618

All this packages are needed for our coldfusion application. I tried installing all the packages via below  command in dockerfile but it doesn't help:
FROM ortussolutions/commandbox:adobe2021-3.8.0
WORKDIR /app ENV ACCEPT_EULA "Y" RUN box cfpm import /app/config/install.txt
Copy code
Also, I tried running this command as entrypoint script but still getting same error. Since the docker image  (ortussolutions/commandbox:adobe2021-3.8.0 ) once start running the container, it create WEB_INF dir and other startup process post which only it accept this command ( box cfpm import /app/config/install.txt_  to work. 


For this we have to wait around 4-5 minutes then execute this command manually in docker cotnainer to get all packages installed. Anyway we can automate that during docker build.
b
I'm not really clear what you're trying to do or what you've tried.
The Ortus image provides an env var called ``CFPM_INSTALL` that will automatically install that list of packages when the container starts up
I'm not quite following what you said about 4-5 minutes, but it sounds like you should build an image and install the packages as part of that build. No need to do anything in the entry point.
If that's what you're doing, then you'll need to be more specific
a
hi I have tried passing requied packaged as env CFPM_INSTALL but it doesn't help.
When updated all packages as env while docker run it do install packages but still getting the same error as package not installed : 7 out of 15 packages downloaded. Downloading the dependent package bcmail-jdk15on-153.jar Downloading the package mail-2021.0.11.330247.jar mail (2021.0.11.330247) package and its dependencies have been downloaded successfully. 8 out of 15 packages downloaded. Downloading the dependent package jetty-util-9.4.51.jar Downloading the dependent package jetty-xml-9.4.51.jar Downloading the dependent package jetty-http-9.4.51.jar Downloading the dependent package jetty-io-9.4.51.jar Downloading the dependent package jetty-server-9.4.51.jar Downloading the dependent package jetty-security-9.4.51.jar Downloading the dependent package jetty-servlet-9.4.51.jar Downloading the package debugger-2021.0.11.330247.jar debugger (2021.0.11.330247) package and its dependencies have been downloaded successfully. 9 out of 15 packages downloaded. Downloading the dependent package c3p0-0.9.1.1.jar Downloading the dependent package quartz-2.2.1.jar Downloading the package scheduler-2021.0.05.330109.jar scheduler (2021.0.05.330109) package and its dependencies have been downloaded successfully. 10 out of 15 packages downloaded. Downloading the dependent package joda-time-2.8.jar Downloading the dependent package adobe_drivers_common-6.0.jar Downloading the dependent package adobe_sqlserverdriver-6.0.0.001282.jar Downloading the package sqlserver-2021.0.11.330247.jar sqlserver (2021.0.11.330247) package and its dependencies have been downloaded successfully. 11 out of 15 packages downloaded. Downloading the dependent package rome-cf-1.0.jar Downloading the package feed-2021.0.05.330109.jar feed (2021.0.05.330109) package and its dependencies have been downloaded successfully. 12 out of 15 packages downloaded. Downloading the dependent package jets3t-0.9.4.jar Downloading the package awss3legacy-2021.0.05.330109.jar awss3legacy (2021.0.05.330109) package and its dependencies have been downloaded successfully. 13 out of 15 packages downloaded. Downloading the dependent package chart-2.9.jar Downloading the package graph-2021.0.05.330109.jar chart (2021.0.05.330109) package and its dependencies have been downloaded successfully. 14 out of 15 packages downloaded. Downloading the dependent package commons-httpclient-3.1.jar Downloading the dependent package commons-net-3.6.jar Downloading the dependent package commons-collections-3.2.2.jar Downloading the dependent package jsch-0.1.54.jar Downloading the dependent package zip4j-1.3.1_cf.jar Downloading the package zip-2021.0.05.330109.jar zip (2021.0.05.330109) package and its dependencies have been downloaded successfully. 15 out of 15 packages downloaded. Packages have been downloaded. Now they will get installed. caching package cannot be installed by the server. Please check the server logs and try installing again. document package cannot be installed by the server. Please check the server logs and try installing again. image package cannot be installed by the server. Please check the server logs and try installing again. pdf package cannot be installed by the server. Please check the server logs and try installing again. spreadsheet package cannot be installed by the server. Please check the server logs and try installing again.
b
Did you check the server logs as the error said?
I would reach out directly to Adobe as that is their error message and really not even really related to docker.
a
yes, it is serverlogs only :
[INFO] 2023-11-02T13:33:50Z runwar.context - Nov 2, 2023 13:33:50 PM Error [XNIO-1 task-2] - The caching package is not installed.You can install package through CLI package manager (/app/WEB-INF/cfusion/bin/cfpm.sh) by running the command : install caching. The specific sequence of files included or processed is: /app/front.cfm, line: 290
[INFO] 2023-11-02T13:30:31Z runwar.server - Server is up - http-port:8080 stop-port:36085 PID:6 version 4.8.5
[INFO] 2023-11-02T13:30:31Z runwar.server - ******************************************************************************
[INFO] 2023-11-02T13:30:31Z runwar.server - *** starting 'stop' listener thread - Host: 0.0.0.0 - Socket: 36085
[INFO] 2023-11-02T13:30:31Z runwar.server - ******************************************************************************
[INFO] 2023-11-02T13:30:31Z runwar.context - Nov 2, 2023 13:30:31 PM Information [main] - ColdFusion: application services are now available
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - ColdFusion started
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - report package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - exchange package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - sharepoint package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - azureservicebus package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awsdynamodb package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awssqs package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awssns package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - ftp package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - scheduler package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - Starting sql...
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - sqlserver package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - odbc package will not be deployed as it is not installed.
b
That's the console log, I assume Adobe has other log files that may have details. Again, ask them.