Skip to content

Unicorn server will not restart #358

Description

@pjjarrar

I know the issue, i just don't know how to solve it. I'm using digital ocean as a host provider, and Unicorn is pointing to a different directory. How do i get it to point to my application?

  • Restarting Unicorn web server unicorn /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/configurator.rb:543:in chdir': No such file or directory @ dir_chdir - /home/rails/rails_project (Errno::ENOENT) from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/configurator.rb:543:inworking_directory'
    from /etc/unicorn.conf:4:in reload' from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/configurator.rb:75:ininstance_eval'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/configurator.rb:75:in reload' from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/configurator.rb:68:ininitialize'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:100:in new' from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/lib/unicorn/http_server.rb:100:ininitialize'
    from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/bin/unicorn:126:in new' from /usr/local/rvm/gems/ruby-2.2.1/gems/unicorn-4.9.0/bin/unicorn:126:in<top (required)>'
    from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in load' from /usr/local/rvm/gems/ruby-2.2.1/bin/unicorn:23:in'
    from /usr/local/rvm/gems/ruby-2.2.1@global/bin/ruby_executable_hooks:15:in eval' from /usr/local/rvm/gems/ruby-2.2.1@global/bin/ruby_executable_hooks:15:in'
    master failed to start, check stderr log for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions