talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

error code

EG
Elayne Glantzberg
Sun, Nov 25, 2018 1:49 AM

I am currently running v4.4. (We'd like to update to 5, but I haven't been able to figure out how to get a custom tenant to work while importing our old data yet, and I can't seem to find any instructions.) The system recently choked on something again, I don't even know what because I didn't make any changes to it between verifying that the restore to v4.4 worked and getting this new problem. I hope somebody here has seen this and can help.

I am getting the following error code anytime I try to do a Search: "We've encountered an error retrieving search results. Please try again: Service layer exception Bad request during identifier cache map update: status not 200 is 400". In addition, I cannot load the "My CollectionSpace" page where you can see all the items in the database; it gets stuck on the loading wheel and never finishes loading. The Administration page works, and I was able to add a new user to the system. If I go to "Create New", it will load the catalogue page, but it will not save, throwing up this error: "Create request failed: on org.collectionspace.services.collectionobject.CollectionObjectResource csid="

I have already tried shutting down and restarting the server; running "mvn clean install -DskipTests" in both services and application; running "ant undeploy deploy" and "ant import" from services; restarting psql; clearing my browser cache; and trying to run initialise, which produced another error:

<pre style="">Initialise vocab/auth entries
testing authority person

Detailed error code:
	401
Request target:
	/personauthorities/urn:cspace:name(person)/items?wf_deleted=false
Detailed error message:
	Could not retrieve vocabulary items

Hopeful for help,

Elayne Glantzberg

Database Administrator, Aquarian Tabernacle Church

MC
Mark Cooper
Tue, Nov 27, 2018 7:14 PM

Hi Elayne,

I may not be following along exactly but it sounds to me as if you
attempted an upgrade to v5, reverted to v4 on a single system and are
now having issues with your tenant on v4.

What I'd generally recommend is that you backup your databases and
clean install a v4 system, reinitialize your tenant and restore the
databases. Ideally you'd prepare your CollectionSpace system in a way
that makes this easy, but this may not be the best advice for you
depending on how you're managing CollectionSpace.

If possible I'd suggest you reinstall CollectionSpace v4 with your
tenant on a new, completely independent test server (it could be a
virtual machine, doesn't have to be online) and just get up and running
again without data. Make sure everything works. Next, you can restore
databases into the test system and confirm everything is still ok.
Going through this process may alert you to what is off with your
current system or just give you enough knowledge to fully restore /
replace your current system with a working one.

If that works for you I'd recommend following the same process for
testing the v5 upgrade i.e. setup a new, independent test server,
upgrade your tenant configuration, install CollectionSpace, review, and
if working proceed to restore databases. Finally upgrade / replace v4
system with the v5 one.

Best,
Mark

Mark Cooper
LYRASIS

On Sat, 2018-11-24 at 18:49 -0700, Elayne Glantzberg wrote:

I am currently running v4.4. (We'd like to update to 5, but I haven't
been able to figure out how to get a custom tenant to work while
importing our old data yet, and I can't seem to find any
instructions.) The system recently choked on something again, I don't
even know what because I didn't make any changes to it between
verifying that the restore to v4.4 worked and getting this new
problem. I hope somebody here has seen this and can help.

I am getting the following error code anytime I try to do a Search:
"We've encountered an error retrieving search results. Please try
again: Service layer exception Bad request during identifier cache
map update: status not 200 is 400". In addition, I cannot load the
"My CollectionSpace" page where you can see all the items in the
database; it gets stuck on the loading wheel and never finishes
loading. The Administration page works, and I was able to add a new
user to the system. If I go to "Create New", it will load the
catalogue page, but it will not save, throwing up this error: "Create
request failed: on
org.collectionspace.services.collectionobject.CollectionObjectResourc
e csid="

I have already tried shutting down and restarting the server; running
"mvn clean install -DskipTests" in both services and application;
running "ant undeploy deploy" and "ant import" from services;
restarting psql; clearing my browser cache; and trying to run
initialise, which produced another error:

Initialise vocab/auth entries
testing authority person

Detailed error code:
401
Request target:
/personauthorities/urn:cspace:name(person)/items?wf_deleted=fal
se
Detailed error message:
Could not retrieve vocabulary items

Hopeful for help,

Elayne Glantzberg
Database Administrator, Aquarian Tabernacle Church


Talk mailing list
Talk@lists.collectionspace.org

Hi Elayne, I may not be following along exactly but it sounds to me as if you attempted an upgrade to v5, reverted to v4 on a single system and are now having issues with your tenant on v4. What I'd generally recommend is that you backup your databases and clean install a v4 system, reinitialize your tenant and restore the databases. Ideally you'd prepare your CollectionSpace system in a way that makes this easy, but this may not be the best advice for you depending on how you're managing CollectionSpace. If possible I'd suggest you reinstall CollectionSpace v4 with your tenant on a new, completely independent test server (it could be a virtual machine, doesn't have to be online) and just get up and running again without data. Make sure everything works. Next, you can restore databases into the test system and confirm everything is still ok. Going through this process may alert you to what is off with your current system or just give you enough knowledge to fully restore / replace your current system with a working one. If that works for you I'd recommend following the same process for testing the v5 upgrade i.e. setup a new, independent test server, upgrade your tenant configuration, install CollectionSpace, review, and if working proceed to restore databases. Finally upgrade / replace v4 system with the v5 one. Best, Mark Mark Cooper LYRASIS On Sat, 2018-11-24 at 18:49 -0700, Elayne Glantzberg wrote: > I am currently running v4.4. (We'd like to update to 5, but I haven't > been able to figure out how to get a custom tenant to work while > importing our old data yet, and I can't seem to find any > instructions.) The system recently choked on something again, I don't > even know what because I didn't make any changes to it between > verifying that the restore to v4.4 worked and getting this new > problem. I hope somebody here has seen this and can help. > > I am getting the following error code anytime I try to do a Search: > "We've encountered an error retrieving search results. Please try > again: Service layer exception Bad request during identifier cache > map update: status not 200 is 400". In addition, I cannot load the > "My CollectionSpace" page where you can see all the items in the > database; it gets stuck on the loading wheel and never finishes > loading. The Administration page works, and I was able to add a new > user to the system. If I go to "Create New", it will load the > catalogue page, but it will not save, throwing up this error: "Create > request failed: on > org.collectionspace.services.collectionobject.CollectionObjectResourc > e csid=" > > I have already tried shutting down and restarting the server; running > "mvn clean install -DskipTests" in both services and application; > running "ant undeploy deploy" and "ant import" from services; > restarting psql; clearing my browser cache; and trying to run > initialise, which produced another error: > > Initialise vocab/auth entries > testing authority person > > Detailed error code: > 401 > Request target: > /personauthorities/urn:cspace:name(person)/items?wf_deleted=fal > se > Detailed error message: > Could not retrieve vocabulary items > > Hopeful for help, > > Elayne Glantzberg > Database Administrator, Aquarian Tabernacle Church > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org