Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore-completed failing for version 0 journals #114

Open
streber42 opened this issue Jun 26, 2015 · 5 comments
Open

restore-completed failing for version 0 journals #114

streber42 opened this issue Jun 26, 2015 · 5 comments

Comments

@streber42
Copy link

I was trying to restore my files with a version 0 journal and I'd get this error:
UNEXPECTED ERROR (parent): at /usr/share/perl5/App/MtAws/QueueJob/Download.pm line 43.

which I was able to track down to mtime being set to undef for Version 0 journal entries.

So I hacked Journal.pm to set mtime to $time+0 and it works now. Not sure what the proper fix would be.

It also failed for a restored inventory that was version B since that was also setting mtime to undef.

@vsespb
Copy link
Owner

vsespb commented Jun 26, 2015

hm, that's weird! I am sure I tested all variants.
thanks for report - I'll investigate, check again.

@streber42
Copy link
Author

I can send you the journal file if it would be helpful.

@vsespb
Copy link
Owner

vsespb commented Jun 26, 2015

Yes, would be helpful - email is vs at vs-dev dot com
Also full command line with all parameters, just in case.

@AllaDounia
Copy link

AllaDounia commented Jan 17, 2018

@vsespb I'm having the same issue as this and I'm using a journal that I generated using the retrieve/download Inventory.
How did you guys fix this issue , and by the way it worked for the first time

@rodrigoross
Copy link

@vsespb like @AllaDounia I'm too having the same problem using journal generated with the retrieve/download inventory commands. I'll try to look in how @streber42 fixed the issue, but with there is any news would appreciate that.

UNEXPECTED ERROR (parent): at /etc/aws-glacier/lib/App/MtAws/QueueJob/Download.pm line 43. App::MtAws::QueueJob::Download::init('App::MtAws::QueueJob::Download=HASH(0x2cda5a0)') called at /etc/aws-glacier/lib/App/MtAws/QueueJob.pm line 38 App::MtAws::QueueJob::new('App::MtAws::QueueJob::Download', 'archive_id', 'l6taMJN0uKAqkzie_HEWuGAiKLyJBorCSxcmnpghxMQwYzFoJbiZk673hLRAx...', 'filename', '/glacier-bkp/l6taMJN0uKAqkzie_HEWuGAiKLyJBorCSxcmnpghxMQwYzFo...', 'relfilename', 'l6taMJN0uKAqkzie_HEWuGAiKLyJBorCSxcmnpghxMQwYzFoJbiZk673hLRAx...', 'size', 4194304, ...) called at /etc/aws-glacier/lib/App/MtAws/QueueJob/FetchAndDownload.pm line 73 App::MtAws::QueueJob::FetchAndDownload::next_download('App::MtAws::QueueJob::FetchAndDownload=HASH(0x22d14f0)') called at /etc/aws-glacier/lib/App/MtAws/QueueJob/FetchAndDownload.pm line 86 App::MtAws::QueueJob::FetchAndDownload::__ANON__() called at /etc/aws-glacier/lib/App/MtAws/QueueJob/Iterator.pm line 47 App::MtAws::QueueJob::Iterator::get_next_itt('App::MtAws::QueueJob::Iterator=HASH(0x2849458)') called at /etc/aws-glacier/lib/App/MtAws/QueueJob/Iterator.pm line 100 App::MtAws::QueueJob::Iterator::on_itt_and_jobs('App::MtAws::QueueJob::Iterator=HASH(0x2849458)') called at /etc/aws-glacier/lib/App/MtAws/QueueJob.pm line 99 App::MtAws::QueueJob::next('App::MtAws::QueueJob::Iterator=HASH(0x2849458)') called at /etc/aws-glacier/lib/App/MtAws/QueueJob.pm line 88 App::MtAws::QueueJob::next('App::MtAws::QueueJob::FetchAndDownload=HASH(0x22d14f0)') called at /etc/aws-glacier/lib/App/MtAws/QueueEngine.pm line 78 App::MtAws::QueueEngine::process('App::MtAws::ParentWorker=HASH(0x2844518)', 'App::MtAws::QueueJob::FetchAndDownload=HASH(0x22d14f0)') called at /etc/aws-glacier/lib/App/MtAws/ParentWorker.pm line 83 App::MtAws::ParentWorker::process_task('App::MtAws::ParentWorker=HASH(0x2844518)', 'App::MtAws::QueueJob::FetchAndDownload=HASH(0x22d14f0)', 'App::MtAws::Journal=HASH(0x25f7b00)') called at /etc/aws-glacier/lib/App/MtAws.pm line 276 App::MtAws::__ANON__() called at /etc/aws-glacier/lib/App/MtAws/ForkEngine.pm line 58 eval {...} called at /etc/aws-glacier/lib/App/MtAws/ForkEngine.pm line 58 App::MtAws::ForkEngine::with_forks(1, 'HASH(0x28501d8)', 'CODE(0x28502e0)') called at /etc/aws-glacier/lib/App/MtAws.pm line 283 App::MtAws::process() called at /etc/aws-glacier/lib/App/MtAws.pm line 121 eval {...} called at /etc/aws-glacier/lib/App/MtAws.pm line 121 App::MtAws::main() called at /etc/aws-glacier/mtglacier line 5

The message that I received when trying the restore-completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants