Updating KanBo (Azure 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 parts of {CLIENTID}, {CLIENTSECRET} and {LICENSEKEY} accordingly with values from “old” web.config. Compare other parts of both web.configs.


<!-- <o365> -->      
<provider id="sp" type="Sharepoint" clientId=”{CLIENTID}" clientSecret="{CLIENTSECRET}" />
<!-- </o365> -->
<add key="KanBoLicenseKey" value={LICENSEKEY}" />


2. 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>
<!-- <o365> -->    
<add key="IsOffice365" value="true" />
<!-- </o365> -->


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.



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

<connectionStrings>    
<add name="KanBoSqlConnectionString" connectionString=”MAIN_CS" providerName="System.Data.SqlClient" />
<add name="KanBoProfilesConnectionString" connectionString="PROFILE_CS" providerName="System.Data.SqlClient" />
</connectionStrings>


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

<plugin alias="search-cards.database.by-name"></plugin>
<plugin alias="search-docs.database.by-name"></plugin>
<plugin alias="search-boards.database.by-name"></plugin>


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.

<plugin alias="plugin-config-executor.multiplex-config" user="{USERNAME}" pass="{PASSWORD}" solrurl="{SOLRURL}">
<plugin alias="search-docs.solr"></plugin>
<plugin alias="search-cards.solr"></plugin>
<plugin alias="search-boards.solr"></plugin>
 </plugin>


5. To avoid issues please remove entire section for on-premises configuration.

<!-- <on premise> -->      
<provider id="sp" type="Sharepoint" clientId="{CLIENTID}" issuerId="{ISSUERID}">
<!-- signer is described below, this one must contain a private key -->
<signer type="X509SignerFromStore" storeName="My" storeLocation="LocalMachine" key="Thumbprint" value="{Thumbprint}" />
</provider>
<!-- </on premise> -->


6. ZIP all files to have those files visible at first glance without any root folder.


7. Navigate to your Azure website folder via FTP or KUDU service (add .scm just before azurewebsites.net e.g https://kanbo-online-kanbo.scm.azurewebsites.net, then select Debug console -> PowerShell).


8. Delete everything under Sites -> wwwroot (ensure you have backup of those files).


9. Now drag and drop you .zip archive into left upper part of KUDU service.

Updating KanBo (Azure backend part) KanBo Update


Once upload is finished, please start your Web App on Azure and continue with upgrade KanBo databases.


update

This article was helpful for 1 person. Is this article helpful for you?