Closed clemensmol closed 4 years ago
I found the solution. Plesk bugs when main folder and application folders are the same for Node apps. No errors are shown in the Panel but when I added a public folder it started to work.
@clemensmol What exactly did you do to fix this? I think I've just ran into the exact same problem.
Where are your files in relation to the web root, and what are your plesk settings for the node app (application root, document root, application startup file)?
Any updates? Think I've just run into this.
Sorry @Nahydrin, somehow I missed your question. Maybe it's helpful for @CaptainLazarus. I'm running a NextJS site with node 16.13.1
Document Root: /var/www/vhosts/domain/live/public Application Root: /var/www/vhosts/domain/live Application Startup File: server.js (this file must exist in /var/www/vhosts/domain/live)
The Document Root is for hosting static assets (images, robots.txt etc). The Application Root is where your NodeJS code exists. The Application Startup File points to a file inside the Application Root, usually the file running your (Express) server.
Installed the app, and followed directions on your site. Keep getting "Error starting web application" errors from Phusion Passenger.
Subprocess: Initialize language runtime — 0.1s Load or execute application — 89.9s