Error during install comments service bundle

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

============================================================
Ansible failed!

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.

============================================================
Installation failed!

1 Like

This is now fixed in Juniper.

1 Like

Same Error with ironwood.master:

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.

1 Like

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.

So, changing to juniper is not easy …

Is there some new about this error affecting older installations? can i install ironwood.master now?

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.

Good morning Herve_siyou.

Tell me please how do you proceed to install juniper.3 on Ubunutu 16.04 LTS. I always have and installation faild.

Please help.

Regards.

Hi Sylvain,

Following this documentation: https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/146440579/Native+Open+edX+platform+Ubuntu+16.04+64+bit+Installation

Also, i can give you here:

sudo su
locale-gen en_US en_US.UTF-8
export LC_ALL=“en_US.UTF-8”
export LC_CTYPE=“en_US.UTF-8”
apt-get update -y
apt-get upgrade -y
cd ~

nano config.yml

EDXAPP_LMS_BASE: “lms.yourdomain.com
EDXAPP_CMS_BASE: “cms.yourdomain.com

export OPENEDX_RELEASE=open-release/juniper.master

I prefer install rabbitmq before:

apt-get install rabbitmq-server
apt autoremove
systemctl enable rabbitmq-server
systemctl start rabbitmq-server
rabbitmq-plugins enable rabbitmq_management

Also Python3-Pip:

apt-get install python3-pip

Now you continue:

wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/ansible-bootstrap.sh -O - | sudo -H bash

I do this step to avoid rabbitmq error during installation, i have an error sometimes about the .erlan.cookie file, so i create it first:

mkdir /home/rabbitmq/
touch /home/rabbitmq/.erlan.cookie
chown -Rv rabbitmq:root /home/rabbitmq/.

wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/generate-passwords.sh -O - | bash

wget https://raw.githubusercontent.com/edx/configuration/$OPENEDX_RELEASE/util/install/native.sh -O - | bash > install.out &

Now you just watch the process:

tail -f install.out

It takes about 1h43min to end…

This is how i do!

Thanks very much Herve_siyou.

I’ll run you process. Please I willl come bakc to you again if facing problem.

Best regards.