Hello everyone,
I just installed sharetribe go community edition with the latest version (9.0) on AWS EC2.
After a hard time of installation because of the lack of installation manual.
The site is up, but displays “Marketplace temporarily unavailable”.
And after I sampling check data of tables in production database, there is no record. I am not sure that is the problem or not.
These are my running steps:
RAILS_ENV=production bundle exec rake db:create
RAILS_ENV=production bundle exec rake db:structure:load
RAILS_ENV=production bundle exec rake ts:index
RAILS_ENV=production bundle exec rake ts:start
RAILS_ENV=production NODE_ENV=production bundle exec rake assets:precompile
RAILS_ENV=production bundle exec rake jobs:work
bundle exec rails server -e production
Environment:
Amazon EC2
Ubuntu 16.04
Ruby ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
Node v10.15.3
Npm 6.4.1
Server mode:
production
error detail:
$ bundle exec rails server -e production
=> Booting Puma
=> Rails 5.2.3 application starting in production
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 4.3.1 (ruby 2.6.2-p47), codename: Mysterious Traveller
* Min threads: 0, max threads: 16
* Environment: production
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
{"method":"GET","path":"/","format":"html","controller":"HomepageController","action":"index","status":302,"duration":1.38,"view":0.0,"db":0.0,"location":"http://ec2-35-178-44-234.eu-west-2.compute.amazonaws.com:3000/communities/new","params":{},"host":"ec2-35-178-44-234.eu-west-2.compute.amazonaws.com","community_id":"","current_user_id":"","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","referer":"","forwarded_for":"","request_uuid":"46e871aa-c03a-46d7-9e23-476f3ddf1e6e"}
{"method":"GET","path":"/communities/new","format":"html","controller":"CommunitiesController","action":"new","status":500,"error":"FrozenError: can't modify frozen String","duration":3.88,"view":0.0,"db":0.0,"params":{"locale":"en"},"host":"ec2-35-178-44-234.eu-west-2.compute.amazonaws.com","community_id":"","current_user_id":"","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36","referer":"","forwarded_for":"","request_uuid":"8b3a715a-1f19-4c54-8df4-0950374a32fa"}
FrozenError (can't modify frozen String):
app/controllers/application_controller.rb:101:in `slice!'
app/controllers/application_controller.rb:101:in `set_locale'
lib/rack_middleware/session_context_middleware.rb:15:in `call'
lib/rack_middleware/marketplace_lookup.rb:35:in `call'
lib/rack_middleware/custom_cookie_renamer.rb:11:in `call'
lib/rack_middleware/enforce_ssl.rb:23:in `call'
lib/rack_middleware/health_check.rb:12:in `call'
{"method":"GET","path":"/500","format":"html","controller":"ErrorsController","action":"server_error","status":500,"duration":431.83,"view":6.16,"db":0.02,"params":{"locale":"en"},"host":null,"community_id":null,"current_user_id":null,"user_agent":null,"referer":null,"forwarded_for":null,"request_uuid":null}
Could anyone give me a suggestion on how to solve this problem?