Libki 26.08 Upgrade

Libki 26.08 Upgrade

The 26.08 release of Libki includes updates for all the Libki components, and is essential for allowing Libki traffic to bypass Cloudflare filtering safely.

Upgrading Server

ByWater's Special Projects team will take care of updating Libki Server.  This new version introduces some significant changes to how Locations work, specifically the introduction of Locations Hierarchy, and the setting of open/close hours intervals.  The upgrade should take care of copying over Closing Hours for Locations, but Hours should be checked before the library opens, as a lack of specified hours means "Closed", and thus Clients will be unable to connect.

The target version of Libki Server is 5.4.0.  Server must be upgraded first, before other components.

Upgrading Client

Warning
If you are setting up Libki printing, you must install ClawPDF first, before setting up Libki Client.
  1. Download ClawPDF from GitHub
  2. Run as administrator
  3. Follow the wizard with all the default options

Download the 26.08 release from GitHub as the Libki user on your PC, then run as administrator.   The install wizard should bring in all your existing Client settings, so unless you need to change any of them, you can proceed through the installer with the default settings.

Setting up Printing

On the final page of the Libki Client Install wizard, you will be prompted for Printer names.  Use the "public_printer_name" values from your Libki Server setup, one per line, with the first entry being the printer you want to set as the default.  Be sure to match the name with the value in your Print Management settings exactly, including case and spacing.

Once the installer has completed, you'll need to configure ClawPDF.
  1. Open ClawPDF from the Windows apps list as the Libki user (configurations are saved on a per-user basis, so this must be configured for the Libki user directly)
  2. Under Application Settings -> Debug, click "Import Settings from File"
  3. Select "C:\Program Files (x86)\Libki\windows\clawPDF4Libki.ini" and import.  Confirm that this will overwrite existing settings. 
  4. Confirm under the Printers section of Application Settings that your configured printers exist, and are pointed at the "ClawPDF4Libki" profile
  5. Exit Application Settings
  6. Under Profile Settings -> Actions, verify that the 'Run Script' box is checked
  7. Verify that the direcotry "C:\printers\clawpdf" exists and is writable by the Libki user
Notes
If you have previously installed PDFScribe for printing with Libki, you can now uninstall that program and remove those printers.  Similarly, if you've previously installed ClawPDF, you can remove any legacy printers set up before, leaving only the printers you defined in the Libki Client install wizard.

Cloudflare ByPass

In the file "C:\ProgramData\Libki\Libki Kiosk Management System.ini", add the following two lines to the "[server]" section:

customHeaderName="x-libki-client-external-service"
customHeaderValue=<this value will be given by Special Projects Team>

Adjusting Log Level

Also within the .ini, add the following section to the top:

[logging]
level="debug"

This will help reduce noise in the Client logs, making it easier for ByWater to pinpoint issues in Support.

Alert
If you're using Printing with Libki, while in the same .ini, remove the "[printers]" section entirely.  This prevents Libki from scanning the configured directories every 2 seconds for jobs to upload to server.

Upgrading Print Manager

Download the 26.08 release and run.

Cloudflare ByPass

In the file "C:\ProgramData\Libki\Libki Print Manager.ini", add the following two lines to the "[settings]" section:

customHeaderName="x-libki-print-manager-external-service"
customHeaderValue=<this value will be given by Special Projects Team>

Target version is 1.5.0

Upgrading Print Station

Download the latest unstable release and run.

Cloudflare ByPass

During the Print Station installation, add the following (without the quotes) to the API Request Header fields:

API Request Header Name: "x-libki-print-station-external-service"
API Request Header Value: <this value will be given by Special Projects Team>

There is not yet a target version number for Print Station.