upgrading on plesk 18 from R5 to R6.1 issues
Added by James L about 22 hours ago
I have spent two full days attempting to upgrade Redmine on a Plesk-managed server,
and I am now completely blocked by Passenger and Nginx failures. I urgently need
Redmine operational again so I can install a DMS/DMC document management module.
At this point it feels as if I am going in circles — I fix one issue, it leads to
another, and eventually I end up back where I started.
Initially I tried resetting Plesk’s Ruby stack using rbenv and installing Passenger
manually. When that caused conflicts, I removed everything and switched back to the
standard Plesk-managed Passenger integration. Passenger now loads, but Redmine still
shows “0 applications detected”, even though the application root and permissions
appear correct.
Before I go further down the wrong path, I would very much appreciate guidance on the
correct approach for running Redmine 6.x under Plesk’s built-in Passenger. I am also
happy to compensate someone for direct assistance — this is time-sensitive because
I need the DMS/DMC module enabled.
If anyone has experienced similar behaviour (Passenger reporting 0 applications
even when configs look valid), any advice would be extremely helpful.
Below is a clean, structured summary of the exact issues.
============================================================
SYSTEM ENVIRONMENT
============================================================
• Ubuntu 22.04
• Plesk Obsidian 18.0.x
• Ruby 3.2.2 (Plesk-managed)
• Passenger 6.1.0 (Plesk-managed)
• Redmine 6.1
No manual Passenger installations remain — only the standard Plesk Ruby stack.
============================================================
PRIMARY ISSUES
============================================================
1) NGINX CANNOT START AND IS DISABLED BY PLESK
----------------------------------------------
Attempting to start nginx:
Not starting nginx as it is disabled in Plesk.
Run 'plesk sbin nginxmng -e' to enable nginx.
Trying to enable it:
plesk sbin nginxmng -e
Can not start proxy server
exit code [1]
Nginx refuses to start due to configuration errors.
2) FATAL NGINX CONFIG ERROR – DUPLICATE LOCATION BLOCK
------------------------------------------------------------
`nginx -t` reports:
nginx: [emerg] duplicate location "/" in
/var/www/vhosts/system/git.conqorde.com/conf/vhost_nginx.conf:1
nginx: configuration file /etc/nginx/nginx.conf test failed
This prevents:
• nginx startup
• Passenger activation
• Plesk repair tools
• httpdmng from rebuilding configs
3) PASSENGER IS NOT RUNNING AT ALL
------------------------------------------------------------
`passenger-status` returns:
ERROR: Phusion Passenger doesn't seem to be running.
This is almost certainly a consequence of nginx not starting.
4) PLESK RECONFIGURE AND REPAIR FAILS
------------------------------------------------------------
`plesk repair web` output:
httpdmng failed: Can not reload proxy server
Template_Exception: nginx test failed due to duplicate location "/"
Plesk cannot rebuild nginx configs while the error exists.
============================================================
WHAT I NEED HELP WITH
============================================================
1. The safest way to repair or regenerate the corrupted nginx config
for the affected domain (git.conqorde.com) without breaking others.
2. The correct procedure for re-enabling Passenger in Plesk
once nginx is working again.
3. Confirmation of the correct Plesk-compatible nginx/Passenger configuration
for running Redmine 6.x with Ruby 3.2.2.
I am happy to pay for direct help if needed — I simply need Redmine upgraded
and stable so I can install the required DMS/DMC module.
Thank you very much in advance for any guidance.