Error load Page failed

I Install sharetribe in digital Ocean VPS, no erros shows me,I create the marketplace and but whe i run.

http://138.68.46.248

bundle exec rails server -e production show this:

{“method”:“GET”,“path”:“/500”,“format”:“html”,“controller”:“ErrorsController”,“action”:“server_error”,“status”:500,“duration”:15.45,“view”:10.42,“db”:0.07,“params”:{},“host”:null,“community_id”:null,“current_user_id”:null,“user_agent”:null,“referer”:null,“forwarded_for”:null,“request_uuid”:null}

Do you have idea?

Unfortunately, that’s a bit too little information about the issue. Can you see anything else in the log?

Have you followed the installation instructions carefully step-by-step? https://github.com/sharetribe/sharetribe Did you complete all the steps? Are you able to get the Rails server running in development mode?

1 Like

Hi! @rap1ds, How do you do see de log?

What log? WebBrowser, Unicorn or Nginx?

RAILS_ENV=production bundle exec rake jobs:work
rake aborted!
LoadError: /usr/local/rvm/gems/ruby-2.3.1/gems/redcarpet-3.4.0/lib/redcarpet.so: failed to map segment from shared object: Cannot allocate memory - /usr/local/rvm/gems/ruby-2.3.1/gems/redcarpet-3.4.0/lib/redcarpet.so
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:in require' /usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:inblock in require’
/usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:258:in load_dependency' /usr/local/rvm/gems/ruby-2.3.1/gems/activesupport-5.1.1/lib/active_support/dependencies.rb:292:inrequire’
/usr/local/rvm/gems/ruby-2.3.1/gems/redcarpet-3.4.0/lib/redcarpet.rb:1:in <top (required)>' /usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:82:inrequire’
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:82:in block (2 levels) in require' /usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:77:ineach’
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:77:in block in require' /usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:66:ineach’
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler/runtime.rb:66:in require' /usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.15.2/lib/bundler.rb:108:inrequire’
/home/rails/servelo/servelo/config/application.rb:22:in <top (required)>' /home/rails/servelo/servelo/Rakefile:4:inrequire’
/home/rails/servelo/servelo/Rakefile:4:in <top (required)>' /usr/local/rvm/gems/ruby-2.3.1/gems/rake-11.3.0/exe/rake:27:in<top (required)>’
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in eval' /usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in

In the log it says Cannot allocate memory. This may mean that you don’t have enough memory in your machine to run the app. Rails is super memory hungry. Do you have enough memory in your machine? Where are you running the app? If you’re running it in a virtual machine, you might want to increase the amount of memory that it is allowed to use.

1 Like

Thanks @rap1ds it’s on Digital Ocean VPS with 1 GB Memory / 30 GB Disk / Ubuntu Ruby on Rails on 14.04 ( Nginx, Unicorn)

Hi! @rap1ds the featurs are corrects for sharertibe?

Hi @rap1ds how do yo do reload de marketplace, reload de db?