We’ve been getting the following errors multiple times daily.
[04-May-2023 09:31:46 UTC] PHP Fatal error: Uncaught Zend_Db_Adapter_Mysqli_Exception: Connection refused in /application/libraries/Zend/Db/Adapter/Mysqli.php:340
Stack trace:
#0 /application/libraries/Zend/Db/Adapter/Abstract.php(861): Zend_Db_Adapter_Mysqli->_connect()
#1 /application/libraries/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('3c70c8873448d4a...', 'varchar')
#2 /application/libraries/Zend/Db/Table/Abstract.php(1345): Zend_Db_Adapter_Abstract->quoteInto('`omek_sessions`...', '3c70c8873448d4a...', 'varchar')
#3 /application/libraries/Zend/Session/SaveHandler/DbTable.php(345): Zend_Db_Table_Abstract->find('3c70c8873448d4a...')
#4 /application/libraries/Omeka/Session/SaveHandler/DbTable.php(102): Zend_Session_SaveHandler_DbTable->write('3c70c8873448d4a...', Arr in /application/libraries/Zend/Db/Adapter/Mysqli.php on line 340
[04-May-2023 09:31:47 UTC] Omeka fatal error: Connection refused.
Confirm that the information in your db.ini file is correct.
We’re hosted by Reclaim and we’ve been working with them to find the source of the errors. I created a test version of the site (with the same plugins, theme, and configuration but a different db) on another server and I’m not getting these errors there. There may be a plugin incompatibility that I haven’t found. I really don’t know what to try next, and I’d very much appreciate advice.
Other potentially useful info:
-
collection of 35k items
-
last year the site was migrated from one Reclaim server to another and upgraded from 2.7.1 to 3.0.3. The errors began then and have become more frequent since
Here’s our plugin stack:
Bulk Metadata Editor
Collection Tree
Commenting
Curator Monitor (custom)
Default Search Options
Dublin Core Extended
Exhibit Builder
Geolocation
Hide Elements
History Log
Item Relations Plus (custom)
JAPP Specific (custom)
Redact Elements
Reference
Reports
Search By Metadata
Simple Pages
Simple Vocab
Sitemap 2