Comments (13)
Great, worked like a charm, migration was done successfully as well. Thanks for your help!
from aws-s3.
Can you try updating to the just-released 1.1. version of the plugin?
from aws-s3.
Just updated, same issue persists, it seems that https://github.com/craftcms/aws-s3/blob/1.1.0/src/Volume.php is still missing storageClass property
from aws-s3.
Right, because it should have been removed by https://github.com/craftcms/aws-s3/blob/master/src/migrations/m180929_165000_remove_storageclass_setting.php
Can you check if your craft_migrations
table has that migration entry? If it does, what date does it have?
from aws-s3.
Just checked, no such entry there. Craft says that there are migrations pending, but right after hitting the finish button I get the abovementioned error.
from aws-s3.
Can you get a stack trace for that error from the log files?
from aws-s3.
from aws-s3.
/var/www/config/twig-webpack-extension.php seems to be calling
craft\services\Globals->getSetByHandle('common')
.
I'm not sure that calling Craft functionality from config files is a good idea, as demonstrated by this particular issue. You're invoking Craft before it has a chance to run its migrations and this can lead to unpredictable results. Can you disable that, let the migrations run and see what happens?
from aws-s3.
You're absolutely right, but this was the only way we could make that happen without changing original plugin code.
Commented it out, unfortunately problem is still there, see stacktrace
stacktrace2.txt
from aws-s3.
Ugh. This is not cool.
Okay. Here's the plan. Re-adding this property (since it does nothing), cutting a 1.1.1 release and for the next release require at least 1.1.1 to update and delete that property. That should ensure that everyone updates to 1.1.1, run the migration to get rid of the setting and the property is safe to be removed in the next version.
from aws-s3.
sounds great, waiting for 1.1.1 to be released
from aws-s3.
Should be released as of now.
from aws-s3.
I must say, for an instant I was scared when I saw your email :)
from aws-s3.
Related Issues (20)
- Dynamic paths not working HOT 1
- Enormous Loading Times in Craft CMS 4 HOT 3
- Bucket dropdown isn't being populated HOT 2
- Instances of craft\awss3\S3Client cannot be serialized HOT 6
- Transforms update not working HOT 1
- Credentials.php is not able to unserialise the cached tokenKey
- Getting unknown property: craft\awss3\Volume::path
- AWS credentials cache duration is not being calculated correctly HOT 3
- Ability to use server side encryption HOT 2
- Credential-less auth should be explicit opt-in
- Draging a directory to another directory + 50mgb causes the server to go down
- TLS 1.0 or 1.1 connection - Need to upgrade to TLS 1.2 HOT 1
- Update your S3 object access to maintain connectivity HOT 2
- Error executing "GetSessionToken" on "https://sts.amazonaws.com"; AWS HTTP error: cURL error 6: Could not resolve host: sts.amazonaws.com HOT 1
- Getting "Unable to check if {filename} exists" when trying to upload to newly added volume HOT 1
- not a bug, but could not find the answer reading the source code HOT 1
- No support for S3-compatible object storage (e.g: Wasabi)? Getting STS related error when trying HOT 3
- [v3.x] Leveraging the new Subpath option within a volume in Craft 5 causes Rekognition to return a 400 error HOT 3
- Block public access
- Volumes can be created with invalid cache control settings
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 aws-s3.