Xero Integration issues

xero

#1

I followed the instructions here: https://doc.splynx.com/display/SPL/Xero+accounting to install the Splynx-Xero-Addon. I did an apt-get update, then apt-get upgrade first, followed by reboot.

When I apt-get install splynx-xero-addon it downloads and installs and throws a fairly large error message on the console window. The referenced path /var/www/splynx/addons/splynx-xero-addon/config/certs is empty, so I can’t begin to setup the integration to xero.

Here is the error I get during install of the Xero addon:

Yii Migration Tool (based on Yii v2.0.10)

Exception 'yii\db\Exception' with message 'could not find driver'

in /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Connection.php:549

Stack trace:
#0 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Connection.php(863): yii\db\Connection->open()
#1 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Connection.php(850): yii\db\Connection->getMasterPdo()
#2 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Command.php(219): yii\db\Connection->getSlavePdo()
#3 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Command.php(894): yii\db\Command->prepare(true)
#4 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Command.php(362): yii\db\Command->queryInternal('fetchAll', NULL)
#5 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/sqlite/Schema.php(143): yii\db\Command->queryAll()
#6 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/sqlite/Schema.php(126): yii\db\sqlite\Schema->findColumns(Object(yii\db\TableSchema))
#7 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/db/Schema.php(147): yii\db\sqlite\Schema->loadTableSchema('migration')
#8 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/controllers/MigrateController.php(199): yii\db\Schema->getTableSchema('{{%migration}}', true)
#9 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(771): yii\console\controllers\MigrateController->getMigrationHistory(NULL)
#10 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(135): yii\console\controllers\BaseMigrateController->getNewMigrations()
#11 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0)
#12 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#13 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#14 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/Controller.php(128): yii\base\Controller->runAction('up', Array)
#15 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/Module.php(454): yii\console\Controller->runAction('up', Array)
#16 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate/up', Array)
#17 /var/www/splynx/addons/splynx-xero-addon/commands/InstallController.php(30): yii\console\Application->runAction('migrate/up', Array)
#18 [internal function]: app\commands\InstallController->actionIndex()
#19 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#20 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#21 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/Controller.php(128): yii\base\Controller->runAction('', Array)
#22 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/Module.php(454): yii\console\Controller->runAction('', Array)
#23 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('install', Array)
#24 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('install', Array)
#25 /var/www/splynx/addons/splynx-addon-base/vendor/yiisoft/yii2/base/Application.php(375): yii\console\Application->handleRequest(Object(yii\console\Request))
#26 /var/www/splynx/addons/splynx-xero-addon/yii(24): yii\base\Application->run()
#27 {main}

#2
  1. You have Splynx 1.2 installed, but this addon requires 1.3 …
  2. Looks like all other packages in your system are old too, (like a splynx-base-addon), so you have to make apt dist-upgrade before installation.

#3

So I ran an apt dist-upgrade, but all it did was upgrade 2 base ubuntu packages. Nothing for splynx

What am I missing?


#4

May be: Splynx-1.3,

So wait for public release of Splynx 1.3.


#5

Sorry. I did not realize that 1.3 wasn’t publicly released yet. I’ll wait. Thanks!


#6

Also, it looks like you must ensure that your server has installed SQLite3 and php-sqlite extension.

But anyway, now we are developing a new version of Splynx Xero Add-on, so it would be better for you to wait for some time )


#7

Do we know what the timeframe is for this?


#8

I hope end of this month


#9

Is the new version of Splynx with Xero integration now generally available?


#10

Is 1.3 available yet?


#11

1.3 is available in dev version now, Xero is there. Please notice that you need to get a paid license to get accounting or payment gateway add-ons


#12

how to install dev version:
apt-get update
apt-get install splynx-dev