umami deployment fails since migration of railway
Anonymous
TRIALOP

2 years ago

Hi there,

I hope you can help me. I am not too well with backend (database, docker, etc) programming, so please bear with me.

Last year I successfully installed Umami in my Railway following a tutorial (I think it was even from Umami).

For that I forked the Umami Github repo and then added that to Railway. All worked perfectly fine until recently where I had to migrate Railway. There was the email that forced users to do so.

Now I always get the deployment error:

"Deployment Failed during build process"

Part of the Error log is this

53 Replies

Anonymous
TRIALOP

2 years ago

Project ID: f69ed491-9de6-4489-bd1f-1e0b106b6c4f


Anonymous
TRIALOP

2 years ago

here is the complete log:

1215302425183911986


brody
EMPLOYEE

2 years ago

getting you up to date would be a very involved process and would honestly be quite challenging to work through over text with someone who is not well versed in this kind of thing, so instead, if you want to add me to your project I would be happy to do my best to get you up and running again.


Anonymous
TRIALOP

2 years ago

amazing. Thanks for the offer. How could I do that, to add you there?


brody
EMPLOYEE

2 years ago

you would want to add me as a project member with edit permissions, my email is brodyover@gmail.com


Anonymous
TRIALOP

2 years ago

thanks a lot. Will do in the morning if that’s okay 🙏


brody
EMPLOYEE

2 years ago

good with me


brody
EMPLOYEE

2 years ago

.


brody
EMPLOYEE

2 years ago

just checking back in, did you still need help on this?


Anonymous
TRIALOP

2 years ago

Hi Brody, thanks for checking back. I will try to set it up from scratch first now, instead of attempting to fix the broken setup. I started to hesitate to invite other users into my account, nothing personal, just because I am not too versatile with how railway works.


brody
EMPLOYEE

2 years ago

fair enough, keep in mind deploying from scratch will start you off with a brand new umami install without any of your domains or analytics


Anonymous
TRIALOP

2 years ago

Thanks. I am trying to add it in my same environment, where I got my postgres database, thought i can couple that to the new deployment.


brody
EMPLOYEE

2 years ago

that could further complicate things


Anonymous
TRIALOP

2 years ago

yeah, I already said goodbye to my former analytics. This railway-umami-github setup is kinda sketchy and unstable, I find. there are no good tutorials out there and the guide from the umami page changes frequently


brody
EMPLOYEE

2 years ago

i agree, thats why i own the template now, so that it can deploy from an image


Anonymous
TRIALOP

2 years ago

which template?


brody
EMPLOYEE

2 years ago

umami


Anonymous
TRIALOP

2 years ago

ah


Anonymous
TRIALOP

2 years ago

currently I am getting an always crashing deployment, even in a fresh install from the Github fork in a new project … starting to think about ditching umami. it worked so well the first time i set everything up.


brody
EMPLOYEE

2 years ago

my offer to fix that is still open


brody
EMPLOYEE

2 years ago

you would want to deploy the template though, not your github repo


Anonymous
TRIALOP

2 years ago

I see. Thanks for your kind offer, I really appreciate it. But I am not so comfortable with inviting people I don’t know into it.
the github repo is a fork from umami, and the guide from umami claims that this is a way (even the "easiest".)


brody
EMPLOYEE

2 years ago

it is far from easiest, that is very outdated, please deploy the umami template, you can throw away the github repo


brody
EMPLOYEE

2 years ago

when I say umami template, do you know what that means?


Anonymous
TRIALOP

2 years ago

no, don’t know which template you refer to exactly 🙂


brody
EMPLOYEE

2 years ago

oh, then you really are trying to deploy umami the hard way, just deploy this


Anonymous
TRIALOP

2 years ago

Oh, will try it out now and dig through the process.

Thank you so much for all your help and also for staying with me here (I am trying to fix Umami in my after hours between work and sleep, so my responding is a little delayed). Much appreciate your time!


brody
EMPLOYEE

2 years ago

happy to help


brody
EMPLOYEE

2 years ago

there shouldn't be much of a process with that template, just a few clicks and you will have a fully working umami service!


Anonymous
TRIALOP

2 years ago

true, looks like it. I was reading your instructions, where it says: "log in and change the default password", where would that be?


Anonymous
TRIALOP

2 years ago

when i open the public networking url, it says "Nothing here yet"
umami-production-….up.railway.app


Anonymous
TRIALOP

2 years ago

oh wait


Anonymous
TRIALOP

2 years ago

now I get the login …


Anonymous
TRIALOP

2 years ago

for the postgres database, the following variables are yet unset:

PGHOST
PGPORT

is that supposed to be like that?


brody
EMPLOYEE

2 years ago

yes it's supposed to be like that, please read the templates overview


brody
EMPLOYEE

2 years ago

reason being, railways proxy takes about a minute to register the routes for newly added domains


Anonymous
TRIALOP

2 years ago

yeah, I read it. there is nothing stated about these 2 🙂


Anonymous
TRIALOP

2 years ago

I see. I’ll check later then, if the data arrives. so far generally it looks good 🙂 clean and tidy Umami interface

One more question, not needing the full description, just curios if it is possible at all to merge the data from my former postgres db into this one?


brody
EMPLOYEE

2 years ago

that's is true, but the notes state that the database is not publicly exposed, so that means the variables used to connect to the database publicly are going of course be empty


brody
EMPLOYEE

2 years ago

yeah very possible, you would need to dump the old database and restore it to your new database


Anonymous
TRIALOP

2 years ago

I see, makes sense. (didn’t know what the vars are for, now I know. thanks a lot)


Anonymous
TRIALOP

2 years ago

Many many thanks, Brody!


brody
EMPLOYEE

2 years ago

happy to help


Anonymous
TRIALOP

2 years ago

Much much appreciated! 🫶

will report back how it goes, expecting to wait a little until I can see myself as the one live visitor in umami 😄


brody
EMPLOYEE

2 years ago

sounds good!


Anonymous
TRIALOP

2 years ago

how long does it usually take until I can see some action in Umami, when I am clicking around on the specified domain, after having deployed from your template?


Anonymous
TRIALOP

2 years ago

when I check the data for the database, it still shows this

1217516181758415000


Anonymous
TRIALOP

2 years ago

but they are all configured already from your template


brody
EMPLOYEE

2 years ago

they are not configured by the template, please do not use the data tab


brody
EMPLOYEE

2 years ago

are you sure your frontend is sending analytics to the new umami deployment?


Anonymous
TRIALOP

2 years ago

ah, I think I oversaw that bit. oh dear. sorry for my sillyness


Anonymous
TRIALOP

2 years ago

That was it. Updated the tracking code and now it works again. Thank you so so much for your help and this nice template.

Will dig into dumping my old db and trying to get that into the new one soon. I really appreciate your help, Brody! Have a nice weekend.


brody
EMPLOYEE

2 years ago

happy to help, have a nice weekend as well!


Loading...