Error when trying to update Common from 3.4.67 to 3.4.70 to

Hi all, I’m having an issue trying to update Common. I’m running version 4.1.1 of Omeka S. I was attempting to add IIIF Server, Image Server, and Mirador. When I attempted to install the first one on the module admin side, it threw an error that I needed an updated version of Common. Should be simple enough.

I followed the usual steps for updating that I have done before, renamed the old Common folder on the server as Commoncopy before unzipping the newest version. Whereas I would normally just have to hit upgrade on the admin side, this was instead completely breaking the omeka site and giving me an “Omeka S encountered an error” page. Referring to the Log, I’m getting the following error:

Laminas\ServiceManager\Exception\ServiceNotFoundException: Unable to resolve service “Common\EasyMeta” to a factory; are you certain you provided it during configuration? in /var/local/www/omeka-s/nebraskaland-4.1.1/vendor/laminas/laminas-servicemanager/src/ServiceManager.php:559

I deleted IIIF Server, Image Server, and Mirador off of the server just in case those were causing unknown difficulties. Then if I delete the latest version of Common from our server and restore Commoncopy to its original name, everything goes back to normal. I have also attempted this with version 3.4.69, with the same result. When I went looking for whatever EasyMeta is I found six files with that name in the latest version, but none in 3.4.67.

Any insight would be greatly appreciated!

CK

Hi @ckoch,

I am not sure I have an answer, but I just experienced the exact same thing you did trying to ugprade Common from 3.4.70 to 3.4.72. What got me around the issue it seems, was the module Advanced Search. I had to deactivate it, then upgrade common and then it worked just fine. Then activated Advanced Search and upgraded that as well. Not sure if you have that module on your system, but was curious that we got the same error. I have noticed that anytime i have to upgrade Common, I need to deactivate Advanced Search otherwise the whole omeka -s won’t start.

Sanjin

Yes, Advanced Search should be disabled for this upgrade. it will be fixed in a future version. This issue appears only in some cases when modules are not updated at the same time.

Oh wonderful, I just tried it and it worked like a charm! What a good start to my Monday, thanks!