R
Railwaymark2mark

umami deployment fails since migration of railway

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
P
Percy45d ago
Project ID: f69ed491-9de6-4489-bd1f-1e0b106b6c4f
M
mark2mark45d ago
Project ID: f69ed491-9de6-4489-bd1f-1e0b106b6c4f
M
mark2mark45d ago
here is the complete log:
B
Brody45d 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.
M
mark2mark44d ago
amazing. Thanks for the offer. How could I do that, to add you there?
B
Brody44d ago
you would want to add me as a project member with edit permissions, my email is brodyover@gmail.com
M
mark2mark44d ago
thanks a lot. Will do in the morning if that’s okay 🙏
B
Brody41d ago
good with me just checking back in, did you still need help on this?
M
mark2mark39d 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.
B
Brody39d 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
M
mark2mark39d 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.
B
Brody39d ago
that could further complicate things
M
mark2mark39d 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
B
Brody39d ago
i agree, thats why i own the template now, so that it can deploy from an image
M
mark2mark39d ago
which template?
B
Brody39d ago
umami
M
mark2mark39d ago
ah 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.
B
Brody39d ago
my offer to fix that is still open you would want to deploy the template though, not your github repo
M
mark2mark39d 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".)
B
Brody39d ago
it is far from easiest, that is very outdated, please deploy the umami template, you can throw away the github repo when I say umami template, do you know what that means?
M
mark2mark39d ago
no, don’t know which template you refer to exactly 🙂
B
Brody39d ago
oh, then you really are trying to deploy umami the hard way, just deploy this https://railway.app/template/umami-analytics
M
mark2mark38d 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!
B
Brody38d ago
happy to help there shouldn't be much of a process with that template, just a few clicks and you will have a fully working umami service!
M
mark2mark38d ago
true, looks like it. I was reading your instructions, where it says: "log in and change the default password", where would that be? when i open the public networking url, it says "Nothing here yet" umami-production-....up.railway.app oh wait now I get the login ... for the postgres database, the following variables are yet unset: PGHOST PGPORT is that supposed to be like that?
B
Brody38d ago
yes it's supposed to be like that, please read the templates overview reason being, railways proxy takes about a minute to register the routes for newly added domains
M
mark2mark38d ago
yeah, I read it. there is nothing stated about these 2 🙂 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?
B
Brody38d 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 yeah very possible, you would need to dump the old database and restore it to your new database
M
mark2mark38d ago
I see, makes sense. (didn’t know what the vars are for, now I know. thanks a lot) Many many thanks, Brody!
B
Brody38d ago
happy to help
M
mark2mark38d 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 😄
B
Brody38d ago
sounds good!
M
mark2mark38d 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?
M
mark2mark38d ago
when I check the data for the database, it still shows this
No description
M
mark2mark38d ago
but they are all configured already from your template
B
Brody38d ago
they are not configured by the template, please do not use the data tab are you sure your frontend is sending analytics to the new umami deployment?
M
mark2mark36d ago
ah, I think I oversaw that bit. oh dear. sorry for my sillyness 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.
B
Brody36d ago
happy to help, have a nice weekend as well!
Want results from more Discord servers?
Add your server
More Posts
Is Go 1.22 supported yet?I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matIs Go 1.22 supported yet?I remember getting deployment issues when trying to support Go 1.22 in the past. I assume it's a matmy plan is 5$My plan is 5$ why I pay now 51$. ?? Please deactivate my account I don't need this server in which eFile too large on Gitlab CI/CDHi, i'm trying to add a CI/CD to my project but the deploy part always fail saying ```File too largeCan't find my repo on railwayIt was recently migrated to be a organization repo that I have admin access to. How do I deploy baseDeploying to Railway from Gitlab CI/CDwhere to get project token from project serviceApp Crashed - Resource temporarily unavailableMy backend nodejs app crashed multiple times today. could not find the root cause. this has not hapDatabase server does not connectGood afternoon, I have already made all the connections with the postgreSQL database server but whenDeploy logs stopped appearing after a manual redeployHi, I have a project running several services. Deploy logs for one of the services randomly stopped ENOTFOUND redis.railway.internalFirst time using railway. I'm on team plan which says it supports private networking. I have a simplError: libuuid.so.1: cannot open shared object file: No such file or directoryGetting this error with puppeteer on Railway. ``` node:internal/modules/cjs/loader:1239 return pro"Error: connection already closed."I keep getting this error message when I attempt to update a user in my PostgreSQL database. I do noUnable to update Variables in App. (First Update after Migration)Hey Guys, my App tries to connect to the old containers of my postgres and redis. I checked the variImage Storagehello everyone, can I use Postgresql to store the images which my users upload in django-project?Setup Cloudflare Proxy1. Clicked "custom domain". 2. Railway pops up a CNAME for me to add to Cloudflare. 3. Add CNAME recDirectus: impossible to update or to run the old versionProject ID : 9be34f5b-fa35-49c1-83c5-f0fbd245db9b Template : https://github.com/kadumedim/directus-sCSV files in storage/app/data/csv not accessible?Hello, I've setup a laravel api on railway. I have a seeder that tries to load csv files from the I have not touched my project in several weeks but at midnight railway reverted to a very old versioI'm very confused it looks like my project was deployed last night, although I have not touched it iI can't add DNS from GoDaddy to RailwayThey recommend me to change the server name...Unable to connect database after payentHello, i just pay for the month, now i'm unable to connect to the database. please help