Skip to first unread message

Gonzalo D.

unread,
Nov 13, 2017, 6:30:02 AM11/13/17
to AtoM Users
Hi, I have Atom 2.4 installed on a server with Ubuntu 16.04, following the installation guide.

I have the problem that the search does not find any item, in notes, description, etc ...

Viewing the headers and requests to NGINX shows a 404.


2017/11/13 11:26:15 [error] 43979#43979: *488 FastCGI sent in stderr: "PHP message: This request has been forwarded to a 404 error page by the action "search/autocomplete"" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: _, request: "GET /index.php/search/autocomplete?query=principu&repos= HTTP/1.1", upstream: "fastcgi://unix:/run/php7.0-fpm.atom.sock:", host: "XXX.XXX.XXX.XXX", referrer: "http://XXX.XXX.XXX.XXX/index.php/"

Dan Gillean

unread,
Nov 13, 2017, 11:16:17 AM11/13/17
to ICA-AtoM Users
Hi Gonzalo, 

Strange. Have you tried re-indexing your site? See: 
Some additional questions:
  • Do you see any records when you go Browse > Archival descriptions?
  • What is the default installation culture of your site? Note, you can always check in apps/qubit/config/settings.yml (docs here)
  • What language was the user interface in when the descriptions were created? Are you searching/browsing in the same language, or different?
  • What version of Elasticsearch did you install?
Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/aae31e76-75da-450d-adba-c684cbd6ff91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gonzalo D.

unread,
Nov 13, 2017, 11:41:58 AM11/13/17
to AtoM Users
Hi, Dan Gillean

Yes, I have re-indexed the entire site.

From Browse> Archival descriptions if you find records, but we try to find words from the Notes section that has been published in institution and can not find it.

Default installation culture: EN

The descriptions have been written in the Catalan language, and the interface is the same.

Elasticsearch version:

root@localhost:/usr/share/nginx/atom# curl -XGET 'localhost:9200'

{

  "status" : 200,

  "name" : "M",

  "cluster_name" : "elasticsearch",

  "version" : {

    "number" : "1.7.6",

    "build_hash" : "c730b59357f8ebc555286794dcd90b3411f517c9",

    "build_timestamp" : "2016-11-18T15:21:16Z",

    "build_snapshot" : false,

    "lucene_version" : "4.10.4"

  },

  "tagline" : "You Know, for Search"

}


Thanks for your help


El lunes, 13 de noviembre de 2017, 17:16:17 (UTC+1), Dan Gillean escribió:
Hi Gonzalo, 

Strange. Have you tried re-indexing your site? See: 
Some additional questions:
  • Do you see any records when you go Browse > Archival descriptions?
  • What is the default installation culture of your site? Note, you can always check in apps/qubit/config/settings.yml (docs here)
  • What language was the user interface in when the descriptions were created? Are you searching/browsing in the same language, or different?
  • What version of Elasticsearch did you install?
Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

On Mon, Nov 13, 2017 at 6:30 AM, Gonzalo D. <gonzalod...@gmail.com> wrote:
Hi, I have Atom 2.4 installed on a server with Ubuntu 16.04, following the installation guide.

I have the problem that the search does not find any item, in notes, description, etc ...

Viewing the headers and requests to NGINX shows a 404.


2017/11/13 11:26:15 [error] 43979#43979: *488 FastCGI sent in stderr: "PHP message: This request has been forwarded to a 404 error page by the action "search/autocomplete"" while reading response header from upstream, client: XXX.XXX.XXX.XXX, server: _, request: "GET /index.php/search/autocomplete?query=principu&repos= HTTP/1.1", upstream: "fastcgi://unix:/run/php7.0-fpm.atom.sock:", host: "XXX.XXX.XXX.XXX", referrer: "http://XXX.XXX.XXX.XXX/index.php/"

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.

Dan Gillean

unread,
Nov 13, 2017, 11:58:30 AM11/13/17
to ICA-AtoM Users
Hi Gonzalo, 

Ok, I see, it's just the notes. In that case, unfortunately this is a known issue. Some of the changes we made to improve the 2.4 search index had some unintended side effects, described here: 
Please note that until we can get a fix for this into a public release, there is a simple fix described in this thread, if you are willing to edit one of AtoM's files:
Essentially, try adding generalNotes.content to to the i18nIncludeInAll section in the plugins/arElasticSearchPlugin/config/mapping.yml file in your AtoM installation, around line #417. You can see this file in the AtoM code repository here: 
If you decide to try this, you will need to re-index the site again after, clear the application cache, and restart PHP-FPM and memcached to see the changes take effect. In Ubuntu 16.04 these commands should be: 
  • php symfony search:populate
  • php symfony cc
  • sudo systemctl restart php7.0-fpm
  • sudo systemctl restart memcached
I haven't yet tested this fix myself, but it is working for the user who reported it, and our developers are about to take a look themselves. You can keep an eye on Issue #11537 for changes, if you are interested. 

Regards, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.

Gonzalo D.

unread,
Nov 16, 2017, 4:05:10 AM11/16/17
to AtoM Users
Making these changes has been solved.
Thank you
Reply all
Reply to author
Forward
0 new messages