Skip to content

fix: remove Oracle/OCI support from installer and setup#41555

Merged
DeepDiver1975 merged 3 commits into
masterfrom
fix/oci
May 20, 2026
Merged

fix: remove Oracle/OCI support from installer and setup#41555
DeepDiver1975 merged 3 commits into
masterfrom
fix/oci

Conversation

@DeepDiver1975
Copy link
Copy Markdown
Member

Summary

  • Removes --database-connection-string option and all OCI-specific logic from maintenance:install command
  • Drops oci from the supported databases list, $dbSetupClasses, and getSystemInfo() in Setup.php
  • Removes Oracle UI elements (hidden field, tablespace fieldset, JS handlers) from the web installer
  • Deletes OC\Setup\OCI class entirely
  • Updates SetupTest assertions to reflect Oracle's removal

Closes #41554

Test plan

  • Run php occ maintenance:install --help and confirm --database-connection-string and oci are gone
  • Verify the web installer no longer shows Oracle as a database option
  • Run tests/lib/SetupTest.php in CI to confirm updated assertions pass

🤖 Generated with Claude Code

DeepDiver1975 and others added 2 commits May 19, 2026 22:49
Oracle is no longer a supported database. Remove the --database-connection-string
option from maintenance:install, drop OCI from the setup class registry and
supported databases list, clean up the web installer template and JS, and
update the SetupTest assertions accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Oracle is no longer supported, so the setup class used during installation
is no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@update-docs
Copy link
Copy Markdown

update-docs Bot commented May 20, 2026

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

- Drop dbconnectionstring and dbConnectionString from AbstractDatabase
- Remove dbtablespace default from SetupController
- Remove oci from DBCONFIGS, Oracle docker spin-up, and oci notes in autotest.sh and autotest-external.sh
- Remove plugin_wait_for_oracle(), oracle) case, and --database-connection-string branch from install-server.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@phil-davis phil-davis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable, they are all Oracle things that are deleted.

@jvillafanez
Copy link
Copy Markdown
Member

There is still some code related to oracle in multiple places that we should remove sooner than later. We probably need to come up with a removal strategy if we don't want to wipe it in one go.

@DeepDiver1975
Copy link
Copy Markdown
Member Author

There is still some code related to oracle in multiple places that we should remove sooner than later. We probably need to come up with a removal strategy if we don't want to wipe it in one go.

absolutly true - for the time being we keep other code elements ....

@DeepDiver1975 DeepDiver1975 merged commit 95e3cde into master May 20, 2026
12 checks passed
@DeepDiver1975 DeepDiver1975 deleted the fix/oci branch May 20, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

maintenance:install --> remove oracle option: database-connection-string

3 participants