Hi! I have been trying to install Sharetribe in a VirtualBox with Ubuntu server, but everytime I try to create the enviroment i get the following error
RAILS_ENV=production bundle exec rake db:create
rake aborted!
Aws::Sigv4::Errors::MissingCredentialsError: Cannot load Rails.config.active_st orage.service
:
missing credentials, provide credentials with one of the following options:
- :access_key_id and :secret_access_key
- :credentials
- :credentials_provider
Hi, As I can see that you are missing some keys
Meanwhile, you can fix it by changing storing files to local environments/production.rb
config.active_storage.service = :local
If you want to store these data on AWS bucket then you would have to add AWS bucket credentials
For any further discussion or help please contact me here. -
https://www.upwork.com/freelancers/~0186c7b9e674fc8699
Looking forward to hearing from you.
Thanks.
Hi! Thanks for answer. I change the service to local. Now i get this
juan@servKA:~/sharetribe/config/environments$ bundle exec rake assets:precompile
(in /home/juan/sharetribe)
rake aborted!
Aws::Sigv4::Errors::MissingCredentialsError: Cannot load Rails.config.active_storage.service
:
missing credentials, provide credentials with one of the following options:
- :access_key_id and :secret_access_key
- :credentials
- :credentials_provider
/home/juan/.rvm/gems/ruby-2.6.5/gems/aws-sigv4-1.1.0/lib/aws-sigv4/signer.rb:612:inextract_credentials_provider' /home/juan/.rvm/gems/ruby-2.6.5/gems/aws-sdk-s3-1.45.0/lib/aws-sdk-s3/plugins/s3_signer.rb:190:in
new’
/home/juan/.rvm/ge…
Hi Juan
Guess rails new version has added encryption for secrets key,
please run this command this should work
EDITOR="subl --wait" bin/rails credentials:edit