Hi,
The "AttributeError" indicate that migration script is checking the db_connections.conf. If the .conf is consistent then there should be a property named "connection_type" in each stanza. But for some reason there is a connection without connection type, then the script raise an exception. To address, you need check the .conf manually and fix the broken item.
For your question #2 - running migration script in non-interactive mode, the answer is: Sorry, it's not supported. But you can hack the script, hardcode the management url. Take a look at L890-891. But I need put a big warning here, it's not officially supported, you need understand what you are doing.
... View more