Hello,
I am trying to use the option 'install_database_connection' from the galaxy.ini. The reason is that in our project we do bootstrapping of tools in different Galaxy instances.
When I enabled the option everything was fine except that all the tools that had been previously installed from the toolshed where no longer available from the admin panel. Also, when I tried to run any tool they failed because the executable could not be found.
Looking to the sqlite table (I used the default options sqlite:///./database/universe.sqlite?isolation_level=IMMEDIATE) I realized that it was empty and therefore it was the cause of the lack of tools.
Is there a way to migrate the tables from the original DB (mysql) to the sqlite? Or a way to get all the previous installed repositories back?
I tried it manually dumping the tables, converting to sqlite and then restating Galaxy but I keep getting this error.
Traceback (most recent call last): File "/ramdisk/galaxy/0.6/galaxy-dist/lib/galaxy/webapps/galaxy/buildapp.py", line 51, in app_factory app = galaxy.app.UniverseApplication( global_conf=global_conf, **kwargs ) File "/ramdisk/galaxy/0.6/galaxy-dist/lib/galaxy/app.py", line 54, in __init__ self._configure_models( check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file ) File "/ramdisk/galaxy/0.6/galaxy-dist/lib/galaxy/config.py", line 838, in _configure_models tsi_create_or_verify_database( install_db_url, self.config.install_database_engine_options, app=self ) File "/ramdisk/galaxy/0.6/galaxy-dist/lib/galaxy/model/tool_shed_install/migrate/check.py", line 81, in create_or_verify_database db_schema = schema.ControlledSchema( engine, migrate_repository ) File "/ramdisk/galaxy/0.6/galaxy-dist/eggs/sqlalchemy_migrate-0.9.6-py2.7.egg/migrate/versioning/schema.py", line 33, in __init__ self.load() File "/ramdisk/galaxy/0.6/galaxy-dist/eggs/sqlalchemy_migrate-0.9.6-py2.7.egg/migrate/versioning/schema.py", line 54, in load exceptions.DatabaseNotControlledError(str(exc)), tb) File "/ramdisk/galaxy/0.6/galaxy-dist/eggs/sqlalchemy_migrate-0.9.6-py2.7.egg/migrate/versioning/schema.py", line 50, in load data = list(result)[0] DatabaseNotControlledError: list index out of range
Thank you very much