failed to install galaxy local instance on virtual machine, via ansible

*I try to install galaxy local instance on Virtual box machine via ansible follow by galaxy project tutorial (LINK: Galaxy Installation with Ansible) And I got this problems, Did anyone meet this before? Could you please help me with this error?
Thanks in andvanced
[ERROR]
TASK [galaxyproject.galaxy : Get current Galaxy DB version] ************************************************
fatal: [head-node]: FAILED! => {“changed”: false, “cmd”: [“/srv/galaxy/venv/bin/python”, “/srv/galaxy/server/scripts/manage_db.py”, “-c”, “/srv/galaxy/config/galaxy.yml”, “db_version”], “delta”: “0:00:01.893473”, “end”: “2022-06-27 04:28:27.278930”, “failed_when_result”: true, “msg”: “non-zero return code”, “rc”: 1, “start”: “2022-06-27 04:28:25.385457”, “stderr”: “Traceback (most recent call last):\n File "/srv/galaxy/server/scripts/manage_db.py", line 28, in \n invoke_migrate_main()\n File "/srv/galaxy/server/scripts/manage_db.py", line 20, in invoke_migrate_main\n config = get_config(sys.argv, use_argparse=False, cwd=os.getcwd())\n File "/srv/galaxy/server/lib/galaxy/model/orm/scripts.py", line 133, in get_config\n properties = load_app_properties(config_file=config_file, config_prefix=config_override, config_section=config_section)\n File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 79, in load_app_properties\n properties = read_properties_from_file(config_file, config_section)\n File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 107, in read_properties_from_file\n raw_properties = _read_from_yaml_file(config_file)\n File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 124, in _read_from_yaml_file\n with open(path) as f:\nPermissionError: [Errno 13] Permission denied: ‘/srv/galaxy/config/galaxy.yml’”, “stderr_lines”: [“Traceback (most recent call last):”, " File "/srv/galaxy/server/scripts/manage_db.py", line 28, in “, " invoke_migrate_main()”, " File "/srv/galaxy/server/scripts/manage_db.py", line 20, in invoke_migrate_main", " config = get_config(sys.argv, use_argparse=False, cwd=os.getcwd())“, " File "/srv/galaxy/server/lib/galaxy/model/orm/scripts.py", line 133, in get_config”, " properties = load_app_properties(config_file=config_file, config_prefix=config_override, config_section=config_section)“, " File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 79, in load_app_properties”, " properties = read_properties_from_file(config_file, config_section)“, " File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 107, in read_properties_from_file”, " raw_properties = _read_from_yaml_file(config_file)“, " File "/srv/galaxy/server/lib/galaxy/util/properties.py", line 124, in _read_from_yaml_file”, " with open(path) as f:", “PermissionError: [Errno 13] Permission denied: ‘/srv/galaxy/config/galaxy.yml’”], “stdout”: “”, “stdout_lines”: }

t

Maybe you can find some info here: galaxyproject/admins - Gitter

Are you executing the installation as the user “galaxy”?

1 Like

yes! Thanks for your help!