Upgrading / Migrating Koha from Koha 20+ to Koha 24.+

By abhishek |

We have already seen Koha LIS Installation in our last Post which is available @ https://abhishek.nagar.me/koha/install the same steps can be used to install the Latest Version of Koha i.e 24.11 which was released in November 2024

I am very well sure that you might be also a lazy chap like me and would be not upgraded your Koha Installation at a regular basis still i presume that you must be using at least Koha 20.05 if yes use the following procedure to upgrade/migrate your current Koha Instance to Koha 24.11

Assumption : Koha Instance Name is library, Database Name is koha_library

Step 1 ) Install Koha 24.11 using the Procedure mentioned in our earlier blog post. and yes i recommend new Installation over Upgrade as by new installation you get a easy and safe opportunity to upgrade your Base OS to Debian 12 

Step 2) Take Backup of Database from Old System

  • Open Terminal on the Old System and execute the following to take backup
  • sudo mysqldump --single-transaction -u root -p koha_library > koha.sql

Step 3 ) Move the Backup file koha.sql generated in Step 2 to new/upgraded system using scp or any backup device whatever you are comfertable with.

Step 4 ) Restore mysql Backup to the New System

  • Open Terminal on the New System and remove the Existing Database which is currently already empty
    • sudo mysql -uroot -p
    • drop database koha_library;
    • create database koha_library;
    • exit;
  • On Terminal  execute the following to restore backup (this will take time depending on the backup size)
    • mysql -uroot -p koha_library < koha.sql 
    • exit
  • On Terminal Upgrade Database Schema
    • sudo koha-upgrade-schema library
  • On Terminal rebuild the Zebra Index
    • sudo koha-rebuild-zebra -v -f library

Wohla !!! you have upgraded Koha to 24.11 :) Enjoy Open the Staff Interface with your Old Credentials as they are now migrated :)
 

 

Drupal 10 is here !!! Upgrade Now

By abhisheknagar |

Drupal 10 is officially with us since a month now , After all the efforts and much wait i have started upgrading sites to D10, have upgraded a few which had very minimum functionality including this site, now planning to upgrade rest to D 9.5 so that D10 could be possible for others soon, but again it will take much time as it requires various modules and theme compatibility issues resolution.

What's included ?

  • Symphony 6
  • CKEditor 5
  • Claro Admin Theme
  • Olivero default theme
  • Starterkit theme generator
  • and mush more

What's Required ?

  • PHP 8.1
  • MariaDB 10.3.7+ / MySQL 8
  • Composer 2.3.6 +

Upgrading your Site

  • Use Upgrade Status to evaluate requirements
  • Upgrade to Drupal 9.4 +
  • Disable Upgrade Status
  • Upgrade to Drupal 10 if all requirements are met
Popular Modules already available for Drupal 10
  • Webform 
  • Ctools
  • Token
  • Pathauto
  • metatag
  • captcha
  • SAML Authentication
  • SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider
  • and more
Wait for these popular once to come on board

 

 

Koha Initial Setup/Installation, Configuration on Ubuntu 20.04

By abhisheknagar |

Koha is an open source integrated library system (ILS), used world-wide by public, school and special libraries. The name comes from a Māori term for a gift or donation. ~ Wikipedia

In this blog post we will discuss how to Install the Latest Version of Koha (21.05.XX)

System Requirements

  • Ubuntu 18.04 + or Debian 9+
  • Maria DB 10.1 +
  • Perl 5.24 +

Installation of Koha is quite easy and simple you can install Koha on your Local Machine or a Virtual Machine / Cloud / Compute Engine, I recommend using a minimum of 4 Gb RAM based machine / virtual setup.

Pre-requisite

The System must have Ubuntu 18.04 + Operating System Installed.

Koha Installation Process

  • Update Operating System
    • sudo apt-get update
    • sudo apt-get upgrade
  • Add Koha Repositories
  • Install Database Server
    • sudo apt-get install -y mariadb-server
    • sudo mysqladmin -u root password <yourpassword>
  • Install Koha
    • sudo apt install -y koha-common

Configuration Considerations

Koha Provides 2 Services namely

  • Staff Portal : Portal Used by Staff for Library Services
  • Web OPAC : Portal Used by Patrons for OPAC Services

Both of these services are installed on a single system/server there are multiple ways to access these

  • Named Services
  • IP Port Based Services
    • Where you want to access both the Portals using Same IP but different Ports eg XX.XX.XX.XX (Web Opac), XX.XX.XX.XX:8080 (Staff Portal)

Generally the Staff Portal is restricted to your Local Network while Web OPAC is Publically available, in this tutorial we will be using IP Port Based Setup, Lets Start Configuring Koha

Basic Web Based Installation & Configuration

Change the Port No of Staff Portal to 8080

sudo vim /etc/koha/koha-sites.conf

Find the following line and edit

INTRAPORT="8080"

Create a Koha Instance

sudo koha-create --create-db library (you can change <library> to whatever name you want to give)

Add a Port to Apache

sudo vim /etc/apache2/ports.conf

Listen 8080

Enable Module & Sites

sudo a2dissite 000-default

sudo a2enmod deflate

sudo a2ensite library

sudo service apache2 restart

sudo service memcached restart

Web Installation

Detailed Guide available @ https://koha-community.org/manual/21.05/en/html/installation.html

Once you are done with the above you can Open the Koha Web Installer to Install & Configure Koha to start the Web Installer open the following URL on your Favourite Web Browser

http://127.0.0.1:8080 (Replace 127.0.0.1 with Actual IP of VM/External Machine if being used)

The Web Installer will require a username & password to continue your can get the same from the file /etc/koha/sites/library/koha-conf.xml

sudo vim /etc/koha/sites/library/koha-conf.xml

Find the Following to know the User & Password

<config>
 <db_scheme>mysql</db_scheme>
 <database>koha_library</database>
 <hostname>localhost</hostname>
 <port>3306</port>
 <user>koha_library</user>
 <pass>CoPKrCzmoh0G7bQ@</pass>

 

The Web Installer will ask for various inputs like branch, itemtype, super user info, defaults, MARC Flavor and much more select/enter as per your preference and enjoy Koha.

Once Installation is Complete you can access

If your System is Connected to Network and proper firewall rules are in place then both the Staff Portal & Web OPAC will be available in your Local Network instantly. If you configured the above on a Cloud VM/Compute replace 127.0.0.1 with the Public IP as available with you.

 

For Professional Koha Support do contact abhishek [a t] nagar [d o t] me

Linux turns 30

By abhisheknagar |

It was 25th August 1991, when Linux Torvalds while studying computer science in University of Helsinki, announced a system in Usenet  newsgroup "comp.os.minix"

Hello everybody out there using minix -

I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. This has been brewing since april, and is starting to get ready. I'd like any feedback on things people like/dislike in minix, as my OS resembles it somewhat (same physical layout of the file-system (due to practical reasons) among other things).

I've currently ported bash(1.08) and gcc(1.40), and things seem to work. This implies that I'll get something practical within a few months, and I'd like to know what features most people would want. Any suggestions are welcome, but I won't promise I'll implement them :-)

Linus (torvalds@kruuna.helsinki.fi)

PS. Yes - it's free of any minix code, and it has a multi-threaded fs. It is NOT portable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(.

— Linus Torvalds

Linus never thought that this hobby will change the way people think in future. The name Linux was given to he project Code Base by Ari Lemmke at the University of Helsinki, the name was given without consulting Linus, later however Linus Torvalds consented to "Linux".

TuxThe current mascot "penguin" was announced by Torvalds in 1996, Torvalds mentioned that he was bitten by a penguin when he visited a Zoo in Australia. Larry Ewing drafted the wellknown mascot, the name Tux was suggested by James Hughes as short of tuxedo.

Super ComputersIn 1992, Andrew Tanenbaum a well recognized computer science scientist wrote on the same newsgroup with title "Lixux is obsolete". which started the great debate about the Linux Kernal and today Linux runs 100% of all Top 500 Super Computers.

My Story

My first interaction with Personal Computers dates back to 1993, when i used to use Disk Less Systems in and around 1997-98 i was using 286, 386 Systems in our labs. The fear of Y2K delayed our first purchase of Personal Computer and finally in the year 2000 we bought a Celeron 633 Mhz, 32 Mb RAM, 2 Gb HDD based Personal Computer, those days there were Magazines like CHIP, DiGiT, PC Magazine which started supplying Software Utilities Compact Disks along with them, and some where in 2000-2001 one of these magazines supplied Mandriva Linux Compact Disks.

First PresentationAs usual the habit was of trying all the software available with the magazines, i tried installing Mandriva Linux without any past experience of non FAT filesystems and Oh HO resulted in wiping out of all my existing data, none of the software i had in Floppies or Compact Disks worked as they were all DOS/Windows compliant software. The situation was fearsome as without any knowledge a school going kid had lost his running software.

It took me whole day to bring back Windows 98 mostly at that time which ended by First Journey to Linux :)

 

 

Well once i completed my schooling in Kashipur, i went to Banaras Hindu University and then to Symbiosis Institute of Computer Studies & Research Pune in 2007 where the never ending journey to the Linux World restarted.

I am very lucky to have some of the great teachers behind me always that the journey which restarted is still continuing and today i not only use Linux based Operating Systems but also contribute back to the community in various forms code, translations, teaching and many more.

In the college days we used various flavors of Linux some of them have now even reached end of life, which taught me resolution of issues ,writing Howtos and referring various guides to explore and innovate things.

I generally don't speak much but the Open Source / Linux World taught me to be open and now i am able to speak up my views openly.

In present day i continue to be a loyal user, contributor, teacher. On my linux journey i have built servers, radio stations, AI Applications, Bots and much more...

 

30 Yrs

Shared Web Hosting Review Dreamhost

By abhishek |

The ++++++++++

Save $50

  • 97-Day Money-Back Guarantee
  • Free Domain with annual plan
  • Unlimited Websites
  • PHP 7.4 +
  • Lets Encrypt SSL for all Websites hosted
  • Unlimited SSD Storage
  • Unlimited Bandwidth
  • Unlimited Email @ domain
  • Unlimited SSH Accounts
  • Unlimited Databases MySQL 5.7+
  • Drupal 9 Works :)
  • Word Press Quick Installs
  • IPV6 Support
  • Automatic Backups with facility to restore on the fly
  • Great Support Yes you can chat with them anytime
  • Each Subdomain can have a separate SSH User Account
  • You can provide access to individual domain to others as well

all this @ just USD 4.95 using annual plans

Using there services since 2007, this blog is hosted on DreamHost :)

Recommended Web Host : Get a $50 Discount using this link @ Dreamhost

Amazon Fire TV Stick Vs Google Chromecast

By abhishek |

You might have already read lots of reviews about Amazon Fire TV Stick and Google Chromecast  so here is my bit of it, I Currently use both of them using Google Chromecase since 3-4 Years and Amazon Fire TV Stick  since a year now so these are based on my usage

  Chrome Cast
Product Amazon Fire TV Stick Google Chromecast 
Interface HDMI & Micro USB HDMI & Micro USB
Remote Yes No
Android App Yes Yes
Power Adaptor Included Not Included
Proxy Support Yes No
Cast Mobile Screen Yes Yes
Mobile Required No Yes
Amazon Prime Support Yes No
Youtube via Browser via Mobile Cast
Ability to Install Apps Yes No
Resolution 720p and 1080p up to 60fps Up to 1080p 60fps
Network

Wireless + Ethernet with Adaptor

Dual-band, dual-antenna Wi-Fi

supports 2x2 MIMO 802.11a/b/g/n/ac

Wireless

802.11a/b/g/n/ac (2.4GHz/5GHz)

Storage 8 Gb NA
RAM 1 Gb NA

Verdict : After using both the devices for more than a year i strongly recommend Amazon Fire TV Stick over Google Chromecast as it comes with Remote (Voice Search) and ability to install apps you do not need Mobile phone each time to use Amazon Fire TV Stick,

Upgrade to Latest Version

By abhishek |

Its been a long time since i blogged, recently i logged in and found that this site was still using Drupal 6 fortunate enough that it was the Final Version of D6, which has already reached End of Life on On February 24th 2016, so as a first step thought of upgrading this site to the latest version fortunately was not using many modules so was able to upgrade the site to Drupal 8.5.3 in less than 10 mins using the guide available on Drupal Docs, Upgrade was smooth as Drupal Migrate & UI Module were used was able to migrate entire site barring the Theme as D8 version of Kanji Theme which was used in D6 was not available will work a bit on some theme to give site a new look till then using the Default Theme :).

Will try to restart blogging this Year atleast.