For this error, I have tried the following;
- Refreshing the keys.
- Deleting the key and re-installing the devstack again with the rest of the services.
- Checked /etc/apt/sources.list.d for any bad or expired entries.
None of the above worked. Also, the expiration date of the ppa.edx key was a few days ago at 2021-12-05. Is it possible that the administrators can make an update or something like that? Is there any work around solution for this ?
Thank you in advanced,
I faced the same issue, it seems keys have expired so we need to comment out the role which validates keys.
Follow these steps from the post, adding here to with additional notes.
docker exec -ti <lms_container_name> bash i.e
docker exec -ti edx.devstack-juniper.master.lms bash
sudo vi roles/server_utils/tasks/main.yml, or
nano instead of
vi, and comment out the following.
- name: Check for expired edx key
- name: remove expired edx key
- Next we need to edit
sudo vi roles/common/tasks/main.yml and comment out the following lines.
- name: Add edX PPA apt key
- name: Update expired apt keys:
- name: Add custom edX PPA:
Now change directory to apt by typing
cd /etc/apt/ and open the source list
sudo vi sources.list and comment out
deb http://ppa.edx.org xenial main
Now exit the shell by pressing
cmd+d on Mac or use window’s shortcut to exit on windows.
Commit changes that you just made,
docker commit <lms_container_name> i.e
docker commit edx.devstack-juniper.master.lms
A new image is created, we need to tag that image, type
docker images and copy the ID of the latest image appearing in the list. i.e
Tag the new image
docker tag bd52207ea542 updated/edxapp
Now let’s add our new image in docker-compose.yml, type
sudo nano docker-compose.yml and make the following changes.
Run the provision, it should work fine.
Thanks to @Rehan_Aziz for posting the fix.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.