站点部署在aws弹性beantalk
aws.yml
wp_posts
--------
ID
post_status
wp_termrelationships
--------------------
object_id
term_taxonomy_id
production.rb
production:
access_key_id: 123333231331....
secret_access_key: 12212dddddd........
我还在s3存储桶中授予公共访问权限。
config.paperclip_defaults = {
:storage => :s3,
:preserve_files => true,
:s3_credentials => 'aws.yml',
:s3_region => 'ap-south-1',
:s3_host_name => 's3.ap-south-1.amazonaws.com',
:bucket => 'xxxxxx'
}
...宝石
anyone: read write
配置文件夹中的aws.yml文件夹 - config / aws.yml
答案 0 :(得分:0)
看起来应用程序没有找到您的S3凭据文件。在default['poise-javascript']['options']['version'] = '8.9.1'
中,尝试为其提供文件的完整路径:
production.rb