History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-2340
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: 3 3
Assignee: Unassigned
Reporter: Daniel Ostermeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Using restore option --restore fails.

Created: 22/Feb/10 07:16 PM   Updated: 22/Feb/10 07:45 PM
Component/s: None
Affects Version/s: 2.0.28
Fix Version/s: 2.1.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Incidentally, the --restore option causes an error, that is, when I typed

./pulse start --restore

I got the following:

[2/13/10 4:03:27 AM GMT] Using config file '/root/.pulse2/config.properties'.
[2/13/10 4:03:27 AM GMT] Using data path '/local/home/eng/.pulse2'.
[2/13/10 4:03:41 AM GMT] Using external database 'jdbc:mysql://localhost:3306/pulse2?autoReconnect=true'.
[2/13/10 4:03:41 AM GMT] Restoring from archive file: /usr/local/pulse2.0.28/bin/--
Feb 13, 2010 4:03:41 AM com.zutubi.pulse.master.bootstrap.DefaultSetupManager handleRestorationProcess
SEVERE: Restore preparation failed: Unexpected archive file: /usr/local/pulse2.0.28/bin/--, skipping restoration.
com.zutubi.pulse.master.restore.ArchiveException: Unexpected archive file: /usr/local/pulse2.0.28/bin/--
        at com.zutubi.pulse.master.restore.ArchiveFactory.importArchive(ArchiveFactory.java:116)
        at com.zutubi.pulse.master.restore.DefaultRestoreManager.prepareRestore(DefaultRestoreManager.java:65)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleRestorationProcess(DefaultSetupManager.java:710)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.requestDbComplete(DefaultSetupManager.java:306)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleDbMigration(DefaultSetupManager.java:262)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.handleDbSetup(DefaultSetupManager.java:245)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.requestDataComplete(DefaultSetupManager.java:207)
        at com.zutubi.pulse.master.bootstrap.DefaultSetupManager.startSetupWorkflow(DefaultSetupManager.java:131)
        at com.zutubi.pulse.master.bootstrap.tasks.ProcessSetupStartupTask.run(ProcessSetupStartupTask.java:60)
        at com.zutubi.pulse.master.security.PulseThreadFactory$DelegatingRunnable.run(PulseThreadFactory.java:33)
        at java.lang.Thread.run(Thread.java:619)
[2/13/10 4:03:42 AM GMT] Checking license...
[2/13/10 4:03:42 AM GMT] License accepted.

... and no restore occurred. It took me awhile to figure out that it didn't like the "--restore"; it works fine with the short option, though.

 All   Comments   Work Log   Change History      Sort Order:
Daniel Ostermeier - 22/Feb/10 07:44 PM
This has been fixed on 2.1.x as part of revision 6066.

Daniel Ostermeier - 22/Feb/10 07:45 PM
fixed as part of changes for CIB-1457 in revision 6066