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

Add mention of PostgreSQL password prompt #235

Closed
laeti-tia opened this issue Jun 22, 2023 · 2 comments
Closed

Add mention of PostgreSQL password prompt #235

laeti-tia opened this issue Jun 22, 2023 · 2 comments
Assignees

Comments

@laeti-tia
Copy link
Member

When installing pScheduler on Debian and Ubuntu with a regular apt install the user is prompted to enter a password for the new PostgreSQL database created. The user can choose this password arbitrarily or even leave it empty (the DB is only accessible locally).

We should document that and even tell that APT installation can be done in non-interactive mode to avoid the prompt altogether (this is what the Ansible roles we provide are doing). This can be done by setting the following environment variable when installing: DEBIAN_FRONTEND=noninteractive apt install perfsonar-toolkit

@github-project-automation github-project-automation bot moved this to Ready in perfSONAR Jun 22, 2023
@laeti-tia laeti-tia self-assigned this Jun 22, 2023
@szymontrocha
Copy link
Contributor

szymontrocha commented Feb 7, 2024

@laeti-tia what about adding the following note to the description of Debian bundle installation process:

Setting the default user password in PostgreSQL
++++++++++++++++++
With a regular apt install, the user is prompted to enter a password for the new PostgreSQL database created during installation. You can choose this password arbitrarily or leave it empty (the DB is only accessible locally).
Alternatively, you can install packages with APT in non-interactive mode to avoid the password prompt by setting the following environment variable when installing: DEBIAN_FRONTEND=noninteractive apt install perfsonar-toolkit

@laeti-tia
Copy link
Member Author

Looks good to me (I made a few changes to make it clearer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants