Public Repository

Last pushed: 5 months ago
Short Description
Jboss Image to Start SwiftKanban Application Server
Full Description

SwiftKanban Application Server

How to Use this Image?

Refer this document for setup of SwiftKanban Application 4.8 and above version

Start SwiftKanban Application Server

Copy provided bash file StartSKAppServer.sh and property file SK_Application_Setup.properties into a directory on your local machine.

Run the following commands to start Swiftkanban Application server.

Goto bash file directory

$ cd $BASH_FILE_DIR

Where $BASH_FILE_DIR is the path to directory where StartSKAppServer.sh bash file is stored.

Make the bash file executable

$ chmod 755 StartSKAppServer.sh

Set the values in SK_Application_Setup.properties file and run the bash file to start SwiftKanban Application server.

$ ./StartSKAppServer.sh

In Case of Application upgrade from older version to new version

Follow the Steps given below to upgrade the Application Server:

  1. Run the below command to shutdown SwiftKanban Application Server for the upgrade.

     docker stop skappserver
    
  2. Take Database backup

  3. Execute the following query on to swiftkanban database

     update current_schema_version set upgrade_status = 'In Progress';
    
  4. Delete tmp directory if you have mounted server tmp directory on your host machine.

  5. Run the following command to start application server with new docker Image

     sudo docker run -p $APP_SERVER_PORT:8080 --name skappserver --env APP_SERVER_PORT="$APP_SERVER_PORT" --env SK_DB_SERVER_IP="$DB_SERVER_IP" --env SK_DB_USERNAME="$MYSQL_USER" --env SK_DB_SERVER_PASSWORD="$DB_PASSWORD" --env SK_DB_SCHEMA_NAME="$MYSQL_DATABASE" -v $APP_SERVER_DATA/properties:/jboss-6.1.0.Final/server/swiftkanban/conf/properties -v $APP_SERVER_DATA/data:/jboss-6.1.0.Final/server/swiftkanban/data -v $APP_SERVER_DATA/work:/jboss-6.1.0.Final/server/swiftkanban/work -v $APP_SERVER_DATA/tmp:/jboss-6.1.0.Final/server/swiftkanban/tmp -v $APP_SERVER_DATA/log:/jboss-6.1.0.Final/server/swiftkanban/log -d digite/skappserver:$NEW_APP_VERSION
    

    ....where $APP_SERVER_PORT is the application server port on which application will run
    $DB_SERVER_IP is the Machine IP/hostname on which database server is running,
    $MYSQL_USER is the username of mysql user which will be used for connecting mysql through application,
    $DB_PASSWORD mysql user's password to connect to mysql database,
    $MYSQL_DATABASE is the swifkanban database schema name,
    $APP_SERVER_DATA is the path to store application server data i.e tmp,work,log and data directory of swiftkanban server. Also make sure that your properties directory exist in this directory,
    $NEW_APP_VERSION is the new swiftkanban application version.

  6. Browse the URL: http://SERVERNAME:PORT/admin/adminPage.action
    Note: Replace SERVERNAME with your Application server host name or URL and PORT with the TCP port on which your server is running.e.g. http://kanban:8080/admin/adminPage.action

  7. Login using SAAS admin account details.

    Default SAAS admin ID: sysadmin
    Default SAAS admin Password: **

  8. Click on Check Upgrade button and then Process Upgrade button.

  9. Wait for sometime, Upgrade Process completed successfully message will come.

10 . Execute the following query in MySQL client

select * from current_schema_version;
  • It will show the output with
        Platform_schema_version = Gandiva $SK_APP_NEW_VERSION
        Product_schema_version = Swift Kanban $SK_APP_NEW_VERSION
        Upgrade_Status = Success

11 . Re-start the Swift-Kanban Application server using the below docker command.

    docker restart skappserver
Docker Pull Command
Owner
digite

Comments (0)