Umami

a year ago

Description: An open source, privacy-focused alternative to Google Analytics

Category: Analytics

URL: https://railway.app/template/umami-analytics

16 Replies

a year ago

Notes:

  • Your Umami deployment will create a default administrator account with the username admin and the password umami. The first thing you will want to do is login and change your password.

  • Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default, if you want to enable access from outside of the private network you can go to the databases settings to enable TCP proxying and enter the internal port (5432) the TCP proxy can be again removed at any point to close off external access. A redeploy is needed after adding the TCP proxy.

  • Upon changing the Railway provided domain or adding a custom domain, a redeploy of the umami service is needed so that it can refresh the domain used in redirects and logins.


matteogauthierHOBBY

a year ago

Hey ! Does this template support App Sleeping ?


a year ago

that's a good question, but unfortunately I'm not sure, I haven't tried it myself


a year ago

Is there any way to reset the admin password if I've forgotten it?


a year ago

Not sure, I'll do some poking around and see what I can find out, no promises though.


a year ago

Turns out to be quite easy -

  • connect to your database with something like dbgate (see notes in the first comment)

  • edit the password column in the user table back to the original value of $2b$10$BUli0c.muyCW1ErNJc3jL.vFRFtFJWrT8/GcR4A.sUdCznaXiqFXa

  • save the changes

This will set the admin password back to the default of umami


sahildaveHOBBY

a year ago

There are frequent memory leaks.
It could be an umami problem, but is anyone facing something similar?
https://github.com/umami-software/umami/discussions/1167

Restarting solves it for a bit but it is unpredictable

Attachments


a year ago

I have run umami myself for the last few days, I am running the most recent version of the template, and my memory is stable.


sahildaveHOBBY

a year ago

Thanks for the reply, Brody :)
I think I am also on the latest version (screenshot). And I just created the project using the template with no changes IIRC. Is there something that I can do to flush anything?

Attachments


sahildaveHOBBY

a year ago

It shot up again without doing anything :(

Attachments


a year ago

Sure that's a good chunk of memory, but some apps simply use more memory than others, I don't see anything wrong with that alone.


sahildaveHOBBY

a year ago

I am only concerned because it used to sit at 75 MB at one point in time but nowadays it just keeps on increasing until I restart it. And I have not changed it.

If there's nothing to be done, then 🤷.

Thanks for your help, brody :)


fabianrichterHOBBY

10 months ago

Hey ! Does this template support App Sleeping ?

For anyone interested: I tested app sleeping. It does work so far, but it can lead to a blocking beavior on the website(s) where it is used when performing a cold boot. When calling a page it will request the tracking script from umami. This response from the umami server takes some seconds so I would not recommend that.


8 months ago

I'm also seeing really high memory usage compared to other resources. Is there anything that can be done to reduce to minimize use (and therefore cost)?

Attachments


buildrealoneHOBBY

6 months ago

For Postgres Data UI,

Required Variables

Ensure that the following variables are configured:

  • PGHOST

  • PGPORT

  • PGUSER

  • PGPASSWORD

  • PGDATABASE

  • DATABASE_URL

---

What values should I set for these variables? Thank you!


6 months ago

You would not want to modify the Postgres service variables, please refrain from doing that as we can help you restore data if you lose access.

If you need to access the contents of the database please deploy the dbgate template into your project.