Invoke-PnPSiteTemplate TermStoreEx:Failed to read from or write to database
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
When I try to provision a template (xml), I get back the following error:
Invoke-PnPSiteTemplate : TermStoreEx:Failed to read from or write to database. Refresh and try again. If the problem pe
rsists, please contact the administrator.
At line:1 char:1
- Invoke-PnPSiteTemplate -Path .\Template.xml -ClearNavigation
-
+ CategoryInfo : WriteError: (:) [Invoke-PnPSiteTemplate], ServerException + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.InvokeSiteTemplate
I have no clue how to solve this or that there is a workaround. I do use a local (site level) termstore and this is all in the template.xml.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Invoke-PnPSiteTemplate with the referenced Template.xml and a local site-level term store. Inspect the provisioning path handling the term store and determine whether the database error can be reproduced; done means the failure is fixed or a verified workaround is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100