Comments (18)
thanks, but all resources are already gone :)
from moodle.
fully customizeable also works
from moodle.
@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.
Please make sure you are deploying from our master branch and if you use your own fork please update it.
Make sure that the _artifacts Location points to the right updated repo branch https://raw.githubusercontent.com/Azure/Moodle/master/ as in the screenshot below. Basically you would need to make sure the following PR is present #285
from moodle.
@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.
Hi Aman,
Please retry the steps as naioja mentioned and let us know how the deployment goes on.
Thanks
from moodle.
Hi @naioja, Now Maximum template deployed successfully.
There was so many conflicts because previously so many time i tried to deploy these templates in different different resource groups but now finally its done.
Now i have start to migrate current running Moodle into this template.
I will keep updating.
Thanks for you support.🙂
@saikondapalli11 Yes, Now its working Thanks for your support. 🙂
from moodle.
@Aman123mishra for any other problem with this deployment please open another issue.
from moodle.
Same here (error when deploying scale set template):
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'setup_moodle'. Error message: \"Enable failed: failed to execute command: command terminated with exit status=1\n[stdout]\n### Script Start Fri Jun 2 10:16:05 UTC 2023###\nInvalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed. Exiting\n\n[stderr]\nluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n++ jq -r .fileServerProfile.fileServerDiskSize\n/usr/bin/jq: line 1: syntax error near unexpected token
newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export fileServerDiskSize=\n+ fileServerDiskSize=\n++ jq -r .phpProfile.phpVersion\n++ echo '{\"siteProfile\":{\"siteURL\":\"lb-v74jpr.northeurope.cloudapp.azure.com\",\"httpsTermination\":\"VMSS\",\"thumbprintSslCert\":\"None\",\"thumbprintCaCert\":\"None\"},\"moodleProfile\":{\"version\":\"MOODLE_38_STABLE\",\"dbName\":\"moodle\",\"dbUser\":\"moodle\",\"dbUserAzure\":\"moodle\",\"dbPassword\":\"9#36^4jprfjhkERCQ\",\"adminPassword\":\"XLjprfjhk,1*8\",\"storageAccountName\":\"absv74jprnaf\",\"storageAccountKey\":\"IF3oa847XHA88TrSWRy090OT07NNrUx9C8wk0hYY1N6iZi9/8yVrfNJEGFfz1WJ1mmuBzULUjEE7+AStYQPd6Q==\",\"storageAccountType\":\"Standard_LRS\",\"redisDns\":\"redis-v74jpr.redis.cache.windows.net\",\"redisKey\":\"None\",\"elasticVm1IP\":\"172.31.5.20\",\"installO365pluginsSwitch\":false,\"installObjectFsSwitch\":false,\"installGdprPluginsSwitch\":false,\"searchType\":\"none\",\"azureSearchKey\":\"None\",\"azureSearchNameHost\":\"azure-search-v74jpr.search.windows.net\",\"tikaVmIP\":\"none\",\"syslogServer\":\"controller-vm-v74jpr\",\"webServerType\":\"nginx\",\"htmlLocalCopySwitch\":true,\"isMigration\":false},\"dbServerProfile\":{\"type\":\"mysql\",\"fqdn\":\"mysqlflex-v74jpr.mysql.database.azure.com\",\"adminLogin\":\"dbadmin\",\"adminLoginAzure\":\"dbadmin\",\"adminPassword\":\"bv74jprfjhk*7PFIWB\",\"mssqlDbServiceObjectiveName\":\"S1\",\"mssqlDbEdition\":\"Standard\",\"mssqlDbSize\":\"250GB\"},\"fileServerProfile\":{\"type\":\"nfs\",\"nfsVmName\":\"controller-vm-v74jpr\",\"glusterVmName\":\"gluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n/usr/bin/jq: line 1: syntax error near unexpected token
newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export phpVersion=\n+ phpVersion=\n++ echo '{\"siteProfile\":{\"siteURL\":\"lb-v74jpr.northeurope.cloudapp.azure.com\",\"httpsTermination\":\"VMSS\",\"thumbprintSslCert\":\"None\",\"thumbprintCaCert\":\"None\"},\"moodleProfile\":{\"version\":\"MOODLE_38_STABLE\",\"dbName\":\"moodle\",\"dbUser\":\"moodle\",\"dbUserAzure\":\"moodle\",\"dbPassword\":\"9#36^4jprfjhkERCQ\",\"adminPassword\":\"XLjprfjhk,1*8\",\"storageAccountName\":\"absv74jprnaf\",\"storageAccountKey\":\"IF3oa847XHA88TrSWRy090OT07NNrUx9C8wk0hYY1N6iZi9/8yVrfNJEGFfz1WJ1mmuBzULUjEE7+AStYQPd6Q==\",\"storageAccountType\":\"Standard_LRS\",\"redisDns\":\"redis-v74jpr.redis.cache.windows.net\",\"redisKey\":\"None\",\"elasticVm1IP\":\"172.31.5.20\",\"installO365pluginsSwitch\":false,\"installObjectFsSwitch\":false,\"installGdprPluginsSwitch\":false,\"searchType\":\"none\",\"azureSearchKey\":\"None\",\"azureSearchNameHost\":\"azure-search-v74jpr.search.windows.net\",\"tikaVmIP\":\"none\",\"syslogServer\":\"controller-vm-v74jpr\",\"webServerType\":\"nginx\",\"htmlLocalCopySwitch\":true,\"isMigration\":false},\"dbServerProfile\":{\"type\":\"mysql\",\"fqdn\":\"mysqlflex-v74jpr.mysql.database.azure.com\",\"adminLogin\":\"dbadmin\",\"adminLoginAzure\":\"dbadmin\",\"adminPassword\":\"bv74jprfjhk*7PFIWB\",\"mssqlDbServiceObjectiveName\":\"S1\",\"mssqlDbEdition\":\"Standard\",\"mssqlDbSize\":\"250GB\"},\"fileServerProfile\":{\"type\":\"nfs\",\"nfsVmName\":\"controller-vm-v74jpr\",\"glusterVmName\":\"gluster-vm-v74jpr0\",\"glusterVolName\":\"data\",\"nfsByoIpExportPath\":\"\",\"nfsHaLbIP\":\"172.31.2.100\",\"nfsHaExportPath\":\"/drbd/data\",\"fileServerDiskSize\":128},\"phpProfile\":{\"phpVersion\":\"7.4\"}}'\n++ jq -r .moodleProfile.isMigration\n/usr/bin/jq: line 1: syntax error near unexpected token
newline'\n/usr/bin/jq: line 1: <!DOCTYPE html>'\n+ export isMigration=\n+ isMigration=\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ echo\n+ check_fileServerType_param\n+ local fileServerType=\n+ '[' '' '!=' gluster -a '' '!=' azurefiles -a '' '!=' nfs -a '' '!=' nfs-ha -a '' '!=' nfs-byo ']'\n+ echo 'Invalid fileServerType () given. Only '\\''gluster'\\'', '\\''azurefiles'\\'', '\\''nfs'\\'', '\\''nfs-ha'\\'' or '\\''nfs-byo'\\'' are allowed. Exiting'\n+ exit 1\n\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "}]}
from moodle.
looks like the storage account needs to be in Premium SKU, so it can have NFS enabled (currently the standard sku is in the template))
from moodle.
I don't think so, Bcz in my case already in premium and in the march month i was successfully deployed Large size template for the testing purpose but this time all template getting same error.
As i have seen in the helper_function.sh file, check_fileServerType_parm() function where fileservertype not passed may be that is the reason.
from moodle.
yes, thou not Premium but i think NFS should be enabled on the storage account, and what i can see after the deployment it is not.
from moodle.
The PR #285 should fix the issue.
@MarekSuwart please make sure that you edit your comment #284 (comment) as it contains sensitive data.
from moodle.
The PR #285 should fix the issue.
@MarekSuwart please make sure that you edit your comment #284 (comment) as it contains sensitive data.
Hi Joian,
Thanks, but still facing same issue.
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 8 07:01:56 UTC 2023###
Invalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed. Exiting
from moodle.
it works fine for me :)
from moodle.
@MarekSuwart
Which template you using ?
from moodle.
minimal
from moodle.
I don't know why i am getting same error.
@MarekSuwart getting this error with minimal template
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 8 10:20:15 UTC 2023###
Invalid fileServerType () given. Only 'gluster', 'azurefiles', 'nfs', 'nfs-ha' or 'nfs-byo' are allowed.
@naioja can you please help.
from moodle.
@Aman123mishra I actually tested with the Minimal deployment as well and that was successful, I wondering if there's not something else. Are you doing any customizations to the deployment template ?
from moodle.
@naioja No Without any customization, I have tried with minimal deployment and also tried redeploy but same issue occur.
from moodle.
Related Issues (20)
- Url domain HOT 1
- Amazing - Job well done. HOT 1
- URGENT - The Large Size ARM template pointing this repo doesn't deploy.... HOT 2
- The Large templates deploys MySQL 5.6.47.0 but the template claims it's 5.7 HOT 3
- concurrent users on moodle HOT 4
- Moodle 4.1 HOT 10
- Failed to install Azure CLI on the Load Test VM
- Failed to install jmeter
- Moodle on AKS slow with Azure File and no file when using Azure blob HOT 4
- Your deployment failed HOT 2
- After Migrate Existing Moodle in this template site response very slow
- Mount failed When choose fileserver type Gluster HOT 5
- Deployment template validation failed: 'The template parameters 'osDiskSizeInGB' in the parameters file are not valid; HOT 1
- Creation of instances failed HOT 2
- feature request - azure WAF and/or azure frontdoor HOT 1
- feature request - moodle deployment with HA/DR on pair region
- Deployment failure for Moodle 4.1 and PHP 7.4 template Large-ha HOT 2
- Moodle on Azure App Service
- Resource Failed deployment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle.