WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org
View all threadsHi everyone!
I've normally haven't run into this, but I've made a new collectionspace
installation and ran all of the steps to create a new tenant
successfully. However the only issue I am running into is initializing
the term lists to appear in the "Term List Management" tab for Admin.
I've run the URL (with 'test' being the tenant name for this example):
http://localhost:8180/collectionspace/tenant/test/authorities/initialise
I got the following output (I apologize for the output dump):
====================
Initializing vocab/auth entries...Need to create instance work-work
Need to create instance work-cona_work
Need to create instance person-person
Need to create instance person-ulan_pa
Need to create instance concept-concept
Need to create instance concept-material_ca
Need to create instance concept-activity
Instance concept-materialclassification is defined by not
referenced.Instance concept-materialformtype is defined by not
referenced.Need to create instance vocab-inventorystatus
Need to create instance vocab-publishto
Need to create instance vocab-languages
Need to create instance vocab-lostatus
Need to create instance vocab-currency
Need to create instance vocab-collectionmethod
Need to create instance vocab-conditionfitness
Need to create instance vocab-conditioncheckmethod
Need to create instance vocab-entrymethod
Need to create instance vocab-conditioncheckreason
Need to create instance vocab-locationtype
Need to create instance vocab-dateera
Need to create instance vocab-datequalifier
Need to create instance vocab-agequalifier
Need to create instance vocab-dateCertainty
Need to create instance vocab-persontermtype
Need to create instance vocab-worktype
Need to create instance vocab-workcreatortype
Need to create instance vocab-workpublishertype
Need to create instance vocab-citationtermtype
Need to create instance vocab-agentinfo
Need to create instance vocab-resourceid
Need to create instance vocab-relationtype
Need to create instance vocab-exhibitiontype
Need to create instance vocab-exhibitionpersonrole
Need to create instance vocab-exhibitionreferencetype
Need to create instance vocab-exhibitionstatus
Need to create instance vocab-conservationstatus
Need to create instance vocab-treatmentpurpose
Need to create instance vocab-otherpartyrole
Need to create instance vocab-examinationphase
Need to create instance vocab-concepttype
Need to create instance vocab-organizationtype
Instance vocab-taxontype is defined by not referenced.Instance
vocab-materialtype is defined by not referenced.Need to create instance
vocab-citationtermflag
Need to create instance vocab-concepttermflag
Need to create instance vocab-locationtermflag
Need to create instance vocab-orgtermflag
Need to create instance vocab-persontermflag
Need to create instance vocab-placetermflag
Instance vocab-taxontermflag is defined by not referenced.Need to create
instance vocab-worktermflag
Instance vocab-materialtermflag is defined by not referenced.Instance
vocab-materialuse is defined by not referenced.Instance
vocab-materialproductionrole is defined by not referenced.Instance
vocab-materialresource is defined by not referenced.Instance
vocab-materialform is defined by not referenced.Instance
vocab-materialformtype is defined by not referenced.Instance
vocab-acousticalproperties is defined by not referenced.Instance
vocab-durabilityproperties is defined by not referenced.Instance
vocab-electricalproperties is defined by not referenced.Instance
vocab-mechanicalproperties is defined by not referenced.Instance
vocab-hygrothermalproperties is defined by not referenced.Instance
vocab-opticalproperties is defined by not referenced.Instance
vocab-sensorialproperties is defined by not referenced.Instance
vocab-smartmaterialproperties is defined by not referenced.Instance
vocab-additionalproperties is defined by not referenced.Instance
vocab-mechanicalpropertyunits is defined by not referenced.Instance
vocab-hygrothermalpropertyunits is defined by not referenced.Instance
vocab-recycledcontentqualifiers is defined by not referenced.Instance
vocab-lifecyclecomponents is defined by not referenced.Instance
vocab-energyunits is defined by not referenced.Instance
vocab-ecologicalcertifications is defined by not referenced.Instance
vocab-castingprocesses is defined by not referenced.Instance
vocab-deformingprocesses is defined by not referenced.Instance
vocab-joiningprocesses is defined by not referenced.Instance
vocab-machiningprocesses is defined by not referenced.Instance
vocab-moldingprocesses is defined by not referenced.Instance
vocab-rapidprototypingprocesses is defined by not referenced.Instance
vocab-surfacingprocesses is defined by not referenced.Instance
vocab-additionalprocesses is defined by not referenced.Need to create
instance vocab-addresstype
Need to create instance vocab-deaccessionapprovalgroup
Need to create instance vocab-deaccessionapprovalstatus
Need to create instance vocab-disposalmethod
Need to create instance place-place
Need to create instance place-tgn_place
Need to create instance citation-citation
Need to create instance citation-worldcat
Need to create instance organization-organization
Need to create instance organization-ulan_oa
Need to create instance location-location
Need to create instance location-offsite_sla
==============================
However the term list management field isn't populated. I tried to
relogin, refresh, and restart the colletionspace instance, but nothing
happened.
I also made sure that the tenant ID was defined in the xml file for
test-tenant.xml (which I've set to 6). In the output dump, it says it
needs to create, which I thought it would then proceed to do, but
apparently it doesn't? I also checked the log and saw this after the log
output of the above output, and this caught my eye:
2018-02-10 02:00:21,302 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63]
Temporary XMLMerge files will be written out to
'/usr/local/share/apache-tomcat-7.0.64/temp/merged-app-config-6158963585609120978'.
2018-02-10 02:00:22,031 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69] Initializing
vocab/auth entries...
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.apache.commons.httpclient.HttpMethodDirector:722] Failure
authenticating with BASIC 'org.collectionspace.services'@localhost:8180
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error code:
401
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Request target:
/workauthorities/urn:cspace:name(work)/items?wf_deleted=false
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error message:
Could not retrieve vocabulary items
Could not get session from CSPACESESSID cookie with value:
36939744689940ce1ef062f7e52683d5
I'm not sure if that's the result of the failure to populate the term
lists, but the "could not retrieve vocabulary items" seems suspicious.
I'm just stuck now at this part. Any recommendations on what to do next?
-Peter
Hey Peter,
Assuming you figured this out! What was going on? I'm hitting the same
issue.
-N
On Fri, Feb 9, 2018 at 6:47 PM, Peter Tucker <
peter.tucker@granitehorizon.com> wrote:
Hi everyone!
I've normally haven't run into this, but I've made a new collectionspace
installation and ran all of the steps to create a new tenant successfully.
However the only issue I am running into is initializing the term lists to
appear in the "Term List Management" tab for Admin.
I've run the URL (with 'test' being the tenant name for this example):
http://localhost:8180/collectionspace/tenant/test/authorities/initialise
I got the following output (I apologize for the output dump):
====================
Initializing vocab/auth entries...Need to create instance work-work
Need to create instance work-cona_work
Need to create instance person-person
Need to create instance person-ulan_pa
Need to create instance concept-concept
Need to create instance concept-material_ca
Need to create instance concept-activity
Instance concept-materialclassification is defined by not
referenced.Instance concept-materialformtype is defined by not
referenced.Need to create instance vocab-inventorystatus
Need to create instance vocab-publishto
Need to create instance vocab-languages
Need to create instance vocab-lostatus
Need to create instance vocab-currency
Need to create instance vocab-collectionmethod
Need to create instance vocab-conditionfitness
Need to create instance vocab-conditioncheckmethod
Need to create instance vocab-entrymethod
Need to create instance vocab-conditioncheckreason
Need to create instance vocab-locationtype
Need to create instance vocab-dateera
Need to create instance vocab-datequalifier
Need to create instance vocab-agequalifier
Need to create instance vocab-dateCertainty
Need to create instance vocab-persontermtype
Need to create instance vocab-worktype
Need to create instance vocab-workcreatortype
Need to create instance vocab-workpublishertype
Need to create instance vocab-citationtermtype
Need to create instance vocab-agentinfo
Need to create instance vocab-resourceid
Need to create instance vocab-relationtype
Need to create instance vocab-exhibitiontype
Need to create instance vocab-exhibitionpersonrole
Need to create instance vocab-exhibitionreferencetype
Need to create instance vocab-exhibitionstatus
Need to create instance vocab-conservationstatus
Need to create instance vocab-treatmentpurpose
Need to create instance vocab-otherpartyrole
Need to create instance vocab-examinationphase
Need to create instance vocab-concepttype
Need to create instance vocab-organizationtype
Instance vocab-taxontype is defined by not referenced.Instance
vocab-materialtype is defined by not referenced.Need to create instance
vocab-citationtermflag
Need to create instance vocab-concepttermflag
Need to create instance vocab-locationtermflag
Need to create instance vocab-orgtermflag
Need to create instance vocab-persontermflag
Need to create instance vocab-placetermflag
Instance vocab-taxontermflag is defined by not referenced.Need to create
instance vocab-worktermflag
Instance vocab-materialtermflag is defined by not referenced.Instance
vocab-materialuse is defined by not referenced.Instance
vocab-materialproductionrole is defined by not referenced.Instance
vocab-materialresource is defined by not referenced.Instance
vocab-materialform is defined by not referenced.Instance
vocab-materialformtype is defined by not referenced.Instance
vocab-acousticalproperties is defined by not referenced.Instance
vocab-durabilityproperties is defined by not referenced.Instance
vocab-electricalproperties is defined by not referenced.Instance
vocab-mechanicalproperties is defined by not referenced.Instance
vocab-hygrothermalproperties is defined by not referenced.Instance
vocab-opticalproperties is defined by not referenced.Instance
vocab-sensorialproperties is defined by not referenced.Instance
vocab-smartmaterialproperties is defined by not referenced.Instance
vocab-additionalproperties is defined by not referenced.Instance
vocab-mechanicalpropertyunits is defined by not referenced.Instance
vocab-hygrothermalpropertyunits is defined by not referenced.Instance
vocab-recycledcontentqualifiers is defined by not referenced.Instance
vocab-lifecyclecomponents is defined by not referenced.Instance
vocab-energyunits is defined by not referenced.Instance
vocab-ecologicalcertifications is defined by not referenced.Instance
vocab-castingprocesses is defined by not referenced.Instance
vocab-deformingprocesses is defined by not referenced.Instance
vocab-joiningprocesses is defined by not referenced.Instance
vocab-machiningprocesses is defined by not referenced.Instance
vocab-moldingprocesses is defined by not referenced.Instance
vocab-rapidprototypingprocesses is defined by not referenced.Instance
vocab-surfacingprocesses is defined by not referenced.Instance
vocab-additionalprocesses is defined by not referenced.Need to create
instance vocab-addresstype
Need to create instance vocab-deaccessionapprovalgroup
Need to create instance vocab-deaccessionapprovalstatus
Need to create instance vocab-disposalmethod
Need to create instance place-place
Need to create instance place-tgn_place
Need to create instance citation-citation
Need to create instance citation-worldcat
Need to create instance organization-organization
Need to create instance organization-ulan_oa
Need to create instance location-location
Need to create instance location-offsite_sla
==============================
However the term list management field isn't populated. I tried to
relogin, refresh, and restart the colletionspace instance, but nothing
happened.
I also made sure that the tenant ID was defined in the xml file for
test-tenant.xml (which I've set to 6). In the output dump, it says it needs
to create, which I thought it would then proceed to do, but apparently it
doesn't? I also checked the log and saw this after the log output of the
above output, and this caught my eye:
2018-02-10 02:00:21,302 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63]
Temporary XMLMerge files will be written out to
'/usr/local/share/apache-tomcat-7.0.64/temp/merged-app-confi
g-6158963585609120978'.
2018-02-10 02:00:22,031 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69] Initializing
vocab/auth entries...
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.apache.commons.httpclient.HttpMethodDirector:722] Failure
authenticating with BASIC 'org.collectionspace.services'@localhost:8180
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error code:
401
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Request target:
/workauthorities/urn:cspace:name(work)/items?wf_deleted=false
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error message:
Could not retrieve vocabulary items
Could not get session from CSPACESESSID cookie with value:
36939744689940ce1ef062f7e52683d5
I'm not sure if that's the result of the failure to populate the term
lists, but the "could not retrieve vocabulary items" seems suspicious.
I'm just stuck now at this part. Any recommendations on what to do next?
-Peter
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists
.collectionspace.org
Found a workaround! It looks like this is coming from a database conflict
(cspace-services.log clip below). I was able to get it to work by setting a
<name> element under <repository> in the tenant's settings.xml file. I
understand that that isn't supposed to be absolutely necessary so maybe
there still is a bug that someone would like to look into - or maybe I was
just doing something wrong.
-N
Here's a couple lines from the log that showed up on going to
authorities/initialise - there were a lot of these:
2018-06-03 07:52:47,830 ERROR [http-bio-8180-exec-3]
[org.collectionspace.services.location.LocationAuthorityResource:562]
org.collectionspace.services.location.LocationAuthorityResource detail:
-- Exception:
org.collectionspace.services.nuxeo.client.java.NuxeoDocumentException
-- Message: org.nuxeo.ecm.core.api.ConcurrentUpdateException: Failed to
save session, java.sql.BatchUpdateException: Batch entry 0 INSERT INTO
"locationauthorities_common" ("id", "displayname", "sas",
"shortidentifier", "source", "refname", "description", "vocabtype",
"remoteclientconfigname", "rev") VALUES
('da096497-a45e-48a5-a022-c6744b833549', 'Offsite Storage Locations', NULL,
'offsite_sla', NULL,
'urn:cspace:canyoncinema.com:locationauthorities:name(offsite_sla)''Offsite
Storage Locations''', NULL, NULL, NULL, '0') was aborted. Call
getNextException to see the cause.
-- Causes: org.nuxeo.ecm.core.api.ConcurrentUpdateException::Failed to
save session, java.sql.BatchUpdateException: Batch entry 0 INSERT INTO
"locationauthorities_common" ("id", "displayname", "sas",
"shortidentifier", "source", "refname", "description", "vocabtype",
"remoteclientconfigname", "rev") VALUES
('da096497-a45e-48a5-a022-c6744b833549', 'Offsite Storage Locations', NULL,
'offsite_sla', NULL,
'urn:cspace:canyoncinema.com:locationauthorities:name(offsite_sla)''Offsite
Storage Locations''', NULL, NULL, NULL, '0') was aborted. Call
getNextException to see the cause.
java.sql.BatchUpdateException::Batch entry 0 INSERT INTO
"locationauthorities_common" ("id", "displayname", "sas",
"shortidentifier", "source", "refname", "description", "vocabtype",
"remoteclientconfigname", "rev") VALUES
('da096497-a45e-48a5-a022-c6744b833549', 'Offsite Storage Locations', NULL,
'offsite_sla', NULL,
'urn:cspace:canyoncinema.com:locationauthorities:name(offsite_sla)''Offsite
Storage Locations''', NULL, NULL, NULL, '0') was aborted. Call
getNextException to see the cause.
org.postgresql.util.PSQLException::ERROR: duplicate key value violates
unique constraint "locationauthorities_common_shortidentifier_unique"
Detail: Key (shortidentifier)=(offsite_sla) already exists.
On Sat, Jun 2, 2018 at 8:52 PM, Nima Khazaei nimakha@gmail.com wrote:
Hey Peter,
Assuming you figured this out! What was going on? I'm hitting the same
issue.
-N
On Fri, Feb 9, 2018 at 6:47 PM, Peter Tucker <peter.tucker@granitehorizon.
com> wrote:
Hi everyone!
I've normally haven't run into this, but I've made a new collectionspace
installation and ran all of the steps to create a new tenant successfully.
However the only issue I am running into is initializing the term lists to
appear in the "Term List Management" tab for Admin.
I've run the URL (with 'test' being the tenant name for this example):
http://localhost:8180/collectionspace/tenant/test/authorities/initialise
I got the following output (I apologize for the output dump):
====================
Initializing vocab/auth entries...Need to create instance work-work
Need to create instance work-cona_work
Need to create instance person-person
Need to create instance person-ulan_pa
Need to create instance concept-concept
Need to create instance concept-material_ca
Need to create instance concept-activity
Instance concept-materialclassification is defined by not
referenced.Instance concept-materialformtype is defined by not
referenced.Need to create instance vocab-inventorystatus
Need to create instance vocab-publishto
Need to create instance vocab-languages
Need to create instance vocab-lostatus
Need to create instance vocab-currency
Need to create instance vocab-collectionmethod
Need to create instance vocab-conditionfitness
Need to create instance vocab-conditioncheckmethod
Need to create instance vocab-entrymethod
Need to create instance vocab-conditioncheckreason
Need to create instance vocab-locationtype
Need to create instance vocab-dateera
Need to create instance vocab-datequalifier
Need to create instance vocab-agequalifier
Need to create instance vocab-dateCertainty
Need to create instance vocab-persontermtype
Need to create instance vocab-worktype
Need to create instance vocab-workcreatortype
Need to create instance vocab-workpublishertype
Need to create instance vocab-citationtermtype
Need to create instance vocab-agentinfo
Need to create instance vocab-resourceid
Need to create instance vocab-relationtype
Need to create instance vocab-exhibitiontype
Need to create instance vocab-exhibitionpersonrole
Need to create instance vocab-exhibitionreferencetype
Need to create instance vocab-exhibitionstatus
Need to create instance vocab-conservationstatus
Need to create instance vocab-treatmentpurpose
Need to create instance vocab-otherpartyrole
Need to create instance vocab-examinationphase
Need to create instance vocab-concepttype
Need to create instance vocab-organizationtype
Instance vocab-taxontype is defined by not referenced.Instance
vocab-materialtype is defined by not referenced.Need to create instance
vocab-citationtermflag
Need to create instance vocab-concepttermflag
Need to create instance vocab-locationtermflag
Need to create instance vocab-orgtermflag
Need to create instance vocab-persontermflag
Need to create instance vocab-placetermflag
Instance vocab-taxontermflag is defined by not referenced.Need to create
instance vocab-worktermflag
Instance vocab-materialtermflag is defined by not referenced.Instance
vocab-materialuse is defined by not referenced.Instance
vocab-materialproductionrole is defined by not referenced.Instance
vocab-materialresource is defined by not referenced.Instance
vocab-materialform is defined by not referenced.Instance
vocab-materialformtype is defined by not referenced.Instance
vocab-acousticalproperties is defined by not referenced.Instance
vocab-durabilityproperties is defined by not referenced.Instance
vocab-electricalproperties is defined by not referenced.Instance
vocab-mechanicalproperties is defined by not referenced.Instance
vocab-hygrothermalproperties is defined by not referenced.Instance
vocab-opticalproperties is defined by not referenced.Instance
vocab-sensorialproperties is defined by not referenced.Instance
vocab-smartmaterialproperties is defined by not referenced.Instance
vocab-additionalproperties is defined by not referenced.Instance
vocab-mechanicalpropertyunits is defined by not referenced.Instance
vocab-hygrothermalpropertyunits is defined by not referenced.Instance
vocab-recycledcontentqualifiers is defined by not referenced.Instance
vocab-lifecyclecomponents is defined by not referenced.Instance
vocab-energyunits is defined by not referenced.Instance
vocab-ecologicalcertifications is defined by not referenced.Instance
vocab-castingprocesses is defined by not referenced.Instance
vocab-deformingprocesses is defined by not referenced.Instance
vocab-joiningprocesses is defined by not referenced.Instance
vocab-machiningprocesses is defined by not referenced.Instance
vocab-moldingprocesses is defined by not referenced.Instance
vocab-rapidprototypingprocesses is defined by not referenced.Instance
vocab-surfacingprocesses is defined by not referenced.Instance
vocab-additionalprocesses is defined by not referenced.Need to create
instance vocab-addresstype
Need to create instance vocab-deaccessionapprovalgroup
Need to create instance vocab-deaccessionapprovalstatus
Need to create instance vocab-disposalmethod
Need to create instance place-place
Need to create instance place-tgn_place
Need to create instance citation-citation
Need to create instance citation-worldcat
Need to create instance organization-organization
Need to create instance organization-ulan_oa
Need to create instance location-location
Need to create instance location-offsite_sla
==============================
However the term list management field isn't populated. I tried to
relogin, refresh, and restart the colletionspace instance, but nothing
happened.
I also made sure that the tenant ID was defined in the xml file for
test-tenant.xml (which I've set to 6). In the output dump, it says it needs
to create, which I thought it would then proceed to do, but apparently it
doesn't? I also checked the log and saw this after the log output of the
above output, and this caught my eye:
2018-02-10 02:00:21,302 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63]
Temporary XMLMerge files will be written out to
'/usr/local/share/apache-tomcat-7.0.64/temp/merged-app-confi
g-6158963585609120978'.
2018-02-10 02:00:22,031 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69] Initializing
vocab/auth entries...
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.apache.commons.httpclient.HttpMethodDirector:722] Failure
authenticating with BASIC 'org.collectionspace.services'@localhost:8180
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error code:
401
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Request target:
/workauthorities/urn:cspace:name(work)/items?wf_deleted=false
2018-02-10 02:00:22,052 INFO [http-bio-8180-exec-4]
[org.collectionspace.chain.csp.webui.misc.WebReset:69]
Detailed error message:
Could not retrieve vocabulary items
Could not get session from CSPACESESSID cookie with value:
36939744689940ce1ef062f7e52683d5
I'm not sure if that's the result of the failure to populate the term
lists, but the "could not retrieve vocabulary items" seems suspicious.
I'm just stuck now at this part. Any recommendations on what to do next?
-Peter
Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists
.collectionspace.org