How to know the version and type of the installed Open Edx

47 views
Skip to first unread message

Ahmed El Baz

unread,
Jul 8, 2019, 11:45:37 AM7/8/19
to General Open edX discussion
Hi,

Is there a command to clearly know the installed Open Edx version and if it's fullstack or devstack

Thanks

Jill Vogel

unread,
Jul 8, 2019, 10:48:21 PM7/8/19
to edx-...@googlegroups.com
Hi Ahmed,

You can get the deployed version hash from git:

cd /edx/app/edxapp/edx-platform
git rev-parse HEAD
# OR get branch name
git status

The "fullstack" vs "devstack" question is more about which settings the instance is running with.  You can get this from the environment:

# Production servers
edxapp@appserver:~$ source /edx/app/edxapp/edxapp_env
edxapp@appserver:~$ echo $EDX_PLATFORM_SETTINGS
production

# Devstacks
root@lms:/edx/app/edxapp/edx-platform# echo $EDX_PLATFORM_SETTINGS
devstack_docker

Cheers,
--
Jill

Ahmed El Baz

unread,
Jul 9, 2019, 6:35:33 PM7/9/19
to General Open edX discussion
Thank you Jill, I tried it and got the installed version with the first part
The second part (full or devstack) resolved it is aws

output
:/edx/app/edxapp/edx-platform$ echo $EDX_PLATFORM_SETTINGS
aws


I know it's installed on amazon cloud but does "aws" means it's fullstack ?

Jill Vogel

unread,
Jul 9, 2019, 8:03:03 PM7/9/19
to edx-...@googlegroups.com
Hi Ahmed,

Ah yes, aws or openstack does mean fullstack.  At some point edx renamed the production settings file from aws.py to production.py, and I believe this was true from Ironwood onwards.

Glad that helped!

Cheers,
--
Jill


--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to edx-code+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/7561eea4-79f5-41ce-87b1-7dbe318021fb%40googlegroups.com.

Ahmed El Baz

unread,
Jul 10, 2019, 4:50:51 PM7/10/19
to General Open edX discussion
Thank you
To unsubscribe from this group and stop receiving emails from it, send an email to edx-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages