Azure / Moodle

Tooling and guidance on deploying Scalable Moodle Clusters on Azure.
MIT License
153 stars 165 forks source link

Your deployment failed #290

Closed v-fearam closed 1 year ago

v-fearam commented 1 year ago

From https://github.com/MicrosoftDocs/cloud-adoption-framework/issues/1154 @Aman123mishra

[Enter feedback here]

These all templates are not working getting error in the scaleSetTemplate resource. Please check this error message i have received and i also take support from azure technical team but they said it will be template related issue not a resource issue please contact author or contributor of this template.

error which i have received -

The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'. (Code: ResourceDeploymentFailure)

VM has reported a failure when processing extension 'setup_moodle'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1 [stdout]

Script Start Thu Jun 1 07:21:56 UTC 2023### Invalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed. Exiting

[stderr] IpExportPath":"","nfsHaLbIP":"172.31.2.100","nfsHaExportPath":"/drbd/data","fileServerDiskSize":1024},"phpProfile":{"phpVersion":"7.4"}}' /usr/bin/jq: line 1: syntax error near unexpected token newline' /usr/bin/jq: line 1: '

export fileServerDiskSize= fileServerDiskSize= ++ jq -r .phpProfile.phpVersion ++ echo '{"siteProfile":{"siteURL":"lb-7mjpwz.westeurope.cloudapp.azure.com","httpsTermination":"VMSS","thumbprintSslCert":"None","thumbprintCaCert":"None"},"moodleProfile":e++ jq -r .moodleProfile.isMigration /usr/bin/jq: line 1: syntax error near unexpected token newline' /usr/bin/jq: line 1: ' export isMigration= isMigration= echo echo echo echo echo echo echo echo echo echo echo echo echo echo check_fileServerType_param local fileServerType= '[' '' '!=' gluster -a '' '!=' azurefiles -a '' '!=' nfs -a '' '!=' nfs-ha -a '' '!=' nfs-byo ']' echo 'Invalid fileServerType () given. Only '''gluster''', '''azurefiles''', '''nfs''', '''nfs-ha''' or '''nfs-byo''' are allowed. Exiting' exit 1 " More information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot (Code: VMExtensionProvisioningError, Target: 0)

naioja commented 1 year ago

The error /usr/bin/jq: line 1: syntax error near unexpected token newline' /usr/bin/jq: line 1: ' was fixed by commit a4f08546b53b99322d04d1434ce0c579d8e39263 , please make sure you are using the latest release of the repo.

v-fearam commented 1 year ago

@Aman123mishra