## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
CollectiveAccess
@collectiveaccess
One note: Elastic 5.6 makes some breaking changes that the current release doesn't account for
We have a fix for that that is being evaluated by one of our Elastic users currently.
If your Elastic install spits out a bunch of errors about mapping errors let me know and I'll send you the patch.
@sshipley64 My only guess would be it's not set in both places, but I know you've looked at that already
Both Providence and Pawtucket use the same search code. Are you running widely differing versions of Providence and Pawtucket?
peterjanssens
@peterjanssens
thx @collectiveaccess I guess I need to make a modified copy of that search.conf in app/conf/local ? I had a mapping problem already indeed where a search to /index/ca_user/[user_id] was triggered (prior to re-indexing). I'm not sure if we will be loading users in our elastic. Does the ES integration require all those mappings to exist ?
CollectiveAccess
@collectiveaccess
Standard procedure is to create a search.conf file in local/ and only add the settings you wish to change there. Anything not defined in your local/search.conf will use the value in the "stock" search.conf
The ES integration attempts to create the mappings it requires
you should not need to do anything special other than run the reindex
What version of ES are you running?
peterjanssens
@peterjanssens
ah ok thx again that keeps the searching to a minimum :) I'm still looking into performance issues as well where our installation has a TTFB of around 3 seconds where the actual processing take only 500ms, any tips there are welcome (CA 1.6 on a docker installation with php:7.x-apache)
our elastic is 7.4
CollectiveAccess
@collectiveaccess
We have zero testing with that version. Not many people running CA use ES unfortunately.
I can try to take a look in the next few days, before the holiday
Is the 3 second delay only when searching?
peterjanssens
@peterjanssens
they are added on almost every request
CollectiveAccess
@collectiveaccess
That's not good. No idea why unless I looked at the actual system.
It could be a hundred different things.
peterjanssens
@peterjanssens
xdebug cachegrind reveals the actual load of around 500-600ms
CollectiveAccess
@collectiveaccess
Ok well let me know what I can do to help further.
peterjanssens
@peterjanssens
ok thanks for your help already, I just started scratching the surface here :)
Karl Krägelin
@karkraeg
@collectiveaccess How do you clear the image? redis-cli flushall?
CollectiveAccess
@collectiveaccess
Image of what?
sshipley64
@sshipley64
@collectiveaccess I had match on stem set to 1 and that was the issue.
miceno
Merry Christmas!!! Wiki documentation site is down at https://docs.collectiveaccess.org/
CollectiveAccess
@collectiveaccess
We are using the holiday to upgrade a couple of servers. It will be back up later today or tomorrow, once the RAID finishes rebuilding :-/
David Coppoolse
@dalsegnoalfine
Any news on the wiki? Getting kind of stuck with a project here without the documentation... Happy 2020!
David Coppoolse
@dalsegnoalfine
@collectiveaccess Howdy! There's no collection<>storage location relationship to be found under Administration>Relationship types, and while I can add it in a collections UI, it doesn't work (does not store the added value). Any thoughts on how to fix this?
miceno
Happy New Year!! Trying to post the last last message of the year at the support site https://collectiveaccess.org/support/index.php?p=/post/discussion, but getting instead a pop up with "{ "Code": 403, "Exception": "You need the Garden.Community.Manage permission to do that.", "Class": "Gdn_UserException" }
miceno
It looks like the Garden issue on the forum is temporal, I have just posted some more forum messages!
CollectiveAccess
@collectiveaccess
@dalsegnoalfine Works for me. Depending upon the age of the system and how it was installed you may need to run a caUtils command (on the server command line) to reset some of the relationship type internal data. The command is check-relationship-type-roots
Ex. from the support/directory run bin/caUtils check-relationship-type-roots
@miceno_twitter I guess you got throttled by the forum software.
RuteM
@RuteM
In the gallery there is possibility of limits, for example, to 5 galleries displayed on Pawtucket?
When I export the pdf on the summary screen the images are not visible. Do you know what it could be?
David Coppoolse
@dalsegnoalfine
@collectiveaccess. It happens on two recent installations with the latest official release. I will give your suggestion a try.
lizm713
@lizm713
Does Collective Access recognize markers/timestamps on imported time-based media? I am familiar with the annotation tools in CA, but I'm wondering if existing markers created in other software can be used as well. Thanks.
CollectiveAccess
@collectiveaccess
@lizm713 No it does not
lizm713
@lizm713
Good to know - thanks for the info. We'll do our annotations in CA!
CollectiveAccess
@collectiveaccess
It would be possible to import annotations from a file format... we'd just need to know what the format is
If you want that sort of support added create a detailed ticket on JIRA (https://collectiveaccess.atlassian.net)
peterjanssens
@peterjanssens
hi @collectiveaccess, reindexing succeeded (partially) when I dropped ElasticSearch to 5.6 (partially because currently it stops at about 1500 of the 14k objects). It is not very clear though how you got to pass analyzers (like chinese in our case) to the field mapping? The mapping gets dropped when you reindex so building one apart from the CA process is short lived.
Eric STOCLET
@estoclet
Hello all !
I've installed CA 1.7.8 but at the end of installation, the login page show "Access denied" message
peterjanssens
@peterjanssens
@collectiveaccess all objects are indexed now, I forgot to turn off my xdebug :)
Eric STOCLET
@estoclet
@estoclet up ?
peterjanssens
@peterjanssens
interstitial
Anita Ruijmen
@aruijmen

@collectiveaccess
Hello CA, I have some questions for you.
We are using 1.7.8 (master).
I created an object_x_entity relationship with interstitial information.
But when I click on the 'paperclip' after creating a relationship, I simply get a blanc screen.
And I get the following error:

( ! ) Fatal error: Call to a member function getParameter() on null in C:\xampp\htdocs\ca_veb_test\app\lib\ResultContext.php on line 617
Call Stack
Time Memory Function Location

1 0.0013 157208 {main}( ) ..\index.php:0
2 1.2492 40524480 AppController->dispatch( ) ..\index.php:120
3 1.2492 40525224 RequestDispatcher->dispatch( ) ..\AppController.php:113
4 1.3185 43652448 BaseInterstitialController->Form( ) ..\RequestDispatcher.php:273
5 1.9774 58950232 ResultContext->getParameter( ) ..\BaseInterstitialController.php:127

I tried it also on your demo-site, and there everything is ok.

Anita Ruijmen
@aruijmen
I already asked this question on nov 14. I traced the error as far as to line 127 of app/lib/BaseInterstitialController.php,
$this->view->setVar('default_parent_id',$this->opo_result_context->getParameter(\$t_subject->tableName().'_last_parent_id'));
What can I do to solve this problem? Any clues?
Anita Ruijmen
@aruijmen
@collectiveaccess
A second question: We have a metadata-field called ISBN. These numbers follow certain rules.
The field contains a regex to make sure only valid numbers are entered.
e.g. ((978[--– ])?[0-9][0-9--– ]{10}[--– ][0-9xX])|((978)?[0-9]{9}[0-9Xx])
We noticed that when using an importer, and uploading data, the isbn's that are uploaded are not checked against this regex.
(even invalid isbn's are imported and no errors are generated).
When adding an isbn in the CA-interface, the isbn is not added when invalid.
What are we doing wrong. Why are isbn's not checked against the metadata-regex, or is this behaviour as designed?
Anita Ruijmen
@aruijmen