Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    CollectiveAccess
    @collectiveaccess
    1. A single install, usually with common configuration, but separate databases for each organization. A single vhost accepts request for all relevant hostnames and a slightly hacked up setup.php sets things up based upon incoming hostname.
    1. Containers running in Docker or Kubernetes
    These are just the obvious ones.
    Separate installs are clean but memory intensive, as each install is caching its own code, etc. And they're harder to maintain because each is a separate code base
    We use the single install with single vhost and hacked-up setup.php when we run consortia sites – sites for dozens of similar organizations. It works well generally, but is best if all of the sites expect the same configuration options.
    We use containers + Kubernetes for general hosting. It requires a lot more upfront configuration, but it scales nicely and is pretty easy to manage once it's running.
    TBthegr81
    @TBthegr81
    I started experimenting with Elasticsearch and CA, it wasnt much problem getting providence/pawtucket to use ES for search but now I want to use a third custom built website to display CA objects
    My problem is not knowing what to put into Search_indexing.conf to include full image-URLs to ES, and probably other values but I'm focusing on images right now
    CollectiveAccess
    @collectiveaccess
    You can't index image urls currently
    TBthegr81
    @TBthegr81
    How would I go about getting the images for a searched object then?
    CollectiveAccess
    @collectiveaccess
    Use the API I guess
    You're not going to get them in the ES index
    unless we change the indexer
    I could make the change; it's not a huge deal.
    but it's not something we've ever had a request for before
    TBthegr81
    @TBthegr81
    Hmm, I've seen multiple museeums where they have a Wordpress or something, and they do searches there to a Elasticsearch, and displaying the results to the visitor with about everything ya would expect to find on the details page in Pawtucket
    Though they are all old and uses some custom ES scripts to update the DB with cronjobs
    Thought that was a common useage for an ES/CA combo when custom webpages where involved.
    CollectiveAccess
    @collectiveaccess
    I'm not suggesting it doesn't make sense
    Just that no one has asked for it
    It's not common to use ES with CA actually
    and most users seem to use Pawutcket for front-end stuff
    Antonino Nielfi
    @antonino_nielfi_twitter
    @collectiveaccess and @TBthegr81 thank you, I will try different solutions as you suggest in local and see how that goes. Generally, I only manage private collections, with indexing of objects (it's more of a cataloguing operation), so all of them would mostly use the same configuration.
    Also @collectiveaccess and @TBthegr81 is there an automated backup I can run (especially crucial if I have everything running on a single system) daily or is that something I should set up server-side
    TBthegr81
    @TBthegr81
    I usually set up Automysqlbackup to dump the DB, some versions of the script has options to exclude som tables so I usually skip the user table for GDPR, and the search-index tables since they are so huge.
    Then ya complement that with a rsync script that sync the mediafolder to an offsite backup.
    Ya only goto backup ur configs and such once if yar afraid ya gonna hafta set up the server again when everything burns down
    TBthegr81
    @TBthegr81
    @collectiveaccess Trying to figure out how I enable multiple languages for Pawtucket2, so I can have different about-pages in Eng/Swe
    I have added both locales into the ui_locales array in app.conf, but I suspect there is some boolean somewhere that needs to be flipped for a dropdown with languages to appear in the header of Paw?
    TBthegr81
    @TBthegr81
    I found in a forum-thread too make copies of the view-files and add the alternative locale after the filename, but how do I let the user choose what locale gets used?
    1 reply
    Rae del Cerro F.
    @Raedelcerro_twitter
    Hi again! I'm trying to display a Location (place) in Pawtucket which is under Object, for example, Country: America -> South America -> Chile. I could display text fields, lists, rangedates in object templates without problem, but I can't display Places or Entities. I don't know the code for that. I thought it would be as simple as calling ^ca_object.paw_country (which is the code element for that), but it didn't work. Is it possible to show those kinds of fields (Places and Entities) in object templates? I've read the wiki and I couldn't find an example. Thanks in advance!
    Biblioteca é muito +
    @bib_mais_twitter
    Hi, I am trying to display the complete hierarchical list of occurrences defined in our system (Event > Section > Subsection). The syntax I used worked partially: <unit relativeTo ="ca_occurrences.children" allDescendants>^ca_occurrences.hierarchy.preferredlabels.name%delimiter=➔_ (^ca_occurrences.idno) I would like to display all hierarchical relation that conects (types) Event > Section > Subsection. However, I can only display data type Event and Section. Any tip?
    Biblioteca é muito +
    @bib_mais_twitter
    Hello :) , another question: Has anyone used / implemented the Library Circulation module? or is there any other detailed guidance page? I would like to make some adjustments and identify some features (for example, how do I renew publications?) but I did not find any updates for this module...
    CollectiveAccess
    @collectiveaccess
    @bib_mais_twitter What does it display exactly? The hierarchy excluding subsection?
    @bib_mais_twitter We haven't been maintaining that, but plan to start work again on it in May
    I'll work on some actual documentation for it. For now, all that there is is in the library_services.conf file
    sshipley64
    @sshipley64
    I'm trying to install 1.7.8--I'm on windows and I've always had to set CA_BASE_DIR and CA_URL_ROOT . I've found the place in post-setup where they are defined. If I put in an invalid path, I get the " Please check the CA_BASE_DIR configuration setting in your setup.php file", but if I put in a valid path --D:/providence , I get a blank screen on the installer.
    CollectiveAccess
    @collectiveaccess
    try adding this line to your setup.php file
    ini_set("display_errors", "On");
    you may see a PHP errors once that's in there
    and that could give us a clue to the problem
    Also, you can set CA_BASE_DIR and friends in setup.php
    They'll override the defaults in post-setup.php
    sshipley64
    @sshipley64
    I tried putting directly in setup--same thing there. Added the display errors and I get the added error information if I put in a invalid path, but still nothing if I add a valid path. I've checked the folder permissions and they are the same as previous installations that work...
    CollectiveAccess
    @collectiveaccess
    My guess is that it's permissions
    but that's because I have no idea how this machine is set up
    Do you have any custom profiles dropped into install/profiles/xml ?
    sshipley64
    @sshipley64
    no, I haven't done that yet.
    CollectiveAccess
    @collectiveaccess
    any chance I can get access to the machine?
    sshipley64
    @sshipley64
    I think that would be a hard sell to IT-- I could do a screen share in appear tho.
    sshipley64
    @sshipley64
    Okay--I just tried installing a fresh version of 1.7.6 and I'm getting the same thing --so it just must be a step I didn't document well enough because I have a working version of that.
    CollectiveAccess
    @collectiveaccess
    Ok if you want me to look at it maybe we can do a TeamViewer share or something
    Without looking at the machine and trying a few things it's really hard to say anything more though
    sshipley64
    @sshipley64
    Thanks.
    sshipley64
    @sshipley64
    Just realized I don't think I ever did a fresh install of 1.7.6--just upgraded. It let me upgrade from an old test instance to 1.7.8. So if it's permissions issues, it would relate just to the installer. I granted all privileges to the new mysql database for the user in setup.