umami deployment fails since migration of railway

AnonymousTRIAL

a year 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

0 Replies

AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year ago

here is the complete log:

1215302425183911986


a year 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.


AnonymousTRIAL

a year ago

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


a year ago

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


AnonymousTRIAL

a year ago

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


a year ago

good with me


a year ago

.


a year ago

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


AnonymousTRIAL

a year 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.


a year 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


AnonymousTRIAL

a year 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.


a year ago

that could further complicate things


AnonymousTRIAL

a year 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


a year ago

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


AnonymousTRIAL

a year ago

which template?


a year ago

umami


AnonymousTRIAL

a year ago

ah


AnonymousTRIAL

a year 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.


a year ago

my offer to fix that is still open


a year ago

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


AnonymousTRIAL

a year 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".)


a year ago

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


a year ago

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


AnonymousTRIAL

a year ago

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


a year ago

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


AnonymousTRIAL

a year 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!


a year ago

happy to help


a year 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!


AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year ago

oh wait


AnonymousTRIAL

a year ago

now I get the login …


AnonymousTRIAL

a year ago

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

PGHOST
PGPORT

is that supposed to be like that?


a year ago

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


a year ago

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


AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year 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?


a year 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


a year ago

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


AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year ago

Many many thanks, Brody!


a year ago

happy to help


AnonymousTRIAL

a year 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 😄


a year ago

sounds good!


AnonymousTRIAL

a year 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?


AnonymousTRIAL

a year ago

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

1217516181758415000


AnonymousTRIAL

a year ago

but they are all configured already from your template


a year ago

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


a year ago

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


AnonymousTRIAL

a year ago

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


AnonymousTRIAL

a year 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.


a year ago

happy to help, have a nice weekend as well!


umami deployment fails since migration of railway - Railway Help Station