Skip to content

Problem with the deployment #7

Description

@Andalia

Hey!
I am having no problems when I start the application and access it on localhost, but I'm having some problems with the deployment.
I am using rvm, ruby 2.2.0, the most recent passenger and apache. I plan to deploy it as a sub-domain. My vHost file looks like this: (subdomain.domain.com was obviously changed)

<VirtualHost *:80>
ServerName subdomain.domain.com
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /home/mailadmin/mailadmin/public
<Directory /home/mailadmin/mailadmin/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
#Require all granted
PassengerFriendlyErrorPages off

When I try to open the domain, it loads for a very long time (minutes), after that I get a warning. The error.log provides me with this information

[ 2015-03-13 13:35:50.1043 1443/7fb5786c8700 App/Implementation.cpp:287 ]: Could not spawn process for application /webapps/mailadmin: An error occurred while starting up the preloader: it did not write a startup response in time.
Error ID: 346316cb
Error details saved to: /tmp/passenger-error-YGU1xH.html
Message from application: An error occurred while starting up the preloader: it did not write a startup response in time. Please read this article for more info$

Raw process output:

(empty)

The Error details I uploaded to jsfiddle to keep the formating nice.
https://jsfiddle.net/nxp2b7pt/1/

I tried everything and I'm finished with my knowledge and google-ability. Any help would be greatly appreciated.

Greetings and thanks for the awesome tool.
Andalia

Edit, I see that the vhost formating is messed up, but I don't think that the problem lies there anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions