Opening existing database with fresh build image #2191
gyurovb
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just to share
$ORACLE_BASE"/oradata/.$ {ORACLE_SID}"${CHECKPOINT_FILE_EXTN} but not for existence of
I have a database on docker, build (the database and the image) some one year ago. For various reasons I downloaded the repo again and built new 19.3 docket image. Mounted the existing volume as appropriate and.. surprisingly instead of opening the existing database, it started building a new one. Appears now it checks if the database exists by looking for
$ORACLE_BASE/oradata/$ORACLE_SID
as it used to be.
So... hack one
touch $ORACLE_BASE/oradata/.ORCLCDB.created
Then surprisingly container opened the database but... went to unhealthy state
The check script have changed to use OS authentication, but not "as sysdba" connection. Fixing security issue I guess, but still ... it fails.
So... hack 2
Will see if something more appears.
Beta Was this translation helpful? Give feedback.
All reactions