Getting a strange exception in Zend for new install of Omeka S on
Debian 8.10
Php 5.6.33
Used latest zip from Omeka S download link (Jan 10, 2018)
Error header is after setting env to ‘development’ in .htaccess
database.ini checks out - localhost, user credentials for MySQL DB are fine, as are privileges
Blockquote Omeka S encountered an error
Zend\ServiceManager\Exception\ServiceNotCreatedException
Service with name “Omeka\EntityManager” could not be created. Reason: Redis server went away
No other problems with this server and Omeka Classic, or other MySQL / Php software. I am setting up an omeka dev environment with both S and Classic for handling different client dev needs.
PDO is enabled
I believe the problem here is that the Doctrine code we use is really aggressive about trying to use caching if it’s installed, so I believe it’s noticed that you have the Redis extension, and so assumed that it can connect to a local Redis server.
It’s a problem we need to fix on our end, but if you can remove or disable the Redis extension then this won’t happen.
Not sure exactly how to do that, as unfamiliar with Redis, and its integration.
Found some hints online, but documentation is sketchy.
adding redis_cache_disable = TRUE
to the subdomain php settings doesn’t fix the issue. Not sure if this properly belongs in the php settings or perhaps nginx, or needs to be in a distinct conf file somewhere else in the Plesk 17.5.3 set up. It does not validate in any conf settings context for php or nginx
Any thoughts? Any indication on when S is going to actually check for a Redis server? or get some handling for this kind of thing? I don’t even know if this VM has Redis; can’t find it in any modules or extensions.
Thanks. Yeah, check the extensions in that location. Redis isn’t listed, so not sure where it might be lurking in the php set up. Going to msg my hosting service, and see. Will let you know, since it seems to be calling Redis, but there’s no Redis listed as an extension in the php in the VM. Just weird.