Moving ManagedRepository directory II
Posted: Fri Jun 26, 2015 9:35 pm
New machines, similar problem.
After copying the ManagedRepository to a new location, setting the new location with the "bin/omero config" command, and restarting the server, when I tried to import an image, I get this message:
Looking deeper, I found that the confirmation message of the data directory move was NOT in the Blitz-0.log. I tried the config command again and no message was printed on the screen. However, looking into the Blitz-0.log file I saw:
(Most recent 5000 lines of Blitz-0.log file have been attached.)
There were no image files imported into the ManagedRepository before the move was attempted. (On a sister server that is having the same problem now, a test image was loaded and copied over to the new location.) The directories from / to the OMERO directory I want to hold the ManagedRepository files are owned by (Linux)root, all with drwxr-xr-x permissions. The OMERO directory is owned by the (Linux) omero account:
Any ideas on how to get this set up as I need or what I did wrong (this time)?
After copying the ManagedRepository to a new location, setting the new location with the "bin/omero config" command, and restarting the server, when I tried to import an image, I get this message:
- Code: Select all
2015-06-26 12:32:54,384 12185 [ main] ERROR ome.formats.importer.ImportLibrary - Error on import
java.lang.RuntimeException: Cannot exclusively use the managed repository.
Looking deeper, I found that the confirmation message of the data directory move was NOT in the Blitz-0.log. I tried the config command again and no message was printed on the screen. However, looking into the Blitz-0.log file I saw:
- Code: Select all
2015-06-26 14:03:37,375 ERROR [ o.s.blitz.repo.AbstractRepositoryI] (2-thread-1) Failed during repository takeover
(Most recent 5000 lines of Blitz-0.log file have been attached.)
There were no image files imported into the ManagedRepository before the move was attempted. (On a sister server that is having the same problem now, a test image was loaded and copied over to the new location.) The directories from / to the OMERO directory I want to hold the ManagedRepository files are owned by (Linux)root, all with drwxr-xr-x permissions. The OMERO directory is owned by the (Linux) omero account:
- Code: Select all
drwxr-xr-x 3 omero ccc 4096 Jun 26 11:47 OMERO
Any ideas on how to get this set up as I need or what I did wrong (this time)?