// DO NOT MODIFY THIS FILE. THIS FILE IS RECREATED WITH EVERY DEPLOYMENT.
module.exports = {
name: "codotto.com",
script: "index.js",
args: "",
log_type: "json",
cwd: "/home/cleavr/codotto.com/artifact",
// Note: We detected that this web app is running on a server with multiple CPUs and hence we are
// setting *instances* to "max" and *exec_mode* to "cluster_mode" for better performance.
instances : 1, // change the value to "1" if your server has only 1 CPU
// exec_mode : "cluster_mode", // remove this line if your server has only 1 CPU
env: {
"PORT": 7145,
"CI": 1,
"NUXT_TELEMETRY_DISABLED": 1
}
}
I have tried re-deploying things several times but no luck. The server takes a long time in Installing npm packages but in the end I keep getting 502. Any ideas?
We believe the issue was due to PM2 not updating correctly. Are you still encountering the same problem? We were unable to replicate the issue on our end and we would appreciate further information on how you encountered it.
If you need any assistance or have any other queries, please do not hesitate to reach out.
As described before, the issue happened out of nowhere. We haven’t deployed anything new for 2 weeks. No configurations were changed - in fact, I hadn’t even logged in to cleavr in two weeks prior to the issue happening.
As you can understand this is an issue that happened in our production system and I haven’t got any email notifying me of the issue. This was found by one of our dearest customer and he notified us of the issue.
In case any other issue related to this happens again (without us doing any re-deployment or touching the configuration in Cleavr), we will have to cancel our account as we are growing and we can’t afford to have our production system going down like that.
I hope you can understand. In case I can help you further, please, let me know. I would love together to find solutions to our problems and avoid this situation from happening again.