ED Resources are not loading after local installation. #209
-
Hi Team, I have followed the instructions for installing the ED locally using the documentation - https://github.com/Sunbird-Ed/SunbirdEd-portal. Installation was successful after modifications, but when i click the login getting the below error. Error: Failed to lookup view "/root/SunbirdEd-portal/src/app/dist/index.ejs" in views directory "/root/SunbirdEd-portal/src/app/views" Checked for the views directory but it is not available. Could you please help me on this as i have stuck on this and not able to proceed further. Also referred - https://github.com/orgs/Sunbird-Ed/discussions/115#discussioncomment-3677806 |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 9 replies
-
@sharathkashyap @rajeevsathish Can you please help here |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I verified the environment variable DEFAULT_CHANNEL, it is set to 'sunbird', I have added to .bashrc file and sourced it 'export sunbird_default_tenant=sunbird' Also, mentioned folder exists in the path. /SunbirdEd-portal/src/app/tenant/sunbird# total 32 I am able to see the below screen shot, when i click the links, getting the above error. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@rajeshkumaravel , I tried /explore after the URL, gut got error page. Also, Tenant specific landing pages needs to be updated manually. --> please correct me if i am wrong, these specific pages redirection will be pertaining to our requirements? |
Beta Was this translation helpful? Give feedback.
-
Value is not set --> PORTAL_SESSION_SECRET_KEY: (env.sunbird_portal_session_secret && env.sunbird_portal_session_secret !== ''), where i can generate this session key |
Beta Was this translation helpful? Give feedback.
-
@rajeshkumaravel |
Beta Was this translation helpful? Give feedback.
-
@gandham-santhosh @rajeevsathish @rajeshkumaravel , i have logged in dscord portal from morning today, please let me know if you available we can have a call. |
Beta Was this translation helpful? Give feedback.
-
@rajeevsathish will schedule a google meet to discuss further. |
Beta Was this translation helpful? Give feedback.
-
@rajeevsathish, I have scheduled a meeting invite and share the link. please join. |
Beta Was this translation helpful? Give feedback.
-
@rajeevsathish , I have updated the Learner service URL in the configuration. Below page is displayed. |
Beta Was this translation helpful? Give feedback.
-
I have set the environment variables for lern services, does the auth token has to be generated from the tenant or it has to be requested? Also, any resolution on the forms loading? |
Beta Was this translation helpful? Give feedback.
@Kovendan03
SunbirdEd-portal/src/app/tenant/sunbird/index.html
for appropriate action(s) / redirection./explore
after the URL for explore page.CC: @sharathkashyap @rajeevsathish @luckynvdu