Openedx updating error

19 views
Skip to first unread message

pablobo...@gmail.com

unread,
Aug 16, 2017, 6:36:27 AM8/16/17
to General Open edX discussion
Hello everybody,
I've performed a native installation in a clean new installation of Ubuntu 16.04.
I've got the server running but Im stuck when I try to update server vars. Im going to describe here what I did.
  1. Stop the server: sudo /edx/bin/supervisorctl stop all
  2. Create server-vars.ymlsudo nano /edx/app/edx_ansible/server-vars.yml

  3. Add some varEDXAPP_PLATFORM_NAME: 'Example'
  4. Run configuration update: sudo /edx/bin/update configuration master
  5. Run edx-platform update: sudo /edx/bin/update edx-platform master
In the last step Ive got this error: (1.PNG). Ive tried a lot of things but nothing solve this problem...

Please help me :P, Best regards and thanks you.

1.PNG

pablobo...@gmail.com

unread,
Aug 16, 2017, 7:39:43 AM8/16/17
to General Open edX discussion
I've found the solution, the update script dont include the passwords.yml.
I've added this code:
---
if [[ -f ~/my-passwords.yml ]]; then
    extra_args="${extra_args} -e@~/my-passwords.yml"
fi
---
after 
---
if [[ -f /edx/app/edx_ansible/server-vars.yml ]]; then
    extra_args="-e@/edx/app/edx_ansible/server-vars.yml"
fi
---
in the update script. 
Reply all
Reply to author
Forward
0 new messages