Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Permission denied? #8

Open
betazep opened this issue Nov 7, 2017 · 2 comments
Open

Permission denied? #8

betazep opened this issue Nov 7, 2017 · 2 comments
Assignees

Comments

@betazep
Copy link

betazep commented Nov 7, 2017

[ Starting automated installation ]
Read pack list from xml definition.
Try to add to selection [Name: Red Hat JBoss Enterprise Application Platform and Index: 0]
Try to add to selection [Name: AppClient and Index: 1]
Try to add to selection [Name: XMLs and XSDs and Index: 2]
Try to add to selection [Name: Modules and Index: 3]
Try to add to selection [Name: Welcome Content and Index: 4]
Try to remove from selection [Name: Quickstarts and Index: 5]
Try to remove from selection [Name: Icons and Index: 6]
Modify pack selection.
Pack [Name: Quickstarts and Index: 5] removed from selection.
Pack [Name: Icons and Index: 6] removed from selection.
[ Starting to unpack ]
[ Processing package: Red Hat JBoss Enterprise Application Platform (1/5) ]
[ Processing package: AppClient (2/5) ]
[ Processing package: Docs (3/5) ]
[ Processing package: Modules (4/5) ]
[ Processing package: Welcome Content (5/5) ]
[ Unpacking finished ]
[ Starting processing ]
Starting process Logging installation information (1/4)
IzPack variable state written to /opt/jboss/brms/jboss-eap-7.0/installation/InstallationLog.txt
Starting process Adding admin user (2/4)
Starting process Cleanup extraneous folders (3/4)
Starting process Cleanup icons folder (4/4)
[ Processing finished ]
[ Writing the uninstaller data ... ]
[ Automated installation done ]
/bin/sh: /opt/jboss/fix-permissions: Permission denied
error: build error: The command '/bin/sh -c sed -i "s:.*:$BRMS_HOME:" /opt/jboss/installation-eap && java -jar /opt/jboss/$EAP_INSTALLER /opt/jboss/installation-eap -variablefile /opt/jboss/installation-eap.variables && unzip -qo /opt/jboss/$BRMS_DEPLOYABLE -d $BRMS_HOME/.. && /opt/jboss/fix-permissions $BRMS_HOME && rm -rf /opt/jboss/$BRMS_DEPLOYABLE /opt/jboss/$EAP_INSTALLER /opt/jboss/installation-eap /opt/jboss/installation-eap.variables $BRMS_HOME/standalone/configuration/standalone_xml_history/ && $BRMS_HOME/bin/add-user.sh -a -r ApplicationRealm -u erics -p jbossbrms1! -ro analyst,admin,manager,user,kie-server,kiemgmt,rest-all --silent' returned a non-zero code: 126
error: the build appdev-in-cloud/rhcs-coolstore-demo-1 status is "Failed"

Error occurred during 'oc start-build' command!

@eschabell eschabell self-assigned this Nov 8, 2017
@eschabell
Copy link
Member

eschabell commented Nov 8, 2017

This has to do with permissions on script, which are not set here:

RUN chown 1000:1000 /opt/jboss/$EAP_INSTALLER /opt/jboss/$BRMS_DEPLOYABLE

I can't reproduce locally, but you could update this line and see if it helps:

RUN chown 1000:1000 /opt/jboss/$EAP_INSTALLER /opt/jboss/$BRMS_DEPLOYABLE /opt/jboss/fix-permissions

@betazep
Copy link
Author

betazep commented Nov 9, 2017

I pulled latest... still same error. I will go see if I can make it go away...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants