• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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