i can't upload image to my Ubuntu server when i use PM2

February 15, 2017 107 views
Deployment Ubuntu

i deployed my project following this link :
everything is ok , when i start my app with :
node server.js
i can upload image to server
but when i use pm2 :
pm2 start server.js
i cant upload image to server ..
i tried to see logs : pm2 doesn't restart app when i post upload request
any help please ???

Be the first one to answer this question.