Deployment error

Issues information
deployment error

  • OS:
  • databases:
  • Programming language and version:
    nodejs version 14 above
  • Link to your project on Github/Gitlab:

Your issue
contineousy i am getting deployment error while deploying my project
deployment logs:

deployment error application etestzone : error => EngineError { cause: User(“Your application has failed to start. Ensure you can run it without issues with qovery run and check its logs from the web interface or the CLI with qovery log. This issue often occurs due to ports misconfiguration. Make sure you exposed the correct port (using EXPOSE statement in Dockerfile or via Qovery configuration).”), scope: Application(“z15e65839”, “etestzone”), execution_id: “852ee9ce-4d96-41c1-9d15-a53c7e67389c-17-1626198250”, message: Some(“Application etestzone (z15e65839) has failed to start ⤬”) }
i even tried by using docker file but i am geeting the same error,i already mention the port 3000 in project settings
Describe here your issue

Dockerfile content (if any)

specify here your dockerfile content

Hi. I would like to see your GitHub repo along with your Dockerfile so I can see what’s wrong.

First step would be trying running it with docker locally and making sure everything is working.

github repo

content of dockerfile:
///////////////////////./////////////////////////////////////./////////////////////////////////////////////
FROM node:13-alpine

RUN mkdir -p /usr/src/app

WORKDIR /usr/src/app

COPY . .

RUN npm install

EXPOSE 3000

CMD node ./bin/www

//////////////////////////////////////////////////////////////////////////////////////////////

content of package.json:

///////////////////////////////////////////////////

{

"name": "etestzone",

"version": "1.0.0",

"description": "",

"main": "app.js",

"scripts": {

    "start": "node app.js"

},

"author": "sagar seth",

"license": "ISC",

"engines": {

    "node": "13.12.0"

},

"dependencies": {

    "body-parser": "^1.19.0",

    "cookie-parser": "^1.4.5",

    "crypto": "^1.0.1",

    "dotenv": "^8.2.0",

    "ejs": "^3.1.3",

    "express": "^4.17.1",

    "express-fileupload": "^1.2.0",

    "express-session": "^1.17.1",

    "formidable": "^1.2.2",

    "googleapis": "^73.0.0",

    "gridfs-stream": "^1.1.1",

    "jsonwebtoken": "^8.5.1",

    "memorystore": "^1.6.2",

    "method-override": "^3.0.0",

    "mongoose": "^5.12.13",

    "mongoose-findorcreate": "^3.0.0",

    "mongoose-unique-validator": "^2.0.3",

    "multer": "^1.4.2",

    "multer-gridfs-storage": "^4.2.0",

    "nodemailer": "^6.4.16",

    "passport": "^0.4.1",

    "passport-local-mongoose": "^6.0.1",

    "path": "^0.12.7",

    "swup": "^2.0.14"

}

}

//////////////////////////////////////////////////////

I used nodejs for backend so previously i tried without dockerfile but that time also i got the same error

I deployed this application using github not CMD(command prompt) so not know to to run this application locally using qovery.but it is running pefect on my localhost port 3000

hello sir.
please help me to deploy my application

Can you run the project locally with docker or qovery run?

no sir, actually i don,t want to use docker file,as it is not neccessary in nodejs web application. and qovery run gives me an error “Run Docker or install it on your system”
@Aggis15

@Aggis15 sir please help me to deploy I am waiting from last 2 weeks @Pierre_Mavro
@pjeziorowski

Can you run your image locally with docker and tell me if there are any errors? I can’t help you unless I know the exact error you’re facing. Thanks.

i am recieving this error
=>

deployment error application etestzone : error => EngineError { cause: User(“Your application has failed to start. Ensure you can run it without issues with qovery run and check its logs from the web interface or the CLI with qovery log. This issue often occurs due to ports misconfiguration. Make sure you exposed the correct port (using EXPOSE statement in Dockerfile or via Qovery configuration).”), scope: Application(“z15e65839”, “etestzone”), execution_id: “852ee9ce-4d96-41c1-9d15-a53c7e67389c-24-1627058864”, message: Some(“Application etestzone (z15e65839) has failed to start ⤬”) }

Once again, I am asking you to run it locally and tell me what the error is. Qovery gives a really generic error so that you can troubleshoot it yourself. Unless I know the specific error, I can’t do much on my side.

1 Like