shell scripting

0
Hi Team,   Can anyone ping me shell scripting for synchronize database step where it was failing for me while running through CICD Start-Process -FilePath "C:\Program Files (x86)\Mendix\Service Console\Mendix Service Console.exe" Import-module 'C:\Program Files (x86)\Mendix\Service Console\Mendix.Service.Commands.dll' Get-Service -Name "Service" Stop-Service -Name "Service" sleep 5 Update-MxApp -Name "Service" -Literalpath "D:\Service\Service.mda" sleep 5 Start-MxApp -Name Service -SynchronizeDatabase  (here it was failing while running) sleep 5 Start-Service -Name "Service" sleep 5 Get-Service -Name "Service"   can anyone ping crt shell script for synchronize step
asked
1 answers
0

Hi Sai Gopal,

 

Mendix Domain controller is in control of the database and on top of that, did you check whether you use external or the internal Mendix database? the type of database won’t matter for the synchronizations, but it might differ for your CICD, to know where to look for the database that needs to be synchronized.

 

Hope this gets you towards the right direction.

 

Thanks,

Jan

answered