Hi,
I'm pretty new to galaxy configuration and I have a error that I can't handle. I've installed galaxy with a hand made conda virtual env. Galaxy is in a directory of galaxy user system /home/galaxy/galaxy/. I have change the conda_prefix in config/galaxy.yml :
conda_prefix : /opt/anaconda3/
and there is this env variable :
~/galaxy$ echo $GALAXY_VIRTUAL_ENV
/home/galaxy/.conda/envs/galaxy
I use a postgresql database and when I start the app I have this error :
galaxy@anesidora:~/galaxy$ conda activate galaxy
(galaxy) galaxy@anesidora:~/galaxy$ uwsgi --yaml config/galaxy.yml
[uWSGI] getting YAML configuration from config/galaxy.yml
[......]
galaxy.model.migrate.check INFO 2018-11-08 16:07:20,795 [p:18996,w:0,m:0] [MainThread] At database version 141
Traceback (most recent call last):
File "lib/galaxy/webapps/galaxy/buildapp.py", line 49, in app_factory
app = galaxy.app.UniverseApplication(global_conf=global_conf, **kwargs)
File "lib/galaxy/app.py", line 84, in __init__
self._configure_models(check_migrate_databases=True, check_migrate_tools=check_migrate_tools, config_file=config_file)
File "lib/galaxy/config.py", line 1132, in _configure_models
verify_tools(self, install_db_url, config_file, install_database_options)
File "lib/tool_shed/galaxy_install/migrate/check.py", line 65, in verify_tools
raise Exception("Error attempting to update the value of migrate_tools.version: %s" % output)
Exception: Error attempting to update the value of migrate_tools.version: Activating virtualenv at /home/galaxy/.conda/envs/galaxy
manage_db.sh: 100: .: Can't open /home/galaxy/.conda/envs/galaxy/bin/activate
I guess that the app try to manage conda virtual envs like python virtualenv but I don't know what to do next...
Note that I have a successful run just before when galaxy does not try to "check".
Thank's for any help.
arnome.