• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Problems with Ruby Web Applications

M

macuna

Guest
Hi guys, Im recently updated my Plesk version to 8.2 because this version suport Ruby on Rails, fcgid,etc, etc.

I followed step by step the SWSoft documentation in the next link http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-administrators-guide/37435.htm.

But no working for me, in my web application I see next 404 error message.

Not Found

The requested URL /public/ was not found on this server.
Apache/2.0.54 (Fedora) Server at domain.com Port 80

And in my log the same error

File does not exist: /var/www/vhosts/domain.com/httpdocs/public

Can anybody tell me what is the problem ?

Thanks!
 
First step would be to verify that /var/www/vhosts/domain.com/httpdocs/public exists and has the proper permissions and ownership.
 
Wow, those are horrible instructions. I especially like this part.

Upload the application files to the htdocs/your_application directory.
Create a file with name .htaccess in this directory[...]
Save the file.
Remove the file your_application/public/.htaccess

lol so why create the file at all if you are only going to delete it? Did I miss something there?
 
Ruby on Rails

Hello guys,

First off, I am still having issues myself as well. But lets clarify the create/delete .htaccess issue. They want you to ceate the .htaccess file they specified in the instructions and place that in your Applications folder, the your_application. The .htaccess file they are wanting you to remove is the .htaccess fine in the public folder of your application. I hope this clears this up.

As for what I am doing myself since I have admin access to ssh, I am actually adjusing my web dir from httpdocs to httpdocs/public in a vhost.conf and vhost_ssl.conf file. I am also not putting in an application folder. This is not getting me the

Application error
Rails application failed to start properly

Error.

From what I am reading this means the path is incorrect in the settings. The instructions tell us to change the shebang to #!/usr/bin/ruby

Half the battle is checking to see it is actually there. I am using Plesk in a VPS, have not checked a dedicated server but I found all of Ruby files to be in /opt/ruby/bin.
I have since created sym links but I am unfortunately still getting the same error message.

I will try to post more as I get further.
 
Have you got an update on this? We are also trying to follow the instructions on Parallel's web site but not getting anywhere.
 
Back
Top