pnp / pnp/pnpframework

Invoke-PnPSiteTemplate TermStoreEx:Failed to read from or write to database

Open
#430 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.