Comments (7)
We had changed creds and not updated on stable, so made new keys, let's reboot and see!
from mapknitter.
Didn't work -- i do see this though, maybe we missed something? But it is working on production so i'm not sure why this wouldn't work:
Post-install message from paperclip:
##################################################
# NOTE FOR UPGRADING FROM 4.3.0 OR EARLIER #
##################################################
Paperclip is now compatible with aws-sdk-s3.
If you are using S3 storage, aws-sdk-s3 requires you to make a few small
changes:
* You must set the `s3_region`
* If you are explicitly setting permissions anywhere, such as in an initializer,
note that the format of the permissions changed from using an underscore to
using a hyphen. For example, `:public_read` needs to be changed to
`public-read`.
For a walkthrough of upgrading from 4 to *5* (not 6) and aws-sdk >= 2.0 you can watch
http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-prep-for-rails-5
from mapknitter.
I don't think the above is relevant, we have been on aws-sdk-s3 for a few years it seems.
Aws::Sigv4::Errors::MissingCredentialsError
is exact - i checked AWS logs and there was no access at all. Why isn't it picking up the keys?
from mapknitter.
We just got staging working, by standardizing all references of AWS_ACCESS_KEY_ID
-- it had been missing _ID
in: amazon_s3.yml
and mapknitter.env
.
Strange because it was working in production in Google Cloud, where it drew on a stored app.yaml
file that used _ID
.
But now strangely AWS console says images are being uploaded (from stable, i believe, based on having done so in the timeframe successfully) but NOT using the newly made key we put in environment.sh
. So is there another place it could be getting the key?
from mapknitter.
OK, no, correction - the new key IS being used. the access log must have been slow to load. It shows usage within a minute of my successful upload to staging. So that seems all good.
The only question now is whether we will break things upon deploying MK, by having changed some env var names in a working system.
from mapknitter.
We tried deploying to production but got:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">= 13.0.0". Got "12.22.5"
from mapknitter.
Will try setting this here:
Line 48 in da8ec9d
from mapknitter.
Related Issues (20)
- Update Staging urls HOT 3
- why didn't a yarn error trigger a failure in GitHub Actions? node version mismatch HOT 6
- FTO: Fix typos and update config.yml HOT 4
- CodeCov not registering recent test reports HOT 3
- Outreachy: "MapKnitter.org Spam Management System" Project Planning HOT 16
- Outreachy: "MapKnitter.org Spam Management System" Project Q&A HOT 19
- Create status columns on maps and users tables
- Create batch-spam and single spam endpoints
- Create batch-publish and single publish endpoints
- Improve "card" section of the maps show page HOT 13
- Add first-timers-only issue template HOT 11
- Create batch-delete endpoint
- Adjust existing fetch map(s) and user(s) endpoints to fetch based on status
- building in stable - notes HOT 5
- Create batch-ban and single ban endpoints
- Create batch-unban and single unban endpoints
- Create endpoints for fetching maps on the spam dashboard page
- Create endpoints for fetching users on the spam dashboard page
- Edit login process to allow only active users HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapknitter.