Skip to content

+ is not allowed in password and causes infinite loop #514

Open
@ole-tange

Description

@ole-tange

Describe the issue

export VM_ORACLE_PWD=t7jJqhjr+Ty7
cd OracleDatabase/23.4.0-Free
vagrant up

This causes an inifite loop.

It would be better if the password was checked early in the installation, so you do not have to wait to discover this.

Environment (please complete the following information):

  • Host OS: Ubuntu
  • Kernel version (for Linux host): Linux aspire 5.15.0-101-generic 111-Ubuntu SMP Tue Mar 5 20:16:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  • Vagrant version: Vagrant 2.2.19
  • Vagrant provider:
    • For VirtualBox: 6.1.50_Ubuntur161033
  • Vagrant project: OracleDatabase/23.4.0-Free

Additional information

I get this in the infinite loop:

oracle23ai-free-vagrant: Password cannot be null. Enter password:

It is clearly wrong. Removing the '+' seems to solve it.

Activity

PaulNeumann

PaulNeumann commented on Jul 29, 2024

@PaulNeumann
Contributor

Yes, spaces and special characters in the password cause database creation to fail. This is documented in the README.md file in bold text, and also noted in the .env and Vagrantfile files.

The special character restrictions and the "Password cannot be null" error message are part of the database creation assistant (DBCA) code, which this project has no control over. The restrictions may or may not be intentional. As far as I know, the list of invalid characters isn't documented, so accurately validating a user-supplied password before passing it to the oracle-free-23ai script isn't feasible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ole-tange@PaulNeumann

        Issue actions

          + is not allowed in password and causes infinite loop · Issue #514 · oracle/vagrant-projects