Jitbit Help Desk Software : on-premise installation manual
Jitbit Helpdesk is a web based help desk ticketing application.
This file will guide through the basics of installation and operation of Jitbit's Helpdesk Ticketing System. Thank you for reading it.
1. OVERVIEW
Thank you for choosing Jitbit HelpDesk. Jitbit HelpDesk is a web based help desk software app, designed to assist help desk teams to deliver outstanding customer service. Jitbit HelpDesk is an ASP.NET 4.0 web-application with access from client computers via a web browser.
Jitbit offers both hosted and self-hosted versions of the software. This installation manual is for the "self-hosted" edition, "for your server".
1.1. Tickets and Categories
Tickets (aka "issues" aka "support requests" aka "support cases") are the main entities in the help-desk system. Tickets are submitted by users and organized into categories for convenience.
1.2. User roles
Jitbit Help-Desk has four user roles:
- Regular User
- Manager User
- Technician
- Administrator
User - is just a regular user who submits support tickets to the system.
Manager User - is a regular user with additional "manager" permissions. This user can view and "close" tickets from other users in the same company.
Technician (aka "help desk agent") - is a user who is permitted (by the administrator) to handle tickets in one or more categories. A technician receives email notifications about every new ticket in a category. NOTE: To make a user a technician you have to "grant" him permissions to handle tickets in at least one category. This can be done through the category editing form in the admin section, or via the user profile editor page.
Administrator - most powerful user role. Helpdesk Administrator changes system settings, assigns users to categories (thus making them technicians), creates categories, adds/deletes users etc. NOTE: By default an administrator does not get notified of new issues in the helpdesk system, unless he is assigned as a "technician" to some category.
2. JITBIT HELPDESK SYSTEM REQUIREMENTS
2.1. PLATFORMS
Jitbit HelpDesk requires a server running one of the following operating systems:
- Microsoft Windows Windows 7 or later
- Microsoft Windows Server 2012 or later
Since Jitbit HelpDesk is browser based, there is no particular requirement for the client operating system. A variety of popular browsers can be used for client access to Jitbit HelpDesk including:
- Microsoft Internet Explorer 11 or later.
- Google Chrome (any version)
- Mozilla Firefox
- Safari
- Opera 8.0 or later.
- etc
2.2 SKILLS REQUIRED
Please be aware that installing a web-application on a server can be a complicated task. It requires basic knowledge of how to install and administer MS SQL Server, create databases and run SQL scripts. You may also need some experience how to configure basic IIS server settings. We strongly recommend going with our hosted version, please try the server only if you really know what you're doing.
2.3. PREREQUISITES
The following components are required to be installed on the server hosting Jitbit HelpDesk:
- Microsoft .NET Framework 4.5.2
- Internet Information Services (IIS) web-server with ASP.NET feature enabled.
To enable the required features on Windows Server, do this:
- Click "Start button"
- in the search box, enter "Turn windows features on or off"
- in the features window, Click: "Internet Information Services"
- Click: "World Wide Web Services"
- Click: "Application Development Features"
- Check (enable) the features. Check all but CGI.
- Under "Common HTTP features" enable everything except "WebDAV" and "Directory browsing".
- Microsoft SQL Server 2012 or later configured to accept both Windows and SQL authentication (the so called "Mixed Mode")
MS SQL Server Express edition is a free edition of MS SQL Server. It is available for download from the Microsoft web site. Jitbit HelpDesk uses SQL-authentication, so SQL Server has to be installed with the "Mixed Mode" authentication mode (!), with an SA-password specified ("SA" is a built-in "system administrator" user, who's password must be specified explicitly during installation).
- Full-Text Search for SQL Server (this is optional, but highly recommended)
- If you plan using Windows-integrated authentication - you will need "Windows authentication" role service installed. Installation instructions
Microsoft .NET Framework, Internet Information Services (IIS) and SQL Server 2005/2008 "Express Edition" are all available at no charge from Microsoft if you do not already have the required components installed.
3. INSTALLING HELPDESK read carefully
Jitbit HelpDesk can be installed in TWO WAYS:
- automatically by launching the installer file
HelpDeskSetup.exe
(recommended, if you are installing on a local server, you have terminal or physical access to) - manually (for administrator professionals or, for example, if you want to upload Jitbit HelpDesk to a hosting environment)
To get you started you can follow along with this 5-minute video guide. It shows the most basic scenario of installing Jitbit along with SQL Server Express on the same server.
3.1. INSTALLING via HelpDeskSetup.exe
- unzip
- launch
HelpDeskSetup.exe
- If you get "the installer was interrupted" error message, then follow these steps:
- For Windows 7/Vista go to "Control Panel -> Programs -> Turn Windows features on and off -> Internet Information Services -> Web Management Tools -> IIS 6.0 Management Capability Feature" (select all)
- For Windows 2008 go to "Server Manager -> Roles -> Web Server (IIS) -> Add Role Services -> IIS 6 Management Compatibility"
- proceed with the wizard until you see a "Jitbit HelpDesk setup" dialog
- choose the authentication model - "windows" or "forms" (default, recommended to evaluate the app). See Section 6 for more info.
- If you select "Create a new database from scratch on the local computer" setup will:
- setup will prompt you for the SQL-Server name. If you are using SQL Server Express Edition, please note that by default, the SQL Server Express edition is installed as a named instance (SQLEXPRESS). This means that you need to specify "(local)\SQLEXPRESS" as a server name.
- setup will create the "JitbitHelpDesk" database on the specified server
- setup will create the "JitbitHelpDeskUser" SQL-user with a randomly generated password (this password will be saved to the web.config file).
- Note that the above steps require SQL-administrator privileges for your windows account.
- If you select "Upgrade an existing database from an older version" setup will:
- setup will prompt you for the SQL-Server name. If you are using SQL Server Express Edition, please note that by default, the SQL Server Express edition is installed as a named instance (SQLEXPRESS). This means that you need to specify "(local)\SQLEXPRESS" as a server name.
- setup will find a database named "JitbitHelpDesk" and try to upgrade it to the latest version (preserving the existing data)
- setup will generate a new password for the "JitbitHelpDeskUser" user, update it and save it to the web.config file.
- Note that the above steps require SQL-administrator privileges for your windows account.
- If you click "Manual setup or already installed" setup will skip the database creation. Proceed to section 3.2.2 of this manual to manually set up a database.
3.2. MANUAL INSTALLATION
3.2.1. Web-application install
- unzip
- copy the contents of the "ManualSetup" folder to your web-server virtual directory (e.g. "c:\inetpub\wwwroot\mywebsite\HelpDesk"), or upload it to your hosting environment
- configure this virtual directory as an application in IIS
- by using IIS Manager, ensure this virtual directory uses ASP.NET 4.0
3.2.2. Database install
Choose one of the following options
- Run the
SetupTool.exe
file from the app'sbin
folder (e.g."c:\inetpub\wwwroot\HelpDesk\bin"
) . - OR follow these steps to create the the DB manually.
- create a new database on your SQL-server, OR choose an existing database
- locate the "sql" folder within the installation folder (e.g. "c:\inetpub\wwwroot\HelpDesk\sql") and find the script file "CreateTables.sql" (or "UpgradeFromOlderVersions.sql" if you are upgrading).
- run the script against the database using SQL Query Analyser of SQL Server Management Studio
- edit the web.config with any plain-text editor to change the connection string to the appropriate value
3.3. FIRST LOG IN
After Jitbit HelpDesk has been successfully installed, open your web-browser and navigate to the location where Jitbit HelpDesk is installed (e.g. "http://myserver/HelpDesk").
Unless you changed the installation scripts, Jitbit Help Desk installs with two predefined users: admin (password "admin") and client (password "client"). CHANGE THESE DEFAULT PASSWORDS BEFORE USING HelpDesk. Use these default users only to login for the first time and start using it.
Most pages in Jitbit HelpDesk web application have a link "get help for this page" at the bottom of the page. Clicking this link provides the most relevant in-depth information about the current page.
3.4. Fixing common problems
If you see errors when you open Helpdesk in a browser, please try these things before contacting our support:
- Make sure the application pool in IIS is set to run on .NET 4.0 and in Integrated mode. Please double check that you are fixing the correct app pool (the one used by Helpdesk).
- Make sure that Anonymous-authentication module is installed and enabled in IIS for the helpdesk app! Once again: anonymous should be enabled. Otherwise you'll have problems with the API and other parts of the app
- Depending on the type of authentication you use, check that the following authentication modules are both installed and enabled in IIS: Windows-authentication if you're using Windows-integrated auth and Forms-authentication if you're using Forms auth. All the other modules must be disabled (except for the anonymous one).
- If you're having troubles with the mobile apps, check that API is working properly using our handy tool at http://full_helpdesk_url/api/test
- Run this command in cmd.exe. Don't worry, this is safe even if you have other web sites on the same server.
c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
4. UPGRADING FROM OLDER VERSIONS
NOTE: starting with version 9.29, the helpdesk app comes with an auto-update module. To upgrade your app to the latest version simply launch SetupTool.exe
in the /bin
subfolder. It will download the latest version (if you have a licensed version it will prompt you for your password first) and update all the files. And then update the database schema. Please note that if you made changes to the source codes, this might break your changes.
You can watch this short 4-minute video or follow the manual below.
To upgrade your helpdesk to the latest version:
- Download the upgrade here using your existing download-password that was emailed to you after the purchase (for registered customers only, download the trial version otherwise)
- Backup the folder where you have your Helpdesk software installed
- Remove all files except the "web.config" file
- Extract all the files from the downloaded archive into the Helpdesk application directory
- Upgrade your database to the new format - run the
SetupTool.exe
file from the Helpdesk application/bin
subfolder - or run the "UpgradeFromOlderVersions.sql" script manually. The upgrade script can be found in the "/sql" subfolder. Launch SQL Server Management Studio, connect to your server and execute the script against the JitbitHelpDesk database (the default name).
Upgrading from 9.16 and lower - MVC 5.2.7
You also need to make one small change to the web.config file. If you are using our SetupTool.exe
when upgrading this change should be made automatically. Otherwise you can do it yourself. Open the "web.config" file from the root directory of Helpdesk in a text editor. Look for this string:
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.5.0" newVersion="5.2.5.0" />
</dependentAssembly>
Should look like this:
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
Upgrading from 9.15 and lower - .NET 4.7.2
Starting with version 9.16 we are switching to .NET 4.7.2. It is possible that you already have it installed on your server. Here is an article on how to check what .NET version do you currently have: How to: Determine Which .NET Framework Versions Are Installed.
If you don't have .NET 4.7.2 installed, you can download it here. A server reboot might be needed.
You also need to make one small change to the web.config file. If you are using our SetupTool.exe
when upgrading this
change should be made automatically. Otherwise you can do it yourself. Open the "web.config" file from the root
directory of
Helpdesk in a text editor. Look for this string:
<compilation batch="false" targetFramework="4.5" />
Change "4.5" to "4.7.2". The resulting string should look like this:
<compilation batch="false" targetFramework="4.7.2" />
You will also need to do another small change. Find the code below and replace "9" with "12".
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
</dependentAssembly>
Should look like this:
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
Upgrading from 9.4 and lower
You need to make one change to the web.config file. If you are using our SetupTool.exe
when upgrading this change should be made automatically. Otherwise you can do it yourself. Open the "web.config" file from the root directory of Helpdesk in a text editor. Look for this string:
<runtime> ... </runtime>
Replace that entire section with the following:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.5.0" newVersion="5.2.5.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.5.0" newVersion="5.2.5.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
Upgrading from 8.9.20 and lower
You need to make one small change to the web.config file. If you are using our SetupTool.exe
when upgrading this change should be made automatically. Otherwise you can do it yourself. Open the "web.config" file from the root directory of Helpdesk
in a text editor. Look for this string:
</assemblyBinding>
Before this tag add the following:
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion = "0.0.0.0-9.0.0.0" newVersion = "9.0.0.0" />
</dependentAssembly>
Upgrading from 8.9.11 and lower - .NET 4.5
Starting with version 8.9.12 we've started using .NET 4.5. Most likely you already have .NET 4.5+ installed on your server. Here is an article on how to check what .NET version do you currently have: How to: Determine Which .NET Framework Versions Are Installed.
If you don't have .NET 4.5+ (4.6.* is also fine) installed, you can download it here. You will need to restart the server after that, so plan accordingly.
You also need to make one small change to the web.config file. If you are using our SetupTool.exe
when upgrading this change should be made automatically. Otherwise you can do it yourself. Open the "web.config" file from the root directory of
Helpdesk in a text editor. Look for this string:
<compilation batch="false" targetFramework="4.0" />
Change "4.0" to "4.5". The resulting string should look like this:
<compilation batch="false" targetFramework="4.5" />
That's it. You should be all set.
Upgrading from 8.6.1 and lower - ASP.NET MVC 4
As of version 8.6.2 we've migrated Jitbit Help Desk to ASP.NET MVC 4 to increase security and performance. So upgrading from earlier versions requires you to update your "web.config" file:
- Locate the web.config file in the app folder
- Open it for editing and save the database connection string, and <authentication> section, as well as any other settings you edited by hand.
- Overwrite the file with the new version of it from the downloaded archive
- Restore your database connection string, authentication tag and other custom settings in the new file
Upgrading from 7.0.8 and lower - ASP.NET MVC
As of version 7.1.0 Jitbit Help Desk uses ASP.NET MVC for some of it's operations. So upgrading from earlier versions requires you to update your "web.config" file with the new settings that were not there before (they're marked with "MVC" comment in the new web.config). And also removing all the "location" tags form the "web.config".
- Locate the web.config file in the app folder
- Open it for editing and save the database connection string, and <authentication> section, as well as any other settings you edited by hand.
- Overwrite the file with the new version of it from the downloaded archive
- Restore your database connection string, authentication tag and other custom settings in the new file
Upgrading from 5.4.10 and lower - .NET 4.0
Please note, that starting from version 5.5 the helpdesk is using .NET Framework 4.0 (previous versions were using 3.5). Upgrading requires two more extra steps:
- In the IIS management console, change the application-pool ASP.NET version from "v2.0.50727" to "v4.0.30319" (might not be these exact numbers but something very similar)
- Edit your web.config and remove all sections that have a comment "reserved .NET stuff" next to it (the whole "configsections" element, "compilation" element, "httphandlers", "httpmodules", "system.webserver", "system.codedom", "runtime")
- If you're getting validation errors when trying to close/takeover (etc) old tickets, created in the old version of helpdesk, edit your web.config and add this line into the "system.web" section:
<httpRuntime requestValidationMode="2.0" />
Also please note that NET Framework 4.0 uses a different method of sending emails via SMTP protocol. If you use an SMTP server via SSL, you may have to change your SMTP port from 465 to 587.
5. ADVANCED FEATURES
5.1 Full-Text Search
By default Helpdesk searches only within tickets subject and text. Since version 7.4.2 you can increase the search performance and enable searching within ticket replies (comments) as well by installing Full-Text Search components on your SQL Server.
If you had Full-Text Search installed from the start and you've upgraded to version 7.4.2 or above, you don't need to do anything, it just works.
If you're not sure whether or not you have it installed, run this query on your server:
SELECT FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')
If it returns "1", you're all set up. If it returns "0", you need to install Full-Text components. Here are the steps you should take:
- Install Full-Text Search components on your existing SQL Server
- If you use SQL Server Express, there is a free edition, which includes Full-Text Search. Search for SQL Server Express R2 with Advanced Services. You can use that installer to add full-text components to your existing SQL Server Express installation
- Re-run the upgrade scripts from the latest version of Helpdesk on your database
- Recycle the Helpdesk's application pool in the IIS (or simply restert IIS server)
Full-Text Components are optional, nothing will break without them, but installing them will improve the search speed and quality dramatically.
5.2. Autologin-feature
Jitbit HelpDesk supports "autologin" feature which allows users to be pre-authenticated automatically (by your parent website for example) without entering their username and password. The "autologin" feature is targeted at developers and administrators, who integrate the HelpDesk software into their existing SQL-powered websites and applications. If the user is already authenticated on your parent website (for instance) there are two options:
- No matter if a user is already present in the helpdesk database or not, use this link format:
http://Helpdesk_Url/User/AutoLogin?username=xxx&email=yyy&userHash=HASH
. The helpdesk will either create a new user account or use the existing one. - In the URL above
Helpdesk_Url
is the full helpdesk URL,username
is the user's username,email
is email andHASH
is calculated as follows:MD5(name + email + shared-secret + day + month)
. The "shared secret" is specified in the helpdesk's admin panel. Remember to specify a "strong" secret, at least 10 characters (the longer the better). Theday
andmonth
values should be the current day of month, and current month formatted as TWO DIGITS, so "January 1st" should become "0101".
You can optionally addFirstName=xxx
andLastName=xxx
parameters to the URL, so the newly-created helpdesk user will have the First/Last names pre-set. You can also passCompanyName=xxx
so the auto-created user will have a company assigned
Here's the up-to-date info on this feature.
5.3. Helpdesk URL
All outgoing email notifications about various ticket events contain a hyperlink to a ticket. The URL in those links is being initialised when Helpdesk starts and it is taken from the URL of the very first request to the app.
For example, if you recycle the application pool and make the first request to http://localhost/helpdesk, this URL will be used in all email notifications from Helpdesk until you recycle the app pool again.
There is a way to override this behaviour by setting a desired URL in the AppURL setting in web.config. Open the web.config file in the root directory of helpdesk and find or add "AppURL" setting inside the <appSettings> section. Like this:
<appSettings>
<add key="AppURL" value="http://support.yourcompany.com" />
</appSettings>
5.4. Storing files on disk
By default Helpdesk stores all attachments in the database. You can set it to store all attachments directly on disk:
- Create folder on your hard disk, for example C:\hdfiles
- Launch IIS Management Console (inetmgr.exe) and locate Helpdesk's application pool
- Right click it and select "Advanced properties", then look for "Identity" property
- You need to grant the "identity" user full access permissions to the folder you've just created. You can read how to do it in the official manual
- Go to Helpdesk root folder (C:\inetpub\wwwroot\helpdesk by default) and locate web.config file, then open it in Notepad
- Find
<appSettings>
tag and add this line right below it (don't forget to replace "value" with your folder path):<add key="AttachmentsPath" value="C:\hdfiles" />
- Recycle the app pool and you're done
6. Windows-integrated authentication
Starting from version 1.9 Jitbit HelpDesk supports Windows-integrated authentication and integrating with your existing Active Directory (AD) user's catalog. To enable Windows-integrated authentication edit the web.config file and un-comment this line:
<authentication mode="Windows"></authentication>
and comment the above tag which enables "Forms" authentication. Also remember to check if Windows-integrated authentication is enabled in IIS directory where HelpDesk is installed.
If you plan using Windows-authentication under IIS 7 - you will need "Windows authentication" role service installed. Installation instructions.
PLEASE NOTE: that when Windows-authentication is enabled, Jitbit HelpDesk automatically adds a domain-user into the HelpDesk database when he logs in for the first time (if he is properly authenticated with his Windows-account). Also HelpDesk will try to connect to your domain-controller and populate the user's email from Active Directory.
Adding windows-user adminitrator
If you're installing via the "setup.exe" you'll be prompted for a Windows username to add to Helpdesk "administrators" role. If not - there's a setting in the web.config file: <add key="WindowsAdminUsername" value="DOMAIN\Username"/>
7. UNINSTALLING HELPDESK
Automatic uninstallation is available only if you have installed Jitbit HelpDesk using the automated "setup.exe" installer. If you have installed the application manually - you have to manually uninstall it.
To uninstall Jitbit HelpDesk select "Start - All Programs - Jitbit HelpDesk - Uninstall Jitbit HelpDesk". The application will be removed from your system.
PLEASE NOTE: the database is NOT uninstalled during the automated uninstallation procedure.
8. API & Email API
The helpdesk app includes a "RESTful" web-service for integrating with other apps. The service address is: http://servername/helpdesk/api/
API docs can be found here: http://www.jitbit.com/helpdesk/helpdesk-api/
Email API
Email API manual can be found here: Email API
Advanced web.config settings
<add key="WindowsAdminUsername" value="DOMAIN\Username"/>
- if you're using helpdesk via Windows authentication and somehow unable to gain admin access to it - type your username into this setting
<add key="LogErrors" value="true"/>
- Log helpdesk errors in the server event log
<add key="DisallowChangingAvatars" value="true" />
- restrict users from changing their avatars (for example, if your avatars are being synched from AD)
<add key="AttachmentsPath" value="" />
- store helpdesk attachment in disk instead of the database. Advanced setting do not touch.
<add key="DisableMailChecker" value="" />
- disable the mail-importing module for debugging purposes. Advanced, do no touch.
<add key="AppURL" value="http://support.yourcompany.com" />
- the helpdesk app will try to detect your app's URL automatically. But if you see it making mistakes from time to time - simply use this setting.
<add key="mailCheckerInterval" value="10" />
- allows you to set the interval for pulling emails from your mailboxes manually. The interval is in seconds. Changing this setting is not recommended - the absolute majority
of systems will work fine with the default setting. You can try to increase the interval if you are constantly seeing a lot of ticket duplicates.
<add key="MailPswEncryptKey" value="" />
- email-server passwords will be encrypted in the database using this key (if not empty). Should be 8 characters, latin letters/numbers only. Example "18d6fg81". BACKUP THIS KEY AND NEVER CHANGE IT once you set it. Otherwise your mailbox-passwords in the DB will be lost and you will have to recreate the mailboxes in the app.