A8ree's picture


I am trying to do a first backup of my server. The signup to Amazon for storage has been completed and I have my Turnkey hub API key. When I try to set it on the server web interface I get the error 

Error: error(6, "Couldn't resolve host 'hub.turnkeylinux.org'")

Can anyone advise how to troubleshoot this? I presume backup through a proxy is supported?





A8ree's picture



Anyone know how I can get the online backup operational?

Jeremy Davis's picture

But like most things Linux I am sure it is possible! :)

My first guess would be to check the docs. If you get no dice there, then I suggest that you consult google. TKLBAM uses Duplicity as a backend so if you search soemthing like "use duplicity via proxy debian" you should get some hints at least...

Actually just reading your post again, it looks like DNS resolution is the issue... TBH I have very limited experience using proxies at all so not sure how all that works... If you keep in mind that TKL is built on Debian (v13.0 = Wheezy) then google should have heaps of ideas...

If you have any joy, it'd be great if you could post back with info because I'm sure you will save future users some efforts! :)

A8ree's picture


I've checked the logs and as you suggested taken a look at Duplicity.....none the wiser!


Can anyone suggest the easiest way for me to backup my server? At the moment I am powering down the VM and taking a copy of the VMDK. I would like a way to automate this.


As I am behind a proxy, the TKLBAM option seems to be out.


Any tutorials on backup to a network location would be really useful


Thanks in advance

Ive also got this issue the server is behind firewall ports 80 and 443 are open. I am on tklbam 1.1 with an old image I am trying to migrate. How to update tklbam vrsion ?  Tried

dpkg -i tklbam*.deb turnkey-pylib*.deb pycurl-wrapper*.deb


dpkg: error processing tklbam*.deb (--install):
cannot access archive: No such file or directory
Any ideas anyone?

I have mamaged to connect but got this error in webmin after apikey

Traceback (most recent call last):
  File "/usr/bin/tklbam-init", line 127, in 
  File "/usr/bin/tklbam-init", line 117, in main
    credentials = hub.Backups(sub_apikey).get_credentials()
  File "/usr/lib/tklbam/hub.py", line 192, in get_credentials
    return Credentials(response)
  File "/usr/lib/tklbam/hub.py", line 160, in __init__
    self.usertoken = response['usertoken']
KeyError: 'usertoken'

Still cant run

dpkg -i tklbam*.deb turnkey-pylib*.deb pycurl-wrapper*.deb

Jeremy Davis's picture

As discussed elsewhere you are running TurnKey v11.x which doesn't support the newer Hub API. I'm almost sure that once we resolve that you should be good bto go...

Add new comment