a month ago
I have migrated my database from another platform. I have setup of project with webservice connected to GitHub and have my database in Railway. However, I am not getting this connection and deploy components working... I am not sure if my repository is not right or something in Railway isn't working. I tried to delete a webservice rebuild and the webservice seems to be hung. I created an new webservice connect to the database but it doesn't deploy.
I had some great advice from the community to move in this direction, and I believe it was the right direction. I just can't seem to avoid these snags that occur.
Can someone help me get this resolved? I feel I am so close but have this one annoying roadblock.
11 Replies
a month ago
Hi,
This looks like an application issue not a Railway issue so isn't really in the scope of what we support. That said I can see there is an error in your build logs - https://railway.com/project/59204e66-5706-49ae-9157-eb35b053312d/service/aaed2e65-d267-4151-8f36-865916c9be6e?environmentId=388ff078-cd18-49ee-8681-4717e3c626ac&id=c87d4287-833e-468f-8091-a6d87ec49e62#build -
Your deployment is failing due to a syntax error in server/index.ts. The build logs show:
✘ [ERROR] Unexpected end of file
server/index.ts:123:0This typically means there's a missing closing brace } or parenthesis ) somewhere in that file. To fix this:
Open server/index.ts and check around line 123
Look for any unclosed
{,(, or string literalsRun
pnpm run buildlocally to verify the fix before pushing
Once you fix the syntax error and push again, the deployment should succeed.
Status changed to Awaiting User Response Railway • 28 days ago
a month ago
I made the correction and ran the push command for Railway to initate the deploy/build... nothing happened so I tried deploying manually. I stiill get a message, "There was an error deploying from source."
Status changed to Awaiting Railway Response Railway • 28 days ago
a month ago
New response in "Web site not loading" thread
Alexander Ligons
It seems that the old service "lovely-integrity" I tried to delete is still being used. I see server logs in the service. I am wondering why can't I delete the service so that I can use the new service "transformation-builder." I believe this is the issue as to why I can not deploy the repository in the new service. It appears to be connected, but I believe it cannot connect because it is shared with the old service. Is this a good suspicion of the issue? Please respond ASAP. I am assuming that as soon as my app is working properly, I can test and launch it and upgrade to the $20 Pro plan.
a month ago
I am trying multiple ways to delete lovely-integrity and it will not clear from the dashboard. I have tried deleting through Replit using console commands and have trid multiple pathways in railway to delete the service but it is still there. Is this a bug? Can you delete the lovely-integrity or provide directions to deleting the service... the service has been disconected, the web domain was removed from the service but it still seems to be hung.
Status changed to Awaiting User Response Railway • 28 days ago
brody
Have you applied the change after deleting the service?
a month ago
I have tried multiple efforts... here's the latest that makes the most since and I asking for this request...
Subject: Stuck service won't delete - lovely-integrity
I have a stuck service that cannot be deleted. It shows "Service will be deleted" but never actually deletes. I've tried disconnecting GitHub, using the CLI, and multiple delete attempts.
Project name: triumphant-connection
Stuck service name: lovely-integrity
Please force delete this service so I can deploy to my new service (transformation-builder).
Status changed to Awaiting Railway Response Railway • 28 days ago
Status changed to Awaiting User Response Railway • 28 days ago
a month ago
I am not sure if I am following you correctly... I can try redeploying the old service... which is currently running... but will most likely crash... not sure how it would remove itself... if I try running the deploy in the new environment, I get a message about the source... not sure what you'd like me to do... although, I just did the two options I mentioned.
Status changed to Awaiting Railway Response Railway • 27 days ago
aligons-web
I am not sure if I am following you correctly... I can try redeploying the old service... which is currently running... but will most likely crash... not sure how it would remove itself... if I try running the deploy in the new environment, I get a message about the source... not sure what you'd like me to do... although, I just did the two options I mentioned.
a month ago
Thi is the mesasge when trying to deploy in the new environment... "There was an error deploying from source."
a month ago
Ok... I just notice the deploy in top section of the project... I see a buid automatically kicked off after the lovely-integrity service deleted.... hopefully this new service will not crash...
a month ago
It is working!!!!
Thank you!!!!
Status changed to Solved noahd • 27 days ago