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

**URL:** <https://help.galaxyproject.org/t/failed-to-install-galaxy-local-instance-on-virtual-machine-via-ansible/8252>\
**Category:** usegalaxy.eu support\
**Tags:** devops-administration, gtn-tutorial, galaxy-local\
**Created:** [June 27, 2022, 5:26am UTC](https://help.galaxyproject.org/t/failed-to-install-galaxy-local-instance-on-virtual-machine-via-ansible/8252 "2022-06-27T05:26:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![sophia0509](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/sophia0509/32/3408_2.png) [@sophia0509](https://help.galaxyproject.org/u/sophia0509)\
**Post date:** [June 27, 2022, 5:26am UTC](https://help.galaxyproject.org/t/failed-to-install-galaxy-local-instance-on-virtual-machine-via-ansible/8252/1 "2022-06-27T05:26:07Z")

</div>

\*I try to install galaxy local instance on Virtual box machine via ansible follow by galaxy project tutorial (LINK: [Galaxy Installation with Ansible](https://training.galaxyproject.org/training-material/topics/admin/tutorials/ansible-galaxy/tutorial.html#galaxy)) 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”: }

 ![image](https://us1.discourse-cdn.com/flex020/uploads/galaxy/original/2X/5/5934b6c1a2519606ba57da6589ea800454bc6697.png)

_t_

---

_[View the full topic](https://help.galaxyproject.org/t/failed-to-install-galaxy-local-instance-on-virtual-machine-via-ansible/8252)._
