I have got the below error when I was installing the “open-release/juniper.2” version of Open edX on my server.
Could anyone help me to solve this problem?
TASK [forum : install comments service bundle] *********************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “bundle install --deployment --path /edx/app/forum/.gem”, “delta”: “0:00:05.025187”, “end”: “2020-08-20 20:28:02.776239”, “msg”: “non-zero return code”, “rc”: 7, “start”: “2020-08-20 20:27:57.751052”, “stderr”: “”, “stderr_lines”: , “stdout”: “Fetching gem metadata from https://rubygems.org/…\nYour bundle is locked to codecov (0.1.10), but that version could not be found\nin any of the sources listed in your Gemfile. If you haven’t changed sources,\nthat means the author of codecov (0.1.10) has removed it. You’ll need to update\nyour bundle to a version other than codecov (0.1.10) that hasn’t been removed in\norder to install.”, “stdout_lines”: [“Fetching gem metadata from https://rubygems.org/…”, “Your bundle is locked to codecov (0.1.10), but that version could not be found”, “in any of the sources listed in your Gemfile. If you haven’t changed sources,”, “that means the author of codecov (0.1.10) has removed it. You’ll need to update”, “your bundle to a version other than codecov (0.1.10) that hasn’t been removed in”, “order to install.”]}
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
PLAY RECAP *********************************************************************
localhost : ok=511 changed=168 unreachable=0 failed=1
Decoded error:
== cmd ===========================
bundle install --deployment --path /edx/app/forum/.gem
== msg ===========================
non-zero return code
== stdout ===========================
Fetching gem metadata from https://rubygems.org/…
Your bundle is locked to codecov (0.1.10), but that version could not be found
in any of the sources listed in your Gemfile. If you haven’t changed sources,
that means the author of codecov (0.1.10) has removed it. You’ll need to update
your bundle to a version other than codecov (0.1.10) that hasn’t been removed in
order to install.
TASK [forum : install comments service bundle] *********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "bundle install --deployment --path /edx/app/forum/.gem", "delta": "0:00:03.582207", "end": "2020-08-26 14:15:20.635363", "failed": true, "rc": 7, "start": "2020-08-26 14:15:17.053156", "stderr": "", "stderr_lines": [], "stdout": "Fetching gem metadata from https://rubygems.org/.........\nYour bundle is locked to codecov (0.1.10), but that version could not be found\nin any of the sources listed in your Gemfile. If you haven't changed sources,\nthat means the author of codecov (0.1.10) has removed it. You'll need to update\nyour bundle to a version other than codecov (0.1.10) that hasn't been removed in\norder to install.", "stdout_lines": ["Fetching gem metadata from https://rubygems.org/.........", "Your bundle is locked to codecov (0.1.10), but that version could not be found", "in any of the sources listed in your Gemfile. If you haven't changed sources,", "that means the author of codecov (0.1.10) has removed it. You'll need to update", "your bundle to a version other than codecov (0.1.10) that hasn't been removed in", "order to install."]}
RUNNING HANDLER [nginx : reload nginx] *****************************************
RUNNING HANDLER [forum : restart the forum service] ****************************
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retry
PLAY RECAP *********************************************************************
localhost : ok=447 changed=330 unreachable=0 failed=1
========================================
Ansible 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 logs/install-20200826-125330.log
Your environment:
OPENEDX_RELEASE=open-release/ironwood.master
========================================
Yes, I expect this error affects older installations also. edX doesn’t provide official support for older installations. This could be a good place for the community to pull together to keep old releases running.
Yes, because changin to Juniper now is not very a good idea for someone using old release.
I install juniper.3, but some configuration i used to do on ironwood.master seem not working on juniper (for example, i have to edit /edx/etc/lms.yml to edit configuration, on ironwood i just do it in /edx/app/edxapp/lms.env.json), reason why i prefer stay on ironwood.
As I mentioned above, edX doesn’t provide support for older installations, including fixes for problems like this. Nothing has changed on the Ironwood branches to fix this.
I faced the issue yesterday in open-release/ironwood.2. You mean that it exists in open-release/ironwood.2 and it doesn’t exist in open-release/ironwood.master ?
Also I have one more question, is there a way to try the installation for open-release/ironwood.master without formatting the server ? can I retry on on the same server with failed installation for open-release/ironwood.2?