#crashed deployment
120 messages · Page 1 of 1 (latest)
please stop opening duplicate threads, you already have two threads open
please stop spamming threads
^
send the database's deploy logs https://bookmarklets.up.railway.app/log-downloader/
Ok wait sir
can i send you project id?
i dont work for railway so a project id doesnt help me, please send me the logs please
sir i dont know how to send db logs
follow the 3 steps on that site and then send the resulting file to me here on discord
sir why project did not show?
you're trying to create a new project
yes
open your existing project from the dashboard, you are also not logged in
please send the logs with the bookmarklet
sir i really dont understand how to send hrough bookmarklet?
please follow the 3 steps
the link with the arrow pointing to it
you have any sacreenshot or somrthing ?
follow the 3 simple steps please
sir i send you deploy log through message?
that's a html file, why did you send that?
then what i send yiu?
send me the logs of the crashed service
/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
that's not using the bookmarklet but alright
did you try deploying code into the mysql service
no
is there any data on in the database that you care about
sir i use railway sql into my main app
is there any data on in the database that you care about
please answer my question
Sir in database many important things available
yes you do have important data in that crashed database?
i have correct db not crashed db
please answer the question
then delete it and create a new one
delete the database from your project
delete done
show me please
delete the volume too
deploy a new database
there you go, database that isn't crashed
sir when i upload website then its crashed
don't up into the database
you linked to the database, you need to link to the nodejs service
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...
now this error
you need to use the correct database credentials
i use correct db creditional
sir why project not show i create new one but it did not show more
if you used the correct database credentials it would work 🤣
you are trying to create a new project, go back to the dashboard and open your already existing project
yes i want to create new project
what was wrong with the project you where just using?
again same issue
okay why are you showing me that?
i show you every thing is ok
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...
is your pool code correct? please make sure you are following the documentation for that client
pool code or port code?
the mysql create pool code, it's likely incorrect, please reference it's documentation for correct usage
how to create pool code
please reference the mysql client's documentation for correct usage
please reference the mysql client's documentation for correct usage, you can likely find that via npm
Sir already created pool in database
at this point you just have me repeating myself
I'm sorry but I won't be able to assist further
See pic
please no more incredibly blurry phone pictures of your monitor
^
I'm sorry but I won't be able to assist further
Sir listen to me
I will check again please wait
Please 🙏
you haven't been listening to me though
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 ????