TkTech / ckanext-cloudstorage

Implements support for resource storage against multiple popular providers via apache-libcloud (S3, Azure Storage, etc...)
MIT License
35 stars 55 forks source link

After installation and configuration, the plugin cannot be used #58

Open hongjie123 opened 6 months ago

hongjie123 commented 6 months ago

Using Docker to install CKAN, the following are the implementation steps:

  1. Obtain ckanext cloudstorage through the git clone... command
  2. Set the cloud provider in the configuration file '. env' as follows:

    Aliyun oss

    CKANEXT CLOUDSTORAGE DRIVER=ALIYUN_OSS CKANEXT_CLOUDSTORAGECONTAINERAME=openkg1 CKANEXT_CLOUDSTORAGE-DRIVER-OPTIONS={"key": "", "secret": ""}

  3. Docker Compose restart, "Docker Compose - f Docker Compose. dev. yml up -- build"

However, the ckanext cloudstorage plugin did not work, and adding a data resource in ckan did not upload it to cloud storage, but was done locally. May I ask how to solve it?

Ckan==2.10.3

Pyhton=3.8.10

TkTech commented 6 months ago

Did you add it to your list of enabled plugins?

hongjie123 commented 6 months ago

Yes,I have added it to ckan.plugins. I would like to know if the current version of the cloudstorage plugin supports ckan2.10.3?If possible, could you tell me more detailed (complete) installation and usage instructions? Thank you in advance!