Migrate to 26.2
If you haven’t installed uc-local-apex-dev yet, you can find the setup instructions here.
Make sure you are on 26.1 before you start. Do the previous migrations if not.
Changes
Section titled “Changes”- DB 23.26.0.0 → 23.26.1.0 (DB files are compatible)
- ORDS 25.4 → 26.1
- Enhanced scripts
drop-user.sh: now also removes the named SQLcl connection from the connection managercreate-user.sh: added grants for AQ (Advanced Queuing), JavaScript, and catalog privilegesunexpire-accounts.sh: fixed workspace account expiry usingapex_util.set_security_group_idfor correct workspace scopingafter-first-db-start.sh: sets max application backups and randomizes the internal APEX ADMIN password on first start; non-interactive TTY detection for SSH compatibilityinstall-dbms-cloud.sh/create-datapump-directory.sh: non-interactive TTY detection so scripts work over SSHdrop-user.sh: user credentials are now commented out in.envinstead of being removed entirely
- Bug fixes
drop_all.sql: now also drops Queue Tables; excludesINDEXandLOBobject types to prevent errorsdocker-composecompatibility: scripts now support bothdocker-compose(v1) anddocker compose(v2 plugin)
Migration
Section titled “Migration”Make sure your database is running:
docker psOtherwise start the database:
./local-26ai.sh startBackup the database
Section titled “Backup the database”This will backup all schemas and APEX workspaces that were created with the local-26ai.sh create-user script. If you have additional schemas or workspaces you need to back them up manually.
./local-26ai.sh backup-allCheck the backups/export directory to confirm the backup was created successfully.
Stop the containers
Section titled “Stop the containers”./local-26ai.sh stopSwitch branch
Section titled “Switch branch”git fetchgit checkout 26-2Give permission to all new scripts
Section titled “Give permission to all new scripts”chmod +x ./local-26ai.sh ./setup.sh ./scripts/*.shStart the containers
Section titled “Start the containers”./local-26ai.sh startThe database will automatically upgrade from 23.26.0.0 to 23.26.1.0 on first start. ORDS will detect the version mismatch and upgrade itself to 26.1 as well. Monitor the logs until both are ready:
docker logs -f local-26aidocker logs -f local-26ai-ordsVerify
Section titled “Verify”Navigate to http://localhost:8181/ords/apex to confirm ORDS is serving APEX.
Optional: delete old docker images
Section titled “Optional: delete old docker images”docker image lsdocker image rm {image_name}