• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Error starting web application. nextJs Installaton Error.

Gagandeep

New Pleskian
Server operating system version
Ubuntu 20.04.1 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.60
After setup NextJs on my plesk server. I'm facing this issue on webpage.

1714469900236.png
Here I'm sharing the Subprocess as well

1714470000158.png
1714470090585.png
 
You have NODE_ENV set to "dev". Per nextjs, that value can only be 1 of 3 things:
  • production: When your application is built with next build
  • development: When your application is run with next dev
  • test: When your application is being tested (e.g. jest)
 
I have set it to NODE_ENV: production. Still I'm facing 403 Error. I'm not quite sure what permission stopping it to run.
1714492793596.png
1714492827129.png
 
Maybe check fail2ban or Web Application Firewall "WAF" to see if they are blocking. Also, it seems odd that a document root location would start with a "." as shown in your screenshot....so check to make sure your public and app roots as seen by Plesk are correct. I could be wrong on that...but that looked odd to me.
 
Back
Top