Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

There is a problem with your environment because the Application Express files have not been loaded. #25

Open
cc13com opened this issue Dec 7, 2018 · 5 comments

Comments

@cc13com
Copy link

cc13com commented Dec 7, 2018

Hi,

after installing oracle-xe container, apex and ords-container I receive the following message, when I open the apex-page:

There is a problem with your environment because the Application Express files have not been loaded. Please verify that you have copied the images directory to your application server as instructed in the Installation Guide. In addition, please verify that your image prefix path is correct. Your current path is /i/ (it should contain both starting and ending forward slashes, such as the default /i/). Use the SQL script reset_image_prefix.sql if you need to change it.

The docker run for the ords-container is:

docker run -t -i \ --name ords \ --network=oracle_network \ -e DB_HOSTNAME=oracle-xe \ -e DB_PORT=1521 \ -e DB_SERVICENAME=XEPDB1 \ -e APEX_PUBLIC_USER_PASS=oracle \ -e APEX_LISTENER_PASS=oracle \ -e APEX_REST_PASS=oracle \ -e ORDS_PASS=oracle \ -e SYS_PASS=Oracle18 \ --volume /Users/my_name/docker/apex/18.2/apex/images:/usr/local/tomcat/webapps/i \ -p 32713:8080 \ ords:18.3.0

And when I connect with the bash and look in the folder /usr/local/tomcat/webapps/i I see all apex-images-files.

Whats wrong?

@demonguru18
Copy link

The problem is, you have to use the sudo command and add the password option.

sudo docker run -d \
  -p 32118:1521 \
  -p 35518:5500 \
  -e ORACLE_PWD=Oracle18 \
  --name=oracle-xe \
  --volume ~/docker/oracle-xe:/opt/oracle/oradata \
  --network=oracle_network \
  oracle-xe:18c

I have mage Step by step tutorial, to install Oracle 18c XE, using this repo - this will surely help.
How To Install Oracle Database 18c XE on Docker Container on Mac OS

https://www.youtube.com/watch?v=CbopSCwATIg

Hope this helps - Everything you need to do from start to end on a mac OS

@fuzziebrain
Copy link
Owner

@cc13com Are you using the docker-ords image to run ORDS?

@cc13com
Copy link
Author

cc13com commented Feb 14, 2019

@fuzziebrain Yes I do.

@fuzziebrain
Copy link
Owner

Can you please try changing this parameter in your docker run command from:
--volume /Users/my_name/docker/apex/18.2/apex/images:/usr/local/tomcat/webapps/i

To:
--volume /Users/my_name/docker/apex/18.2/apex/images:/ords/apex-images

@cc13com
Copy link
Author

cc13com commented Feb 15, 2019

I use this second line in my installation. But I'm not sure if I changed by myself or if I found this idea in a web search.

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

3 participants