#crashed deployment

120 messages · Page 1 of 1 (latest)

silver joltBOT
#

Project ID: N/A

toxic juniper
#

please stop opening duplicate threads, you already have two threads open

golden mural
#

No open

#

I delete

#

Because yesterday I am busy that's why I open again today

toxic juniper
#

please stop spamming threads

golden mural
#

Please tell me what I do?

#

That it will solve?

toxic juniper
golden mural
#

Now tell me what I do?

toxic juniper
golden mural
#

Ok wait sir

toxic juniper
#

i dont work for railway so a project id doesnt help me, please send me the logs please

golden mural
toxic juniper
#

follow the 3 steps on that site and then send the resulting file to me here on discord

golden mural
#

sir why project did not show?

toxic juniper
#

you're trying to create a new project

golden mural
#

yes

toxic juniper
#

open your existing project from the dashboard, you are also not logged in

golden mural
#

ok

toxic juniper
#

please send the logs with the bookmarklet

golden mural
#

sir i really dont understand how to send hrough bookmarklet?

toxic juniper
#

please follow the 3 steps

golden mural
#

which link i want to drag?

#

i dont know theses 3 steps

toxic juniper
#

the link with the arrow pointing to it

golden mural
#

you have any sacreenshot or somrthing ?

toxic juniper
#

follow the 3 simple steps please

golden mural
#

sir i send you deploy log through message?

toxic juniper
#

yes send the file here

#

that's a zip file, why did you send that?

golden mural
toxic juniper
#

that's a html file, why did you send that?

golden mural
#

then what i send yiu?

toxic juniper
#

send me the logs of the crashed service

golden mural
#

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

/bin/bash: line 1: docker-entrypoint.sh: command not found

toxic juniper
#

that's not using the bookmarklet but alright

golden mural
toxic juniper
#

did you try deploying code into the mysql service

golden mural
#

no

toxic juniper
#

is there any data on in the database that you care about

golden mural
#

sir i use railway sql into my main app

toxic juniper
#

is there any data on in the database that you care about

golden mural
toxic juniper
#

please answer my question

golden mural
toxic juniper
#

yes you do have important data in that crashed database?

golden mural
#

i have correct db not crashed db

toxic juniper
#

please answer the question

toxic juniper
#

then delete it and create a new one

golden mural
#

Ok

#

can i need to connect db?

toxic juniper
#

delete the database from your project

golden mural
#

delete done

toxic juniper
#

show me please

golden mural
toxic juniper
#

delete the volume too

golden mural
toxic juniper
#

deploy a new database

golden mural
toxic juniper
#

there you go, database that isn't crashed

golden mural
#

sir when i upload website then its crashed

toxic juniper
#

don't up into the database

#

you linked to the database, you need to link to the nodejs service

golden mural
#

now upload please wait

#

/app/node_modules/mysql2/promise.js:341

const localErr = new Error();

^

Error: connect ECONNREFUSED ::1:3306

at PromisePool.query (/app/node_modules/mysql2/promise.js:341:22)

at _callee$ (/app/src/controllers/homeController.js:8:41)

at tryCatch (/app/src/controllers/homeController.js:15:2404)

at Generator._invoke (/app/src/controllers/homeController.js:15:1964)

at Generator.next (/app/src/controllers/homeController.js:15:3255)

at asyncGeneratorStep (/app/src/controllers/homeController.js:29:103)

at _next (/app/src/controllers/homeController.js:31:194)

at /app/src/controllers/homeController.js:31:364

at new Promise (<anonymous>)

at /app/src/controllers/homeController.js:31:97 {

code: 'ECONNREFUSED',

errno: -111,

sql: undefined,

sqlState: undefined,

sqlMessage: undefined

}

Node.js v18.18.2

[nodemon] app crashed - waiting for file changes before starting...

toxic juniper
#

you need to use the correct database credentials

golden mural
#

i use correct db creditional

#

sir why project not show i create new one but it did not show more

toxic juniper
#

if you used the correct database credentials it would work 🤣

golden mural
#

port wrong

#

sorry

#

now i check again

#

why project not show??

toxic juniper
#

you are trying to create a new project, go back to the dashboard and open your already existing project

golden mural
#

yes i want to create new project

toxic juniper
#

what was wrong with the project you where just using?

golden mural
#

again same issue

toxic juniper
#

you are uploading your code into the mysql service

#

do not do that

golden mural
#

node js

toxic juniper
#

okay why are you showing me that?

golden mural
#

i show you every thing is ok

toxic juniper
#

okay so what's the issue?

golden mural
# toxic juniper okay so what's the issue?

/app/node_modules/mysql2/promise.js:341

const localErr = new Error();

^

Error: connect ECONNREFUSED ::1:3306

at PromisePool.query (/app/node_modules/mysql2/promise.js:341:22)

at _callee$ (/app/src/controllers/homeController.js:8:41)

at tryCatch (/app/src/controllers/homeController.js:15:2404)

at Generator._invoke (/app/src/controllers/homeController.js:15:1964)

at Generator.next (/app/src/controllers/homeController.js:15:3255)

at asyncGeneratorStep (/app/src/controllers/homeController.js:29:103)

at _next (/app/src/controllers/homeController.js:31:194)

at /app/src/controllers/homeController.js:31:364

at new Promise (<anonymous>)

at /app/src/controllers/homeController.js:31:97 {

code: 'ECONNREFUSED',

errno: -111,

sql: undefined,

sqlState: undefined,

sqlMessage: undefined

}

Node.js v18.18.2

[nodemon] app crashed - waiting for file changes before starting...

toxic juniper
#

is your pool code correct? please make sure you are following the documentation for that client

golden mural
#

pool code or port code?

toxic juniper
#

the mysql create pool code, it's likely incorrect, please reference it's documentation for correct usage

golden mural
#

how to create pool code

toxic juniper
#

please reference the mysql client's documentation for correct usage

golden mural
#

how to create pool code any tutorial?

#

please

toxic juniper
#

please reference the mysql client's documentation for correct usage, you can likely find that via npm

golden mural
#

Sir already created pool in database

toxic juniper
#

at this point you just have me repeating myself

#

I'm sorry but I won't be able to assist further

golden mural
toxic juniper
#

please no more incredibly blurry phone pictures of your monitor

golden mural
toxic juniper
#

I'm sorry but I won't be able to assist further

golden mural
#

I will check again please wait

#

Please 🙏

toxic juniper
#

you haven't been listening to me though

golden mural
#

Now I check please wair

#

Don't Leave me alone

#

This is my 1st project on railway that's why I face difficulty

#

?

#

I send you 100$ please tell me how to solve it?

#

Sir I sent you my project you see my file is correct or no?

#

Now ok.?

#

I have node JS project of file

#

@toxic juniper ????