Installation troubleshooting - Puzzlepart/prosjektportalen GitHub Wiki

A collection of typical issues one might encounter while trying to install Prosjektportalen

You encounter the security warning "Run only scripts that you trust. (...)"

Full warning:

Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning message.

Solution

See issue #112. You have to either unblock the zip file before unzipping, or use 7zip to unzip the file.

You get the error "ZoneId not found" when installing to SharePoint 2013

August CU 2017 for SharePoint 2013 is verified to work, and does not have this issue when installing with the bundled "SharePoint Patterns and Practices PowerShell Cmdlets for SharePoint 2013" from April 2017 or newer.

If you cannot patch SharePoint 2013 to the most recent version see the work-around below.

Temporary solution

We've built a version of 2.1.0 of Prosjektportalen without web parts at root level. Download it here. You should be able to install this version.

NB - manual config: Since this version is without root level web parts, you need to manually edit the root level pages, and add the corresponding web parts. The web parts are all available from the web part gallery in the "Prosjektportalen" group. They should be added as specified in this file (names should roughly correspond): https://github.com/Puzzlepart/prosjektportalen/blob/master/templates/root/Objects/Files.xml

Problems with date fields in SharePoint 2016 using Norwegian language pack

There is a known bug in SharePoint 2016 Norwegian bokmål language pack. This bug results in that you are not able to set any date fields in the solution.

Temporary solution

You can change the Regional setting for the Site Collection (and subsites) to Norwegian Nynorsk, to get it working. A fix is expected to come from Microsoft in January 2018 CU, this is discussed on Microsoft forums.

Problems with fields displayed on front page using SharePoint Online

If you don't get the phase, project lead or project owner on the front page when using SharePoint Online.

Solution

You have not imported the Seach configuration as described in the installation guide, under the section SharePoint Online.

You get the error 'Object reference not set to an instance of an object' when installing

The error is thrown when running Apply-PnPProvisioningTemplate. The error is thrown immediately (when loading the pnp package).

Solution

This error can be related to an old instance of PnP PowerShell, if you've installed this tool on your computer. Try upgrading to the latest version from PnP PowerShell releases