Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating from V4 to V5.0.0.6 Admin not loading #890

Open
JulieG1406 opened this issue Jan 28, 2025 · 7 comments
Open

Updating from V4 to V5.0.0.6 Admin not loading #890

JulieG1406 opened this issue Jan 28, 2025 · 7 comments

Comments

@JulieG1406
Copy link

Describe the bug

As per your Note at the bottom of https://github.com/pnp/custom-learning-office-365/blob/main/installation/V5Install.md I have tried to load the new Microsoft 365 learning pathways app 3 times onto the tenant-wide app catalog. but the administration webpart still doesn't load on the page.

To Reproduce

following all your steps on the installation link above 3 times but it is not loading the Administration part of the MS 365 learning pathways.

Expected behavior

I was hoping to see the administration page to edit some of the courses.

Screenshots

Image

Learning Pathways version number

learning pathways in the tenant app catalog is now V5.0.0.6

@dcashpeterson
Copy link
Contributor

dcashpeterson commented Jan 28, 2025

@JulieG1406 If you are seeing the gray loading boxes then the webpart is loading and it is throwing an error. Can you please provide any errors from the console? Does the viewer webpart load with content?

@JulieG1406
Copy link
Author

Initially the Admin page gave me an error but now it just shows the boxes and I waited for 1 hour. The Viewer does work and shows the courses.

@dcashpeterson
Copy link
Contributor

@JulieG1406 I will need the errors from the console to help troubleshoot.

@JulieG1406
Copy link
Author

JulieG1406 commented Jan 28, 2025

I Inspected the page and found a few errors, do these help:

Image

Image

@dcashpeterson
Copy link
Contributor

@JulieG1406 Is the site you running the admin web part in the same site that is in the error? 'sites/trainingportal' That error shows that the tenant app property that tells the web part what URL to look at isn't correct.

@JulieG1406
Copy link
Author

Thank you for letting me know, we have added a new URL to the site but shouldn't it still find the old site? How do we change the tenant property to update it to the new URL?

@dcashpeterson
Copy link
Contributor

@JulieG1406 You need to decide which site you want Learning Pathways to use as it's admin site. If that is the new site then you need to deploy the solution (which you have already done). This should create all the lists in the back end (CustomConfig, CustomPlaylist, CustomAsset). You need to change the tenant app property you need to run this PowerShell script. Then the admin app should work. You might want to delete the old site as it might be confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants