Umami App¶
About¶
Umami is a simple, fast, privacy-focused alternative to Google Analytics.
- Questions? Ask in the Cloudron Forum - Umami
- Umami Website
- Umami docs
- Umami issue tracker
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.
Replace the username
The command below resets the password of admin
to umami
.
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
Custom config¶
Custom configuration can be added to /app/data/env.sh
using the File manager.
Be sure to restart the app after adding any custom configuration.
Custom endpoint¶
To set a custom script name edit /app/data/env.sh
using the File manager:
export TRACKER_SCRIPT_NAME=clickcounter
To set a custom API endpoint:
export COLLECT_API_ENDPOINT=/api/counter
Be sure to restart the app after making any changes.