MAEASaM / MAEASaM-resource-models

0 stars 0 forks source link

Add CIDOC-CRM 6.2 to Arches instance #1

Closed RHVDM closed 9 months ago

RHVDM commented 9 months ago

David comment:

Installed the CIDOC CRM ontology using the instructions at: https://arches.readthedocs.io/en/7.5/administering/ontologies-in-arches/#loading-an-ontology

Viz:

sudo -u arches -i source ENV/bin/activate (ENV) cd maeasam/ (ENV) curl -O -L 'https://github.com/archesproject/cidoc-crm-ontology/archive/master.zip' (ENV) unzip master.zip (ENV) mv cidoc-crm-ontology-master cidoc-crm-ontology-6_2 (ENV) python manage.py load_ontology -s cidoc-crm-ontology-6_2

And got no errors but a warning (upgrading to 7.5 required me to switch the cache from being a dummy to using filebased.FileBasedCache so I am not overly concerned by this warning):

====== BEGIN ===== /home/arches/ENV/lib/python3.10/site-packages/elasticsearch/_sync/client/init.py:397: SecurityWarning: Connecting to 'https://localhost:9200' using TLS with verify_certs=False is insecure _transport = transport_class( /home/arches/ENV/lib/python3.10/site-packages/elasticsearch/_sync/client/init.py:397: SecurityWarning: Connecting to 'https://localhost:9200' using TLS with verify_certs=False is insecure _transport = transport_class( System check identified some issues:

WARNINGS: ?: (arches.W001) Cache backend does not support rate-limiting HINT: Your cache: django.core.cache.backends.filebased.FileBasedCache Supported caches: ('django.core.cache.backends.memcached.PyLibMCCache', 'django.core.cache.backends.memcached.PyMemcacheCache', 'django.core.cache.backends.redis.RedisCache')

Loading Source Ontology: "cidoc-crm-ontology-6_2/cidoc_crm_v6.2.xml" Loading Extension: "cidoc-crm-ontology-6_2/CRMsci_v1.2.3.rdfs.xml" Loading Extension: "cidoc-crm-ontology-6_2/CRMarchaeo_v1.4.rdfs.xml" Loading Extension: "cidoc-crm-ontology-6_2/CRMgeo_v1.2.rdfs.xml" Loading Extension: "cidoc-crm-ontology-6_2/CRMdig_v3.2.1.rdfs.xml" Loading Extension: "cidoc-crm-ontology-6_2/arches_crm_enhancements.xml" Loading Extension: "cidoc-crm-ontology-6_2/CRMinf_v0.7.rdfs.xml" ===== END ======

I reloaded Apache afterwards. JIC.