Fernando_C
(Fernando Corro)
August 21, 2017, 4:03am
1
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?
rap1ds
(Mikko Koski)
August 21, 2017, 5:14am
2
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
Fernando_C
(Fernando Corro)
August 21, 2017, 3:07pm
3
Hi! @rap1ds , How do you do see de log?
Fernando_C
(Fernando Corro)
August 21, 2017, 7:59pm
4
What log? WebBrowser, Unicorn or Nginx?
Fernando_C
(Fernando Corro)
August 22, 2017, 3:08am
5
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:in
block 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:in
require’
/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:in
require’
/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:in
each’
/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:in
each’
/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:in
require’
/home/rails/servelo/servelo/config/application.rb:22:in <top (required)>' /home/rails/servelo/servelo/Rakefile:4:in
require’
/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
’
rap1ds
(Mikko Koski)
August 22, 2017, 8:13am
6
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
Fernando_C
(Fernando Corro)
August 23, 2017, 4:25am
7
Thanks @rap1ds it’s on Digital Ocean VPS with 1 GB Memory / 30 GB Disk / Ubuntu Ruby on Rails on 14.04 ( Nginx, Unicorn)
Fernando_C
(Fernando Corro)
August 25, 2017, 3:09am
8
Hi! @rap1ds the featurs are corrects for sharertibe?
Fernando_C
(Fernando Corro)
September 4, 2017, 2:36am
9
Hi @rap1ds how do yo do reload de marketplace, reload de db?