Open egonid opened 5 years ago
Hello @egonid ,
have you solved this issue? I also found this problem.
Thanks,
Hello @dwisulfahnur
No, I didn't solve this issue yet. I doubt that there wre some changes in edx related module or somthing eles module. So, I think that oxa-tools must be update for that.
Thanks.
Hello @egonid,
I assume that your failed step is after installing OXA module, because I have issue with 'installoxa', and didn't see this issue until now. If I'm in right, how to manage to solve 'installoxa' step?
Regards,
Hello @egonid, May I know which branch of oxa-tools you were using?
Thanks Prabhanshu
Hello Prabhanshu
We were using the oxa/master.fic version..
Thank you.
Hello @Wladinho
Did you solve your problem which related “installoxa” steps?
In my experiences, that issue maybe comes from Azure CLI or AzureRM Version. If Azure CLI version is over 2.0.55 (Current version on 2.0.64), it may occurs some problems.
So, I was resolved it below steps.
First, reference below links http://techgenix.com/powershell-errors-term-not-recognized/ https://www.powershellgallery.com/packages/AzureRM/5.0.1 Steps.
1-2. If your get some result like below. AzureRM 5.0.1 C:\Program Files\WindowsPowerShell\Modules\AzureRM\5.0.1\AzureRM.psd1 AzureRM 6.0.0 C:\Program Files\WindowsPowerShell\Modules\AzureRM\6.0.0\AzureRM.psd1 ….
1-3. remove those versions this cmdlet like below Uninstall-Module -name AzureRM -RequiredVersion 5.0.1 Uninstall-Module -name AzureRM -RequiredVersion 6.0.0 1-4. Check that there is no installed Azure PowerShell (After above jobs) get-module azurerm -listavailable | select-object -property name,version,path -> no result 1-5. close Windows powershell ISE
Hi @egonid,
Unfortunately, I getting same error constantly. Deploy fails at installing OXA, but there no any useful logs.
I have followed your steps, without degrading Azure CLI version, because couldn't find older installation then latest.
I'm running out of ideas.
Thanks,
Hi @egonid,
I have tried with Azure CLI 2.0.31, but again same error on same step. 1 minute after configuring jumpbox machine is started. I have check all logs, but without success.
Thank you for your support and ideas, but I'm stuck with this totally.
Regards,
Hello
Until a few days ago (15-05-2019) , we successfully deployed some sites. On today, we failed to deploy a site with oxa-template. Are there any updates and changes on oxa-tools or edx module?
"OXA Bootstrap - ajou - EdX Database (Mysql) Setup Failed"
We attach the bootstrap.log file. Can anyone help us?
Thanks in advance.
Hi @egonid,
I had same issue today, because I finally managed to install edX yesterday. I have tried to change JumpBox instance size to B1ms and I got same issue. I have re-deploy with instance site B2s for JumpBox VM and everything was fine.
Regards,
Hi
We are trying to deploy oxa/master.fic same error as you get "OXA Bootstrap - mytsting - EdX Database (Mysql) Setup Failed"
PS C:\Windows\system32> get-module
ModuleType Version Name ExportedCommands
Script 5.8.2 AzureRM.profile {Add-AzureRmEnvironment, Clear-AzureRmContext, Clear-AzureRmDefault, Connect-AzureRmAccount...} Script 6.7.3 AzureRM.Resources {Add-AzureRmADGroupMember, Export-AzureRmResourceGroup, Get-AzureRmADAppCredential, Get-AzureRmADApplication...} Script 0.0 Common Script 0.0 Common Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...} Manifest 3.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...} Script 1.2 PSReadline {Get-PSReadlineKeyHandler, Get-PSReadlineOption, Remove-PSReadlineKeyHandler, Set-PSReadlineKeyHandler...}
Error said failed sync from Git Repo cd /oxa/oxa-tools/scripts/..
Is there new oxa folder added on microsoft?
Hope you can help us. Really need to deploy this. thanks
Hi @RepoCloudSwyft
Can you use my repository :
I have deployed successfully by using powershell in my mac book. There is 3 main issue should be solved
You can contact me to solve your problem. I have tested it more than three times in Azure.
Thanks.
Currently oxa-tools support only ficus version, so unless the version you are installing is newer than ficus you don't need to update python libraries such as pymongo version.
Hi @prabhanshu
Yes, oxa-tools support only ficus version. If you check ficus version from microsoft, pymongo version is 2.9 that not support for existing mongo server. You can check this code in oxa-tools
`install_mongodb() { log "Downloading MongoDB package $PACKAGE_NAME from $PACKAGE_URL"
# Configure mongodb.list file with the correct location
if (( $(echo "$OS_VER > 16" | bc -l) ))
then
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb ${PACKAGE_URL} "$(lsb_release -sc)"/mongodb-org/3.2 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.2.list
else
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb ${PACKAGE_URL} "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
fi
# Install updates
apt-get -y -qq update
# Remove any previously created configuration file to avoid a prompt
if [ -f /etc/mongod.conf ]; then
rm /etc/mongod.conf
fi
#Install Mongo DB
log "Installing MongoDB package $PACKAGE_NAME"
apt-get -y -qq install $PACKAGE_NAME
# Stop Mongod as it may be auto-started during the above step (which is not desirable)
stop_mongodb
}`
Thanks
@egonid The setup failed while trying to install python requirements. Regarding the "MySQL migration" message you got is because of the way bootstrap.sh is written. If any step which failed during ansible you will receive this error.
Coming to your python requirement issues: Did you make any changes to requirements.txt files i.e. adding new packages or making changes to the versions?
Hi @microdevil, Thank you for the repo.
However, upon checking on our deployment they didn't create a oxa and edx folder, Can anyone know how to fix it? May be that's why we can't get email notif. Thanks
Hi @RepoCloudSwyft
Have you install open edx using oxa stamp ?
hi @microdevil
Yes, we still using the oxa stamp, until now same issue all resources successfully deployed,however upon checking the jump box there is no edx and oxa folder. Please help how to fix it.
Thank you.
Hi @RepoCloudSwyft
In oxa, you will have 3 server. First, server called jumbox. Second, server for CMS. Third, server for LMS. If you need to check the existence of edx platform, you have to ssh to cms server using jumbox).
Hi @microdevil,
Yes we understand that the OXA will create 3 server. We successfully created the jumpbox,lms and cms.
We are able to login on the ssh thru vmss, upon checking there are missing folder which is oxa and edx. Please see screen shot.
Can you help on fixing it?
Hi @RepoCloudSwyft
Sorry, i could not fix your issue. I suggest to reinstall your platform and ensure that you get 5 email from oxa while process installation.
Thanks
Hello
Until a few days ago (15-05-2019) , we successfully deployed some sites. On today, we failed to deploy a site with oxa-template. Are there any updates and changes on oxa-tools or edx module?
"OXA Bootstrap - ajou - EdX Database (Mysql) Setup Failed"
We attach the bootstrap.log file. Can anyone help us?
bootstrap.log
Thanks in advance.