Restore from backup fails due to "Timeout exceeded waiting for service - com.atlassian.activeobjects.spi.Backup"

Still need help?

The Atlassian Community is here for you.

Ask the community


Restoring a Fisheye/Crucible backup using the command line fails and the following is written in stdout:

ERROR: problem running command
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at com.cenqua.fisheye.FishEyeCtl.mainImpl(
	at com.cenqua.fisheye.FishEyeCtl.main(
Caused by:$ServiceTimeoutExceeded: Timeout exceeded waiting for service - com.atlassian.activeobjects.spi.Backup
	at com.sun.proxy.$Proxy27.restore(Unknown Source)
	at com.atlassian.crucible.migration.item.ActiveObjectsBackup$ActiveObjectsRestorer.restore(
	at com.cenqua.fisheye.ctl.Restore.main(
	... 6 more



  • Reproducible when restoring to Oracle 11g and to HSQLDB. This was not tested with other database types.

Diagnostic Steps

  • The backup file, regardless of having been created manually or via scheduled backup, includes the ActiveObjects option among other options.
  • The Java option --Datlassian.plugins.enable.wait=300 cannot be used in the restore command.


The command line fails to restore the Active Objects due to an unknown reason thus far.


Active Objects are database tables used by plugins in order to persist data (most likely plugin configuration data), being them bundled or user installed plugins.

 In the database schema, the Active Objects tables have a common naming prefix, starting with AO_.

For the restore command to work, the Active Objects should not be restored along with the other items backed up, and any plugin that persists data in the Active Objects tables will likely need to be reconfigured.

By default, the restore command will restore all items included in the backup if no specific item is specified along with the command.

Considering the restore command line options mentioned in Backing up and restoring Fisheye data:

Backup options in the web interfaceSwitch
Repository and application caches--cache
Plugins and their configuration data--plugins
SQL database--sql
Web Templates--templates
Uploaded files and local copies of files under review--uploads

The restore command line should include all options backed up except ActiveObjects, so all switches except --ao should be specified along with the restore command line.


  • If the backup includes all options mentioned above, the restore command line should be like this (excluding only --ao): restore --f /path/to/ [OPTIONS] --cache --plugins --sql --templates --uploads
  • If the backup includes ActiveObjects, SQL database and Web Templates, the restore command line should look like this: restore --f /path/to/ [OPTIONS] --sql --templates
  • And so on. The switches that must be specified along with the restore command line depend on what is included in the backup.

In the examples given above, [OPTIONS] is a placeholder for any other restore switches you may need to specify, such as the ones pertinent to database settings if you want to restore into a different database.

Last modified on Jul 31, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.