Hi @veysel!
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.edocker exec -ti edx.devstack-juniper.master.lms bash
-
sudo vi roles/server_utils/tasks/main.yml
, ornano
instead ofvi
, and comment out the following.
- name: Check for expired edx key
......
- name: remove expired edx key
......
- Next we need to edit
main.yml
, typesudo 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 listsudo vi sources.list
and comment outdeb 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.edocker 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.ebd52207ea542
-
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.
lms:
image: updated/edxapp:latest
Run the provision, it should work fine.
Thanks to @Rehan_Aziz for posting the fix.