-
Notifications
You must be signed in to change notification settings - Fork 2
Error when creating Asset Backup #26
Comments
When you say you have the AWS S3 plugin installed, you mean you are hosting your assets on S3 and not the local volume? Unfortunately at the moment the plugin only supports having your assets on the local volume (i.e. disk). A few people have mentioned using other volume backends though so it sounds like it's something I should add compatibility for. What errors are you getting when you have the S3 plugin disabled? |
I get this error: The setup is a little wonky, but some volumes are on S3, and some aren't. I'm testing this on our site for a client. The client's website isn't set up on S3 yet, so maybe there won't be any issues when I install the plugin on their website. |
Currently the the plugin fetches all volumes in the system and then tried to copy their path to a temporary directory to zip them: https://github.com/weareferal/craft-env-sync/blob/master/src/services/SyncService.php#L95 This means that it will likely still cause an issue on your client site if any of your volumes are not stored locally on the server. It looks like the S3 volumes don't have a This is something I need to add a solution for I think |
I have another issue here to track it too: |
Just to follow up @gdubois414, I've since deprecated this plugin and released two new plugins to take its place: I don't think it will directly address this issue yet, but hopefully I'll be able to get a fix there |
I am trying to get the asset backup working, but I am receiving these errors in the logs:
Create a new volume backup (attempt: 1) - Error (time: 1.562s): Getting unknown property: craft\awss3\Volume::rootPath
yii\base\UnknownPropertyException: Getting unknown property: craft\awss3\Volume::rootPath
The database backup works fine, but not for assets. I have the AWS S3 plugin installed and tried to disable it while testing, but ended up getting different errors.
The text was updated successfully, but these errors were encountered: