/ ckanext-blob-storage Registry Initialized Error #6349
-
Hi there, Wondering if anyone could please point me in the write direction. I am installing CKAN for the first time and really keen to link up to Azure storage. I have got CKAN up and running and now trying to get the blob_storage plugin working. My environment is as follows: Ubuntu 20.04 It's all configured and no issues on restarting ckan-uwsgi service. However when I go to the "add data" page I get the errors shown below. Just wondering if anyone can please provide some pointers? Also not sure if this is because of steps required to add resource fields (https://github.com/datopian/ckanext-blob-storage#required-resource-fields). I wasn't sure of the steps required here? Could anyone please provide pointers on this? Note, I have successfully test the giftless set up and integration to Azure storage. Just trying to connect ckan through to this using the plugin. Thanks in advance for any help, Stu Errors: 2021-08-30 00:52:06,117 ERROR [ckan.config.middleware.flask_app] Registry initialized. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Additional note: just testing with filestore configured to a mount using Blobfuse (https://docs.microsoft.com/en-us/azure/storage/blobs/storage-how-to-mount-container-linux). Might be a good workaround. |
Beta Was this translation helpful? Give feedback.
-
@zesdatascience Not sure what the actual issue is but this is the symptom:
|
Beta Was this translation helpful? Give feedback.
-
Thanks very much for your help @amercader with the explanation above . For now I think I will use the blobfuse solution above to mount Azure storage and then use the inbuilt filestore functionality to use a folder under this mount point. I did some initial testing on this and it seems to work OK. |
Beta Was this translation helpful? Give feedback.
@zesdatascience Not sure what the actual issue is but this is the symptom:
{% resource %}
is a CKAN<=2.8 only tag only. Its CKAN>= 2.9 equivalent is{% asset %}
. For multi CKAN version extensions like this one there is generally some logic to include one or the other depending on the version, eg:https://github.com/ckan/ckanext-harvest/blob/e2e8acbb6d87d44663e92c5ff5cbd67401588c2d/ckanext/harvest/templates/base.html#L6-L7