No Global search/replace option in Admin menu

49 views
Skip to first unread message

Elizabeth Thomson

unread,
Apr 13, 2017, 10:35:30 AM4/13/17
to AtoM Users
Hi all,
We have recently installed AtoM (2.3.1, upgrade from 2.3.0) on RHEL 7.3.  The Global search/replace option is not showing up in the Admin menu, although it is listed in the Site Menu list and I can edit and save changes (added a description).  Did we miss a component in our installation setup ?

Dan Gillean

unread,
Apr 13, 2017, 12:56:50 PM4/13/17
to ICA-AtoM Users
Hi Elizabeth,

Can you clarify what you mean by "listed in the Site Menu list"?

Global search/replace was functionality that briefly existed in AtoM 1.3. Because the feature was not scalable for anything beyond a very small installation and was causing all sorts of headaches and data corruption issues, we disabled the feature until funding is secured to deliver this functionality via the Job Scheduler, so it can be performed asynchronously in the background, and not time out.

Were you seeing Global search/replace in your previous 2.3.0 installation?

I have found the original ticket where it was removed (and when we were more optimistic about how soon someone might sponsor scalability enhancements to improve it so we could return the functionality), and it looks like CSS was used to hide the node, rather than stripping it from AtoM completely - so if you are seeing it, it might be due to a problem with how the CSS is compiled in your site. You could try running the following command from AtoM's root directory to recompile the CSS:
  • make -C plugins/arDominionPlugin

If your site has a custom theme, run the same command but target the custom theme plugin. You might want to clear the cache and restart PHP-FPM after. You can clear the cache with the following command:

  • php symfony cc

I'm not sure how to restart PHP-FPM in RHEL, so you might have to look into that further. In Ubuntu 14.04, it would be:

  • sudo service php5-fpm restart

So, to clarify: Global Search/Replace should *not* be present in any 2.x version of AtoM. We do have a wishlist ticket for this feature, if your institution is interested in sponsoring development to return it in the future. See:

Let me know if the CSS recompile helps.

Regards,

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

On Thu, Apr 13, 2017 at 10:35 AM, Elizabeth Thomson <elizabet...@mcgill.ca> wrote:
Hi all,
We have recently installed AtoM (2.3.1, upgrade from 2.3.0) on RHEL 7.3.  The Global search/replace option is not showing up in the Admin menu, although it is listed in the Site Menu list and I can edit and save changes (added a description).  Did we miss a component in our installation setup ?

--
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/710e236d-327c-422a-bd36-155016172b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Elizabeth Thomson

unread,
Apr 27, 2017, 9:59:24 AM4/27/17
to AtoM Users
Hi Dan,
Sorry for the delay in reply.
When I click Admin->Menus I get a page with the header "Site Menu list" and globalReplace is listed there.  
I'm afraid I don't know if it was visible in the 2.3.0 installation since we didn't spend much time with it before upgrading to 2.3.1.
I'd like to try recompiling the CSS to see if that gets rid of it, but we don't have lessc installed.  I've asked our sysadmins to install it, but they wonder if lesscpy would do instead?
From the python documentation package it seems there are differences :

"Differences from less.js

·         All colors are auto-formatted to #nnnnnn. eg, #f7e923

·         Does not preserve CSS comments

Not supported

·         JavaScript evaluation

"


However, in view of the other issues we are having (e.g. https://groups.google.com/d/msg/ica-atom-users/lWxjEE8c3j0/qTpwLpFfAQAJ), I'm wondering if the missing compiler might have resulted in an incomplete installation ? 

Many thanks!
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,
Apr 27, 2017, 12:32:45 PM4/27/17
to ICA-AtoM Users
Hi Elizabeth,

When I click Admin->Menus I get a page with the header "Site Menu list" and globalReplace is listed there.  

Right. We left it in the application when we were hoping it would be improved soon, and hid it from display with CSS. However, you can use AtoM's Admin > Menus module to just delete it if you prefer. I've tried this in my local instance and it seems to behave as expected. 

 
I'm afraid I don't know if it was visible in the 2.3.0 installation since we didn't spend much time with it before upgrading to 2.3.1.
I'd like to try recompiling the CSS to see if that gets rid of it, but we don't have lessc installed.  I've asked our sysadmins to install it, but they wonder if lesscpy would do instead?

I'm not sure, our team is not familiar with lesscpy. I would recommend sticking to the recommended package if it is available.

 
However, in view of the other issues we are having (e.g. https://groups.google.com/d/msg/ica-atom-users/lWxjEE8c3j0/qTpwLpFfAQAJ), I'm wondering if the missing compiler might have resulted in an incomplete installation ?

It is possible! The challenge of choosing to install on a different operating system is that the various packages and dependencies might not all be available on RHEL, or they might use a different version by default, or come from a different source. This is why we don't maintain documentation for all the possible variations out there, and why we are limited in the amount of support we can provide when installing with different systems - there are just so many variables to account for. You might want to have your sysadmins review the installation instructions thoroughly to make sure that all dependencies are installed, that the correct versions are used, etc.

I don't know a lot about the differences in packaging between RHEL and CentOS if there are any, but we do have a CentOS tag in the forum, so you might try looking at some of those posts for tips, workaround, and common issues:

For example, I found this installation guide for RHEL/CentOS that a user shared - keep in mind that we don't test these, but perhaps it will help!

Cheers,

Elizabeth Thomson

unread,
May 1, 2017, 4:19:34 PM5/1/17
to AtoM Users
Hi Dan,
Thanks indeed for the pointer to the CentOS posts.  I'm pursuing the question of packages/dependencies with our central IT support.
Since globalReplace only shows up in the Menu list available to Admin users and can be deleted (confirmed on our test instance), I think all is good regarding this.
Thanks 
Reply all
Reply to author
Forward
0 new messages