GithubHelp home page GithubHelp logo

chwet / kayako_scripts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jchieppa/kayako_scripts

0.0 0.0 0.0 164 KB

A collection of scripts we use with our Kayako Fusion download instances

License: GNU General Public License v2.0

Perl 25.34% PHP 74.66%

kayako_scripts's Introduction

##########################
# kayako_upgrade.pl script
##########################

INTRODUCTION
============
Perl script to save the laborious task of upgrading Kayako download helpdesk by hand.  If 
you have comments or suggestions please direct them to jchieppa AT gmail DOT com or via fork
and pull request.

INSTALLATION
============
Copy the kayako_upgrade.pl script to your htdocs root directory.

Script expects that you have already downloaded and extracted the required helpdesk and 
geoip tarballs and that a valid key.php exists in your existing installation dir.

During the installation the script will prompt you for your existing source directory as well
as the new source directories.  When entering any directory name (source, geoip, tinymce patch)
enter only the directory name, i.e. fusion-stable-sourceobf-4-64-1-4827 not the full path.

When prompted a (Y/n) the script assumes Yes on Y/y or enter and no on any other character.

We use Gary's 'CustomTweaks' App.  If you do not please comment out or remove lines 99-101.

CONFIGURATION
=============
Edit the script to define variables relevant to your installation.  At minimum you need to 
set the following variables:

# SET YOUR DATABASE VARIABLES
my $dbuser = 'username';
my $dbpass = 'password';
my $dbname = 'kayako';

# SET YOUR HTDOCS ROOT 
my $path = "/www/htdocs";

# SET YOUR HELPDESK URL
my $hdurl = "http://helpdesk.domain.com";

Make sure you leave off the trailing / of the url as it's manually input throughout the script
to prevent visual munging of variable & path.

# SET APACHE USER & GROUP
my $apache = "nobody.www";

We run Apache under nobody user, thus we give file and directory ownership to nobody.www 
Chanage this variable as needed

RFC822 Patch.  Currently email parser will fail on any email that doesn't conform to RFC822 
stopping all mail pickup of any messages newer than the failed message.  Kayako has a non published
patch to resolve this.  Upload the folder RFC822PATCH to your $path root directory prior to running
the upgrade script


  
##########################
# kayako_import.pl script
##########################

INTRODUCTION
============
Perl script handle importing the kayako database dump from mysqldump into a different kayako
instance (our dev environment).  It also does necessary housekeeping and disables client facing
features like email queue and autoclose rules. 

INSTALLATION
============
Copy the kayako_import.pl script to your htdocs root directory.

Script expects that you have already the database export file in the form of filename.sql in
your htdocs root directory.

CONFIGURATION
=============
Edit the script to define variables relevant to your installation for the following variables
below:

Note: Leave off the trailing / in the helpdesk url as it's manually input throughout the script
to prevent visual munging of the variable & path.

# CONFIG VARIABLES
my $platform = "mysql";
my $database = "kayako";
my $host     = "localhost";
my $username = "username";
my $password = "password";
my $hdurl = "http://helpdesk.domain.com";

kayako_scripts's People

Contributors

jchieppa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.