I am trying to do the Create Website Records step in the migration guide with the api but I keep getting 'list index out of range' error. The issue seems to be related to the site_apps parameter. Does the API accept something like: ['name (on WebXXX)', '/']? If I login to the destination machine, specify the desination IP address, and use just 'name' I get an error that the app must be on the same machine as the IP address. If I change it to 'name (on WebXXX)' I get the index out of range error. I get the error regardless of if I use the correct number for XXX. When you have 2 apps with the same name on 2 different machines, what's the correct way of specifying which app the create_website call should use? asked 03 Jun '11, 20:59 Bc25 |
We've just updated our API and you can now pass 'app_name machine_name' as the app (for instance: 'htdocs Web200') answered 06 Jun '11, 03:00 remi |