Firstly, a disclaimer that I'm performing this upgrade on xF 2.2 Beta3. Thus, if this is likely to a be a Calendar 2.1.9 being incompatible with xF 2.2 issue, then I can wait until Calendar 2.2 compatible is released.
Code:
# php cmd.php xf-addon:upgrade NF/Calendar
Upgrading NixFifty: Calendar from 1.0.12 to 2.1.9...
Confirm upgrade? (y/n)y
Upgrading . .
In AddOnSubAction.php line 130:
[ErrorException]
TypeError: Argument 2 passed to XF\Db\SchemaManager::createTable() must be an instance of Closure, null given, called in src/addons/NF/Calendar/Setup.php on line 186 and defined in src/XF/Db/SchemaManager.php:179
Stack trace:
#0 src/addons/NF/Calendar/Setup.php(186): XF\Db\SchemaManager->createTable()
#1 src/XF/AddOn/StepRunnerUpgradeTrait.php(122): NF\Calendar\Setup->upgrade2000032Step1()
#2 src/XF/AddOn/StepRunnerUpgradeTrait.php(71): NF\Calendar\Setup->upgradeStepRunner()
#3 src/XF/Cli/Command/AddOnActionTrait.php(109): NF\Calendar\Setup->upgrade()
#4 src/XF/Cli/Command/AddOnSubAction.php(79): XF\Cli\Command\AddOnSubAction->performAddOnAction()
#5 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\AddOnSubAction->execute()
#6 src/vendor/symfony/console/Application.php(987): Symfony\Component\Console\Command\Command->run()
#7 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand()
#8 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun()
#9 src/XF/Cli/Runner.php(76): Symfony\Component\Console \Application->run()
#10 /disk2/dev-netrider/cmd.php(15): XF\Cli\Runner->run()
#11 {main}