Hello all,
I'm working on a local server migration to Rhel 8 and concurrent upgrade of ASpace (v341 to v411), as well as upgrading Solr and MariaDB to compatible versions - via traditional deployment (VM, no Docker). We have a custom PUI plugin which required some updates, but aside from this, there were very few issues. The Solr dashboard loads near immediately, indexing was a breeze, and logging set to debug indicates no issues I can identify in archivesspace.out. ASpace appears ready to go within a couple of minutes, which is in line with our production server.
Unfortunately, we (long before my time) deviated from the recommended practice of using a subdomain and instead utilize a prefix (
http://aspace.myarchive.org/staff and
http://aspace.myarchive.org/public). Via the new setup, both the public and staff pages take 20 minutes to load, and deliver 502 proxy errors in the browser and the httpd logs in the interim.
I've never worked with ProxyPass or Proxy URLs before, and TCP/IP is not a strong suit of mine. I've been troubleshooting this alongside our IT Dept, various LLMs, etc., and nothing seems to make a difference. I disabled all plugins. I've uncommented all default URLs in config.rb and changed them to 127.0.0.1, rather than localhost. I've tried every version of localhost/
127.0.0.1/domain in the frontend and public_proxy_url lines in config.rb, as well as via the ProxyPass and ProxyPass Reverse directives in the Apache config, although perhaps a bit haphazardly, as I'm not clear on best practices. I've researched thread dumps and explored port types/labels.
I would love any suggestions the group has to offer, and my fingers are crossed that someone out there has experienced this! I'd be delighted to be embarrassed by some small error at this point.
Thanks for any assistance,
Cristy Danford
Library and Academic Systems Technologist
Barnard College