Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ole-tange opened this issue Jul 28, 2024 · 1 comment
Open

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

ole-tange opened this issue Jul 28, 2024 · 1 comment

Comments

@ole-tange
Copy link

ole-tange commented Jul 28, 2024

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.

@PaulNeumann
Copy link
Contributor

PaulNeumann commented Jul 29, 2024

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants