Creating New Users Failing #113
-
System Configuration Details:
@gandham-santhosh and @keshavprasadms Creation of new users are failing even after adding new org and suborg are successful. Following is the output of the Postman request: { The below is the output from the learner server. Could you please let me know where is the problem? {"timestamp":"2022-08-29T14:57:31.211Z","msg":"Original Url: /v1/user/create","lname":"modules.OnRequestHandler","tname":"application-akka.actor.default-dispatcher-5","level":"INFO","HOSTNAME":"learner-6bd6cbb8b8-mktbl","application.home":"/home/sunbird/learner/learning-service-1.0-SNAPSHOT"} |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments · 3 replies
-
@amit-tarento @reshmi-nair Can you guys please share your thoughts on this error? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@shounakacharya Which release version of learner-service we are using. |
Beta Was this translation helpful? Give feedback.
All reactions
-
@amit-tarento : The build phase of the learner service took release-3.9.0_RC16 |
Beta Was this translation helpful? Give feedback.
All reactions
-
This is because, when I was trying to build the release-4.6.0_RC6, it was giving an out of memory error always. Please find the logs below. Could you please tell me what to do so that the build does not fail. On Jenkins I am using the recommended machine size as mentioned in the start of this thread. Started by user Admin Deployer
[Pipeline] withEnv
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/maven-metadata.xml (745 B at 742 B/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/maven-metadata.xml (905 B at 25 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/maven-metadata.xml (929 B at 31 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/maven-metadata.xml (719 B at 23 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/maven-metadata.xml (808 B at 27 kB/s)
[Pipeline] // ansiColor |
Beta Was this translation helpful? Give feedback.
All reactions
-
@shounakacharya Seems like you didn't set the
|
Beta Was this translation helpful? Give feedback.
All reactions
-
@amit-tarento: I updated the service to release-4.6.0_RC6 by skipping the unit test build phase and redeployed. I am now able to create users. Thanks Marking this as answered! |
Beta Was this translation helpful? Give feedback.
@shounakacharya Seems like you didn't set the
custodianOrgId
key in system_settings table. Please check using below cql query and update the same in the table and restart the service. That will resolve the issue.select * from sunbird.system_settings where id = 'custodianOrgId';