There is a problem with your environment because the Application Express files have not been loaded.
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?
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
@cc13com Are you using the docker-ords image to run ORDS?
@fuzziebrain Yes I do.
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
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.