-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twig error on all s3 volume's settings pages in CP after Craft 3 migration #47
Comments
I have the same error. There is is a key with wrong expires-date-format migrated to your config/project.yaml
the plugin expects 31days to be seperated by space "31 days"
after changing project.yaml the new config has to be loaded in the browser. Is there a way to trigger this with the ./craft cli ? |
Not sure how this could have happened, but released 1.2.1 version of this plugin which includes a migration that fixes the corrupted config. |
@andris-sevcenko I've also just experienced this on a Craft 2 to Craft 3 migration. However I am running the 1.2.1 release which has the migration but still get the twig error. In my case my Changing the expires value to |
Seems to work for me now, thanks! |
@jamesmacwhite if you have a pre-update DB backup, I'd love to be able to look at the dump of the If it's possible, can you send that over to support@craftcms.com and reference this thread? |
@andris-sevcenko Absolutely. I will provide that to you for further investigation. |
@andris-sevcenko Just to confirm. Do you want the DB backup after a Craft 2 migration but before the AWS plugin is installed? |
@jamesmacwhite yup, that would work! If I'll need something else, I'll let you know! |
@andris-sevcenko Understood, I will perform a Craft 2 to 3 migration for this requirement and give you the table data required. |
@andris-sevcenko Just to let you know. I have provided the |
Just a little update on this after doing a few upgrade dry runs. If I update from Craft 2 > Craft 3, then enable the plugin at 1.2.1, it still errors. If I update from Craft 2 > Craft 3, enable the plugin at 1.1.3 (errors), then upgrade to 1.2.1, it works. |
Hi gang. Hitting a Twig bug with this version after migrating from Craft 2. After performing an upgrade, then installing the S3 plugin, when I go to any of my S3 Asset volume's settings pages in the CP, I get the following Twig error:
Steps to reproduce
Versions
Craft: 2.7.5 - 3.1.14
S3: 1.2.0
The text was updated successfully, but these errors were encountered: