Koa.2a Ansible Failed (TASK [mysql : add the mysql signing key])

Hi Everyone,

I’m trying a native installation of koa.2a. I’m stuck on this error;

Can someone please help?

TASK [mysql : Look for mysql 5.6] **********************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "dpkg -s mysql-server", "delta": "0:00:00.031813", "end": "2022-04-06 23:14:17.909024", "msg": "non-zero return code", "rc": 1, "start": "2022-04-06 23:14:17.877211", "stderr": "dpkg-query: package 'mysql-server' is not installed and no information is available\nUse dpkg --info (= dpkg-deb --info) to examine archive files.", "stderr_lines": ["dpkg-query: package 'mysql-server' is not installed and no information is available", "Use dpkg --info (= dpkg-deb --info) to examine archive files."], "stdout": "", "stdout_lines": []}

TASK [mysql : Remove experimental version of mysql] ****************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via 
squash_actions is deprecated. Instead of using a loop to supply multiple items 
and specifying `name: "{{ item }}"`, please use `name: ['mysql-server-5.6', 
'mysql-server']` and remove the loop. This feature will be removed in version 
2.11. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[]) 

TASK [mysql : add the mysql signing key] ***************************************
fatal: [localhost]: FAILED! => {"changed": false, "id": "8C718D3B5072E1F5", "msg": "key does not seem to have been added"}

PLAY RECAP *********************************************************************
localhost                  : ok=57   changed=26   unreachable=0    failed=1    skipped=187  rescued=0    ignored=1   

Ansible failed!
Decoded error:
No message to decode.
Installation failed!
If you need help, see https://open.edx.org/getting-help .
When asking for help, please provide as much information as you can.
These might be helpful:
    Your log file is at /root/logs/install-20220406-230841.log
    Your environment:
Installation finished at 2022-04-06 23:14:25

Hi @bnsoni thanks for joining the community. Could you please refer to this post? You’ll most likely find the fix there.
Unless you’re restricted to maintaining a legacy OpenedX version, we recommend deploying the latest supported version of the platform (currently Maple) using Tutor. Hope this helps.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.