Updating KanBo (IIS backend part)

Prepare web.config

Always use web.config included in recent update package. Open web.config from KanBo update package in notepad.

1. Fill {SharePoint Address}, {CLIENTID}, {ISSUERID} and {Thumbpring} parts accordingly with values from "old" web.config. Compare other parts of both web.configs.

<auth-by-login issuer="sp" /> 
<identity-source /> 
<auth.sharepoint sp-host-url="{https://SharePoint Address}" client-id="{CLIENTID}" issuer-id="{ISSUER ID}"> 
<signer type="x509-store" key="thumbprint" value="‎Thumbprint" store-name="my" store-location="localmachine" valid-only="false" /> 
<setup-permissions.sharepoint /> 
<sp-app url="sharepoint-appfile" />

2. In case your organization is using a local certificate which is configured in the appSettings
instead of using the signer-attribute in the authentication-section, please perform the following change in the web.config file - add the file path in {C:\certs\yourcertname.pfx} and key in {CertificatePassword}.

<signer type="X509SignerFromFile" file="{C:\certs\yourcertname.pfx}" key="{CertificatePassword}"></signer>

3. Copy your license key into {LICENSEKEY} part.

<add key="KanBoLicenseKey" value="{LICENSEKEY}" />

4. Compare following KanBo settings

   <add key="KanBoAllowOpenbook" value="false"></add>
    <add key="KanBoInstancePath" value="intranet"></add>
    <add key="KanBoLicenseKey" value="YOUR LICENSE KEY"></add>
    <!-- Determines whether myboards are disabled or enabled -->
    <add key="KanBoMyBoard" value="true"></add>
    <!-- override server's timezone if necessary 
<add key="Timezone" value="US Mountain Standard Time" >
    </add> -->
    <!-- Determines whether License warnings are shown -->
    <add key="KanBoLicenseWarnings" value="true"></add>
    <add key="KanBoEmailNotifications" value="true"></add>
    <add key="KanBoUserCanSyncProfile" value="false"></add>
    <add key="KanBoUserCanEditAvatar" value="true"></add>
    <add key="KanBoUserCanLinkProfile" value="false"></add>
    <add key="KanBoUserCanEditProfile" value="true"></add>
    <add key="KanBoDebuggingTokenIssuerPassword" value=""></add>
    <!-- Set this to limit amount of instances that can be created in this instances database -->
    <add key="KanBoMaxInstances" value="0"></add>
    <add key="KanBoIncomingMail" value="false"></add>
    <add key="KanBoIncomingMailDomain" value=""></add>
    <add key="ErrorReportingUrl" value="http://KanBoErrorReportingURL"></add>

Openbook functionality will allow you to decide whether all KanBo users are able to create new Boards or not.

When Openbook availability is set as enabled (set as true in web.config), not only Managers, but also regular users can create their own Public and Private Boards. If it’s not enabled (set as false in web.config), only Managers can create these two types of Boards.

KanBo Error Reporting functionality is explained here - KanBo Error Reporting.

5. Copy database connection strings and place them into Main_CS and PROFILE_CS values.

    <add name="KanBoContentConnectionString" connectionstring="" providername="System.Data.SqlClient" />
  </connectionstrings />

6. If you have KanBo Search installed and configured in your web.config, you must delete the following section (which works for default search):

  <package name="search-db" />

and paste the KanBo Search configuration lines which are copied from the old web.config.

They must be equipped with your SOLR admin name, password and SOLR URL.

  <package name="search-db" />
<solr user="SOLRLOGIN" pass="SOLRPASS" url="https://SOLRURL:PORT/SOLR/CORENAME" />
<search-docs.solr />
<search-cards.solr />
<search-boards.solr />
<search-users.solr />
<search-desks.solr />
<user-update.solr />
<permission-update.solr />
<solr.detect-downstate />

7. Add these entries in <plugins>

<website-search.sharepoint />
<require-user-account />  
<sql sync-interval="100" />
<messaging track="single-node" queue-interval="1000" send-interval="1000" inactive-detect-interval="1000" />
 <user-location / >

8. To avoid potential issues please remove entire o365 sections

<!-- <o365> -->      
<provider id="sp" type="Sharepoint" clientId="{CLIENTID}" clientSecret="{CLIENTSECRET}" />
<!-- </o365> -->
Please make sure that you have .NET Framework 4.7 installed on virtual machine which serves as an Application Server for KanBo

Update KanBo IIS website files

Go back to your Explorer window with IIS site.

DELETE everything from IIS site directory and upload all files from KanBo update package.

Updating KanBo (IIS backend part)

Once you finish START your Kanbo IIS Website

Now you need to upgrade KanBo databases

Possible issues:

  1. overrideMode
  2. viewstate MAC failed issue
KanBo Update IIS update

Is this article helpful for you?