Admin password

Admin password

To change the password of a user, open a Web Terminal and click the PostgreSQL button at the top. This will paste the PostgreSQL connection command line, just press enter.

Example:
root@0d0dbccd-43ee-43c0-b1a4-80613567bd6a:/app/code# PGPASSWORD=${CLOUDRON_POSTGRESQL_PASSWORD} psql -h ${CLOUDRON_POSTGRESQL_HOST} -p ${CLOUDRON_POSTGRESQL_PORT} -U ${CLOUDRON_POSTGRESQL_USERNAME} -d ${CLOUDRON_POSTGRESQL_DATABASE}
psql (16.6 (Ubuntu 16.6-0ubuntu0.24.04.1), server 16.8 (Ubuntu 16.8-0ubuntu0.24.04.1))
Type "help" for help.
db0d0dbccd43ee43c0b1a480613567bd6a=> UPDATE "user" SET password='$2b$10$BUli0c.muyCW1ErNJc3jL.vFRFtFJWrT8/GcR4A.sUdCznaXiqFXa' WHERE username='admin';
UPDATE 1


Info: The command below resets the password of the user admin to: umami.