Hi,
we've just upgrade our omero server from:
omero v 5.1.2 running on centos 6 to omero 5.2.6 running on centos 7
13TB Repository help in attached storage.
The upgrade seemed to go well. Users can logon and view images. OMERO.web works. However users cannot upload new images. Uploads fails almost immediately status 'Preparing upload'.
In Blitz.log I see an associated error:
2016-11-27 20:26:19,697 ERROR [ o.h.e.def.AbstractFlushingEventListener] (.Server-11) Could not synchronize database state with session
org.hibernate.exception.SQLGrammarException: could not insert collection: [ome.model.fs.Fileset.jobLinks#32066]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92) ~[hibernate-core.jar:na]
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) ~[hibernate-core.jar:na]
at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1244) ~[hibernate-core.jar:na]
at org.hibernate.action.CollectionRecreateAction.execute(CollectionRecreateAction.java:58) ~[hibernate-core.jar:na]
e.t.c.
A new test database can be created (using the attached storage as a new repository) with new users and they can import images as normal.
A complication is that the server is in AD in which there is an AD user omero. However, we are using a local omero account using the same uid gid as in the previous omero server before the upgrade, and these ids are different from the AD omero user. The server is configured so that local users take precedence. Also the local omero group as been rename omero_g. I mention this just in case it has a bearing.
We have a short period of time in which we can try and trouble shoot before we should revert to the previous install.
Any help would be greatly appreciated,
Bernie