My Project have a ghost service instance running and i cannot get rid of that

Project ID: 66744e7e-7515-41c6-8b79-2490eef16323 Issue: Ghost service instance running but not visible in architect view There's a ghost service instance (ID: c16d6171-d73b-4d6f-b8a5-b75102fa92cc) of our data sync tool that's still running and appears in the logs, but it's not visible in the architect view of the project. We've attempted to remove all deployments of this tool, but this instance persists. It's interfering with our current deployment by connecting to our database and causing conflicts. The service is a Python application running from a Docker container. The relevant part of our Dockerfile is: RUN python -m venv /opt/venv && \ . /opt/venv/bin/activate && \ pip install --upgrade pip && \ pip install -r requirements.txt COPY . . ENV VIRTUAL_ENV=/opt/venv ENV PATH="$VIRTUAL_ENV/bin:$PATH" CMD ["python", "-m", "datasync"] Please help us identify and terminate this ghost instance, ensuring it's completely removed from our project and no longer connecting to our database.
14 Replies
Percy
Percy2mo ago
Project ID: 66744e7e-7515-41c6-8b79-2490eef16323,c16d6171-d73b-4d6f-b8a5-b75102fa92cc
AkaKitsune
AkaKitsuneOP2mo ago
Never mind, i just remove the whole project and do another deploy look like the instance is still running even i delete the whole project now i dont know where is it now Can anyone help me look into this isuse, this create a lot of trouble for me as i cannot run my new version of application.
Brody
Brody2mo ago
The current project is deleted, please provide some evidence that this is still running specifically on Railway
AkaKitsune
AkaKitsuneOP2mo ago
Hi Brody, before i remove the project, in the log view, there is 1 instance of data-sync alway running, and it's dont have any name, i forgot to take the screenshot of that i thought if i delete the whole project, that service instance will got deleted as well but when i activate the tool again inside database, it show there is still an instance running is there anyway you can check in the background and see if there is any service runnnig i believe the id of that service is c16d6171-d73b-4d6f-b8a5-b75102fa92cc i forgot to take the screenshot of the log if i give you the screenshot of current active connection to my database, can you check it by the IP?
Brody
Brody2mo ago
I'm sorry to say but I would need some kind indication from you to clearly show that it's still running, please understand because for all I know you could be running it locally or on another cloud
AkaKitsune
AkaKitsuneOP2mo ago
sure i understand railway is the only platform i deploy the tool on cloud and i dont have any local instance running if i cannot delete that instance then i will need to update all of my db path and variable to disconnect that instance from connect to my database
Brody
Brody2mo ago
unfortunately that would not allow me to justify searching for running instances
AkaKitsune
AkaKitsuneOP2mo ago
which is gonna be the last method i want to do sure is there anyway i can view all instance running under my account? i try api but cannot find it
Brody
Brody2mo ago
i would recommend going through that method, deleting your service makes the search on my side 10x harder.
AkaKitsune
AkaKitsuneOP2mo ago
yeah, i know i fk up when i realize it still runing on the background
Brody
Brody2mo ago
is all you need to do is to disconnect the running service from the database?
AkaKitsune
AkaKitsuneOP2mo ago
idealy is stop the instane, if can't then i need to disconnect it from database worst case i will need to clone the db and update the db link to other connect service but yeah if you can't do it on your side, i will go with that way'
Brody
Brody2mo ago
just delete the TCP proxy, add it back, and then redeploy. that will sever any connections and prevent further connections from wherever your app is running
AkaKitsune
AkaKitsuneOP2mo ago
okay thanks Brody
Want results from more Discord servers?
Add your server