TurnKey Linux Virtual Appliance Library

TKLBAM error with v11.0 release

Jeremy's picture

Hi guys,

I have just installed the 11.0 final release Fileserver appliance. And it looks awesome - as I've come to expect from TKL :)

But...

TKLBAM doesn't seem to be working :(

> tklbam-backup
Traceback (most recent call last):
File "/usr/bin/tklbam-backup", line 266, in <module>
main()
File "/usr/bin/tklbam-backup", line 195, in main
conf.profile = get_profile(hb)
File "/usr/bin/tklbam-backup", line 122, in get_profile
new_profile = hb.get_new_profile(turnkey_version, profile_timestamp)
File "/usr/lib/tklbam/hub.py", line 207, in get_new_profile
response = self._api('GET', 'archive/timestamp/', attrs)
File "/usr/lib/tklbam/hub.py", line 185, in _api
return API.request(method, self.API_URL + uri, attrs, headers)
File "/usr/lib/tklbam/hub.py", line 129, in request
raise Error(c.response_code, name, description)
hub.Error: (404, 'BackupArchive.NotFound', 'Backup profile archive not found: turnkey-fileserver-11.0-lucid-x86') 

At a glance looks like perhaps it doesn't recognise the new final version of the appliance?

Alon Swartz's picture

11.0 TKLBAM profiles not yet available

We haven't generated the 11.0 TKLBAM profiles yet, so they aren't available. Hence the reason we have yet to update the website with the appliance download links (and no announcement). They should be available really really soon. As soon as they are, we'll update the website.

Once the profiles are available, you can just run tklbam-init APIKEY or use the webmin module. Thanks for noticing and posting so others will know the status.

Liraz has been working hard on other website tweaks as well - so we're all in for a treat.

Jeremy's picture

Thanks Alon

I thought it might have been something like that but thanks for the clarification.

Unfortunately TKLBAM is the least of my problems at the moment :( - Win Server grrrrr!

Any news when this will be done?

I am having the same problem trying to backup up turnkey-core-11.0-lucid-x86

I am working on setting up a new infrastructure first in amazon and then in our datacenter .. Because of that i need the backup/migration functionality working. Any news when this will be done? alternativelly can i use a old version i.e. turnkey-core-2009.10-2-hardy and then use tklbam took to migrate to turnkey-core-11.0-lucid-x86

Thanks

Alon Swartz's picture

Really soon...

I know I've said this before, but the 11.0 TKLBAM profiles should be out really soon. Additionally, we'll be pushing out a large update to the Hub for 11.0 support (in all regions, including ap-southeast-1) as well as preseeding support. There will also be a "legacy" launch option to ease the transition for current users.

Update: I just updated the Hub (details here).

Liraz Siri's picture

Generated profiles for 11.0

I've just finished creating the profiles for the 11.0 images. TKLBAM should work now. I'm updating the site's appliance templates to point to the final images instead of the RC though we won't be officially announcing the release (e.g., blog/newsletter) until next week or so when the VM builds are ready.

Duplicity Non-Zero Exit Code (35) Error

Anyone know why I might have started getting this in a Redmine appliance (11.1) when I run tklbam-backup all of a sudden?  It causes the backups to fail.  

File "/usr/lib/tklbam/duplicity.py", line 79, in run raise Error("non-zero exitcode (%d) from backup command)

Thanks!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)