Issue with uploading files
Posted: Fri Apr 09, 2010 1:00 pm
I have installed Omero 4.1 onto an Ubuntu 8.04 server edition linux virtual machine following the sticky guide posted on this forum. It was all working well until I tried to move the /OMERO folder onto an NFS mount and start using a NIS user login. Now when you upload a photo using the client editor you get the following error:
I have checked the permissions on /OMERO and have (as root) run both chown -R omero:users /OMERO and chmod -R 755 /OMERO.
I can also do the following which shows the file permissions are correct:
The web admin interface works except when you click on drive space it produces a server error (which I have submited through the form).
Any suggestions on a possible fix would be greatly appreciated.
- Code: Select all
java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot load hierarchy for class pojos.DatasetData.
at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:333)
at org.openmicroscopy.shoola.env.data.OMEROGateway.loadContainerHierarchy(OMEROGateway.java:1452)
at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.loadContainerHierarchy(OmeroDataServiceImpl.java:639)
at org.openmicroscopy.shoola.env.data.views.calls.DMLoader$1.doCall(DMLoader.java:86)
at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:145)
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
at java.lang.Thread.run(Unknown Source) Caused by: Ice.MarshalException
reason = (null)
at IceInternal.BasicStream.typeToClass(BasicStream.java:2287)
at IceInternal.BasicStream.findClass(BasicStream.java:2204)
at IceInternal.BasicStream.loadObjectFactory(BasicStream.java:2071)
at IceInternal.BasicStream.readObject(BasicStream.java:1450)
at omero.model.Image.__read(Image.java:2023)
at IceInternal.BasicStream.readObject(BasicStream.java:1500)
at IceInternal.BasicStream.readPendingObjects(BasicStream.java:1632)
at omero.api._IContainerDelM.loadContainerHierarchy(_IContainerDelM.java:611)
at omero.api.IContainerPrxHelper.loadContainerHierarchy(IContainerPrxHelper.java:730)
at omero.api.IContainerPrxHelper.loadContainerHierarchy(IContainerPrxHelper.java:702)
at org.openmicroscopy.shoola.env.data.OMEROGateway.loadContainerHierarchy(OMEROGateway.java:1449)
... 9 more
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:128)
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:179)
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:168)
at org.openmicroscopy.shoola.agents.treeviewer.DataBrowserLoader.handleException(DataBrowserLoader.java:133)
at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84)
at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I have checked the permissions on /OMERO and have (as root) run both chown -R omero:users /OMERO and chmod -R 755 /OMERO.
I can also do the following which shows the file permissions are correct:
- Code: Select all
omero@omeroserv:~$ ls -alh / | grep OMERO
drwxr-xr-x 12 omero users 4.0K 2010-04-09 13:50 OMERO
<removed> on /OMERO type nfs (rw,tcp,bg,intr,addr=<removed>)
omero@omeroserv:~$ touch /OMERO/file
omero@omeroserv:~$ ls -alh
total 179M
drwxr-xr-x 12 omero users 4.0K 2010-04-09 13:50 .
drwxr-xr-x 23 root root 4.0K 2010-04-08 10:59 ..
-rw------- 1 omero users 465 2010-04-09 10:02 .bash_history
-rw-r--r-- 1 omero users 0 2010-04-09 13:50 file
drwxr-xr-x 2 omero users 4.0K 2010-04-07 17:23 Files
drwxr-xr-x 2 omero users 4.0K 2010-04-08 16:15 FullText
drwxr-xr-x 3 omero users 4.0K 2010-04-09 09:58 .java
-rw------- 1 omero users 0 2010-04-09 10:02 .lock_test1TZR_P.tmp
-rw------- 1 omero users 0 2010-04-09 10:00 .lock_test4fq0BK.tmp
-rw------- 1 omero users 0 2010-04-09 09:58 .lock_testAdVEx6.tmp
-rw------- 1 omero users 0 2010-04-09 10:02 .lock_testrqev9_.tmp
-rw------- 1 omero users 0 2010-04-09 09:59 .lock_testtn-9hR.tmp
-rw------- 1 omero users 0 2010-04-09 10:01 .lock_testVp_DRa.tmp
-rw------- 1 omero users 0 2010-04-09 09:58 .lock_testwK2ZEw.tmp
-rw------- 1 omero users 0 2010-04-09 10:02 .lock_testZZWBA1.tmp
drwxr-xr-x 4 omero users 4.0K 2010-04-08 09:59 old_omero
drwxr-xr-x 3 omero users 4.0K 2010-04-07 11:56 omero
drwxr-xr-x 3 omero users 4.0K 2010-04-08 15:17 .omero
-rwxr-xr-x 1 omero users 178M 2009-12-02 12:05 omero-Beta4.1.1.tar
drwxr-xr-x 9 omero users 4.0K 2010-04-07 11:56 omero_dist
drwxr-xr-x 2 omero users 4.0K 2010-04-07 15:33 Pixels
drwxrwxrwx 10 root root 4.0K 2010-04-09 12:00 .snapshot
drwxr-xr-x 2 omero users 4.0K 2010-04-07 17:23 Thumbnails
omero@omeroserv:~$ rm file
The web admin interface works except when you click on drive space it produces a server error (which I have submited through the form).
Any suggestions on a possible fix would be greatly appreciated.