Skip to content

Provide default password for Dockerfile#62

Merged
kriszyp merged 1 commit intomainfrom
default-password
Mar 26, 2026
Merged

Provide default password for Dockerfile#62
kriszyp merged 1 commit intomainfrom
default-password

Conversation

@kriszyp
Copy link
Copy Markdown
Member

@kriszyp kriszyp commented Mar 26, 2026

In our existing harperdb Dockerfile, we provide a default password. Apparently this got removed in /harper-pro and /harper. And I think this means the default docker startup behavior leads to:

harperdb-1  | uncaughtException Error [ERR_USE_AFTER_CLOSE]: readline was closed
harperdb-1  |     at Interface.pause (node:internal/readline/interface:564:13)
harperdb-1  |     at PromptUI.close (/home/harperdb/.npm-global/lib/node_modules/@harperfast/harper-pro/node_modules/inquirer/lib/ui/baseUI.js:56:13)
harperdb-1  |     at PromptUI.onForceClose (/home/harperdb/.npm-global/lib/node_modules/@harperfast/harper-pro/node_modules/inquirer/lib/ui/baseUI.js:34:10)
harperdb-1  |     at process.emit (node:events:520:35) {
harperdb-1  |   code: 'ERR_USE_AFTER_CLOSE'
harperdb-1  | }
harperdb-1  | Please enter a password for the administrative user: [input is hidden] 
harperdb-1 exited with code 0

Which is obviously very confusing and unhelpful. I think it is better to just retain the default password. (it is also possible that I am confused by this too, but I think this is how we address this).

@kriszyp kriszyp requested a review from a team as a code owner March 26, 2026 13:33
@kriszyp kriszyp merged commit ac6eebf into main Mar 26, 2026
18 of 19 checks passed
@kriszyp kriszyp deleted the default-password branch March 26, 2026 13:55
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.

3 participants