· 8 years ago · Feb 19, 2018, 07:10 PM
1root@498d666f2296:/var/www/html# composer update
2Do not run Composer as root/super user! See https://getcomposer.org/root for details
3The "extra.asset-installer-paths" option is deprecated, use the "config.fxp-asset.installer-paths" option
4Loading composer repositories with package information
5Updating dependencies (including require-dev)
6Package operations: 41 installs, 35 updates, 2 removals
7 - Removing stecman/symfony-console-completion (0.7.0)
8 - Removing bower-asset/jquery.inputmask (3.3.8)
9 - Installing ocramius/package-versions (1.3.0): Downloading (100%)
10 - Updating symfony/polyfill-mbstring (v1.5.0 => v1.7.0): Downloading (100%)
11 - Updating bower-asset/jquery (2.2.4 => 3.2.1): Downloading (100%)
12 - Updating bower-asset/yii2-pjax (v2.0.6 => 2.0.7.1): Downloading (100%)
13 - Installing doctrine/cache (v1.7.1): Downloading (100%)
14 - Updating nikic/php-parser (v3.1.1 => v3.1.4): Downloading (100%)
15 - Updating doctrine/annotations (v1.5.0 => v1.6.0): Downloading (100%)
16 - Updating goaop/framework (2.1.2 => 2.2.0): Downloading (100%)
17 - Installing bower-asset/inputmask (3.3.11): Downloading (100%)
18 - Updating yiisoft/yii2 (2.0.12 => 2.0.13): Downloading (100%)
19 - Updating yiisoft/yii2-bootstrap (2.0.6 => 2.0.8): Downloading (100%)
20 - Updating yiisoft/yii2-debug (2.0.11 => 2.0.13): Downloading (100%)
21 - Updating yiisoft/yii2-redis (2.0.6 => 2.0.7): Downloading (100%)
22 - Updating yiisoft/yii2-mongodb (2.1.4 => 2.1.6): Downloading (100%)
23 - Updating himiklab/yii2-recaptcha-widget (1.0.6 => 1.1.1): Downloading (100%)
24 - Updating bower-asset/raven-js (3.12.2 => 3.22.3): Downloading (100%)
25 - Updating sentry/sentry (1.6.2 => 1.8.3): Downloading (100%)
26 - Updating mito/yii2-sentry (1.0.2 => 1.0.4): Downloading (100%)
27 - Updating webmozart/assert (1.2.0 => 1.3.0): Downloading (100%)
28 - Updating php-http/discovery (1.3.0 => 1.4.0): Downloading (100%)
29 - Updating symfony/options-resolver (v3.3.9 => v4.0.4): Downloading (100%)
30 - Updating php-http/client-common (1.5.0 => 1.7.0): Downloading (100%)
31 - Updating mailgun/mailgun-php (2.3.4 => 2.4.1): Downloading (100%)
32 - Updating phpunit/php-token-stream (2.0.1 => 2.0.2): Downloading (100%)
33 - Updating phpdocumentor/reflection-common (1.0 => 1.0.1): Downloading (100%)
34 - Updating egulias/email-validator (2.1.2 => 2.1.3): Downloading (100%)
35 - Updating swiftmailer/swiftmailer (v6.0.1 => v6.0.2): Downloading (100%)
36 - Updating symfony/debug (v3.3.8 => v3.4.4): Downloading (100%)
37 - Installing brick/math (0.7.0): Downloading (100%)
38 - Installing yiisoft/yii2-elasticsearch (2.0.0): Downloading (100%)
39 - Installing borales/yii2-elasticsearch-behavior (0.0.1): Downloading (100%)
40 - Updating sebastian/diff (1.4.3 => 2.0.1): Downloading (100%)
41 - Updating sebastian/comparator (2.0.0 => 2.1.3): Downloading (100%)
42 - Installing behat/gherkin (v4.4.5): Loading from cache
43 - Updating symfony/dom-crawler (v3.3.8 => v4.0.4): Downloading (100%)
44 - Updating symfony/css-selector (v3.3.8 => v4.0.4): Downloading (100%)
45 - Updating symfony/browser-kit (v3.3.8 => v4.0.4): Downloading (100%)
46 - Updating symfony/event-dispatcher (v3.3.8 => v3.2.14): Downloading (100%)
47 - Updating symfony/finder (v3.3.8 => v3.4.4): Downloading (100%)
48 - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
49 - Updating phpunit/php-file-iterator (1.4.2 => 1.4.5): Downloading (100%)
50 - Updating phpunit/php-code-coverage (5.2.2 => 5.3.0): Downloading (100%)
51 - Updating phpdocumentor/reflection-docblock (4.1.1 => 4.3.0): Downloading (100%)
52 - Installing phpspec/prophecy (1.7.5): Downloading (100%)
53 - Installing phar-io/version (1.0.1): Loading from cache
54 - Installing phar-io/manifest (1.0.1): Loading from cache
55 - Installing myclabs/deep-copy (1.7.0): Downloading (100%)
56 - Installing phpunit/phpunit (6.4.4): Downloading (100%)
57 Skipped installation of bin phpunit for package phpunit/phpunit: name conflicts with an existing file
58 - Installing codeception/base (2.3.7): Downloading (100%)
59 Skipped installation of bin codecept for package codeception/base: name conflicts with an existing file
60 - Installing fzaninotto/faker (v1.7.1): Loading from cache
61 - Installing yiisoft/yii2-faker (2.0.3): Loading from cache
62 - Installing symfony/filesystem (v4.0.4): Downloading (100%)
63 - Installing symfony/dependency-injection (v3.1.10): Downloading (100%)
64 - Installing symfony/config (v4.0.4): Downloading (100%)
65 - Installing pdepend/pdepend (2.5.1): Downloading (100%)
66 Skipped installation of bin src/bin/pdepend for package pdepend/pdepend: name conflicts with an existing file
67 - Installing phpmd/phpmd (2.6.0): Downloading (100%)
68 Skipped installation of bin src/bin/phpmd for package phpmd/phpmd: name conflicts with an existing file
69 - Installing codeception/verify (0.3.3): Loading from cache
70 - Installing codeception/specify (0.4.6): Loading from cache
71 - Installing theseer/fdomdocument (1.6.6): Loading from cache
72 - Installing sebastian/finder-facade (1.2.2): Downloading (100%)
73 - Installing phploc/phploc (4.0.1): Downloading (100%)
74 Skipped installation of bin phploc for package phploc/phploc: name conflicts with an existing file
75 - Installing sebastian/phpcpd (3.0.1): Downloading (100%)
76 Skipped installation of bin phpcpd for package sebastian/phpcpd: name conflicts with an existing file
77 - Installing squizlabs/php_codesniffer (3.2.2): Downloading (100%)
78 Skipped installation of bin bin/phpcs for package squizlabs/php_codesniffer: name conflicts with an existing file
79 Skipped installation of bin bin/phpcbf for package squizlabs/php_codesniffer: name conflicts with an existing file
80 - Installing jean85/pretty-package-versions (1.1): Downloading (100%)
81 - Installing nette/utils (v2.5.1): Downloading (100%)
82 - Installing nette/finder (v2.4.1): Downloading (100%)
83 - Installing nette/robot-loader (v3.0.3): Downloading (100%)
84 - Installing nette/php-generator (v3.0.2): Downloading (100%)
85 - Installing nette/neon (v2.4.2): Downloading (100%)
86 - Installing nette/di (v2.4.10): Downloading (100%)
87 - Installing nette/bootstrap (v2.4.5): Downloading (100%)
88 - Installing phpstan/phpstan (0.8.5): Downloading (100%)
89 - Installing phpstan/phpdoc-parser (0.2): Downloading (100%)
90 - Installing yii2tech/embedded (1.0.2): Downloading (100%)
91 - Installing samdark/hydrator (1.0.4): Downloading (100%)
92 - Installing php-curl-class/php-curl-class (8.0.1): Downloading (100%)
93doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
94phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
95codeception/base suggests installing aws/aws-sdk-php (For using AWS Auth in REST module and Queue module)
96codeception/base suggests installing codeception/phpbuiltinserver (Start and stop PHP built-in web server for your tests)
97codeception/base suggests installing flow/jsonpath (For using JSONPath in REST module)
98codeception/base suggests installing phpseclib/phpseclib (for SFTP option in FTP Module)
99codeception/base suggests installing league/factory-muffin (For DataFactory module)
100codeception/base suggests installing league/factory-muffin-faker (For Faker support in DataFactory module)
101codeception/base suggests installing symfony/phpunit-bridge (For phpunit-bridge support)
102codeception/base suggests installing stecman/symfony-console-completion (For BASH autocompletion)
103symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
104symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
105nette/utils suggests installing ext-intl (for script transliteration in Strings::webalize() and toAscii())
106nette/bootstrap suggests installing tracy/tracy (to use Configurator::enableTracy())
107Package videlalvaro/php-amqplib is abandoned, you should avoid using it. Use php-amqplib/php-amqplib instead.
108Writing lock file
109Generating autoload files
110
111 Seems you have upgraded Yii Framework from version 2.0.12 to 2.0.13.
112
113 Please check the upgrade notes for possible incompatible changes
114 and adjust your application code accordingly.
115
116 Upgrade from Yii 2.0.12
117 -----------------------
118
119 * The `yii\web\Request` class allowed to determine the value of `getIsSecureConnection()` form the
120 `X-Forwarded-Proto` header if the connection was made via a normal HTTP request. This behavior
121 was insecure as the header could have been set by a malicious client on a non-HTTPS connection.
122 With 2.0.13 Yii adds support for configuring trusted proxies. If your application runs behind a reverse proxy and relies on
123 `getIsSecureConnection()` to return the value form the `X-Forwarded-Proto` header you need to explicitly allow
124 this in the Request configuration. See the [guide](http://www.yiiframework.com/doc-2.0/guide-runtime-requests.html#trusted-proxies) for more information.
125
126 This setting also affects you when Yii is running on IIS webserver, which sets the `X-Rewrite-Url` header.
127 This header is now filtered by default and must be listed in trusted hosts to be detected by Yii:
128
129 ```php
130 [ // accept X-Rewrite-Url from all hosts, as it will be set by IIS
131 '/.*/' => ['X-Rewrite-Url'],
132 ]
133 ```
134
135 * For compatibiliy with [PHP 7.2 which does not allow classes to be named `Object` anymore](https://wiki.php.net/rfc/object-typehint),
136 we needed to rename `yii\base\Object` to `yii\base\BaseObject`.
137
138 `yii\base\Object` still exists for backwards compatibility and will be loaded if needed in projects that are
139 running on PHP <7.2. The compatibility class `yii\base\Object` extends from `yii\base\BaseObject` so if you
140 have classes that extend from `yii\base\Object` these would still work.
141
142 What does not work however will be code that relies on `instanceof` checks or `is_subclass_of()` calls
143 for `yii\base\Object` on framework classes as these do not extend `yii\base\Object` anymore but only
144 extend from `yii\base\BaseObject`. In general such a check is not needed as there is a `yii\base\Configurable`
145 interface you should check against instead.
146
147 Here is a visualisation of the change (`a < b` means "b extends a"):
148
149 ```
150 Before:
151
152 yii\base\Object < Framework Classes
153 yii\base\Object < Application Classes
154
155 After Upgrade:
156
157 yii\base\BaseObject < Framework Classes
158 yii\base\BaseObject < yii\base\Object < Application Classes
159
160 ```
161
162 If you want to upgrade PHP to version 7.2 in your project you need to remove all cases that extend `yii\base\Object`
163 and extend from `yii\base\BaseObject` instead:
164
165 ```
166 yii\base\BaseObject < Framework Classes
167 yii\base\BaseObject < Application Classes
168 ```
169
170 For extensions that have classes extending from `yii\base\Object`, to be compatible with PHP 7.2, you need to
171 require `"yiisoft/yii2": "~2.0.13"` in composer.json and change affected classes to extend from `yii\base\BaseObject`
172 instead. It is not possible to allow Yii versions `<2.0.13` and be compatible with PHP 7.2 or higher.
173
174 * A new method `public static function instance($refresh = false);` has been added to the `yii\db\ActiveRecordInterface` via a new
175 `yii\base\StaticInstanceInterface`. This change may affect your application in the following ways:
176
177 - If you have an `instance()` method defined in an `ActiveRecord` or `Model` class, you need to check whether the behavior is
178 compatible with the method added by Yii.
179 - Otherwise this method is implemented in the `yii\base\Model`, so the change only affects your code if you implement `ActiveRecordInterface`
180 in a class that does not extend `Model`. You may use `yii\base\StaticInstanceTrait` to implement it.
181
182 * Fixed built-in validator creating when model has a method with the same name.
183
184 It is documented, that for the validation rules declared in model by `yii\base\Model::rules()`, validator can be either
185 a built-in validator name, a method name of the model class, an anonymous function, or a validator class name.
186 Before this change behavior was inconsistent with the documentation: method in the model had higher priority, than
187 a built-in validator. In case you have relied on this behavior, make sure to fix it.
188
189 * Behavior was changed for methods `yii\base\Module::get()` and `yii\base\Module::has()` so in case when the requested
190 component was not found in the current module, the parent ones will be checked for this component hierarchically.
191 Considering that the root parent module is usually an application, this change can reduce calls to global `Yii::$app->get()`,
192 and replace them with module-scope calls to `get()`, making code more reliable and easier to test.
193 However, this change may affect your application if you have code that uses method `yii\base\Module::has()` in order
194 to check existence of the component exactly in this specific module. In this case make sure the logic is not corrupted.
195
196 You can find the upgrade notes for all versions online at:
197 https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md
198
199ocramius/package-versions: Generating version class...
200ocramius/package-versions: ...done generating version class
201root@498d666f2296:/var/www/html# bin/yii migrat
202Unknown command: migrat
203
204Did you mean one of these?
205 - migrate
206 - migrate/create
207 - migrate/down
208 - migrate/fresh
209 - migrate/history
210 - migrate/mark
211 - migrate/new
212 - migrate/redo
213 - migrate/to
214 - migrate/up
215[2018-02-19 19:07:18][yii\console\UnknownCommandException][error] Array content is
216{
217 "command": "migrat",
218 "xdebug_message": "\nyii\\console\\UnknownCommandException: Unknown command \"migrat\". in /var/www/html/vendor/yiisoft/yii2/console/Application.php on line 183\n\nCall Stack:\n 0.0013 359344 1. {main}() /var/www/html/bin/yii:0\n 0.3917 5118232 2. yii\\console\\Application->run() /var/www/html/bin/yii:38\n 0.4021 5165368 3. yii\\console\\Application->handleRequest() /var/www/html/vendor/yiisoft/yii2/base/Application.php:386\n 0.4021 5165744 4. yii\\console\\Application->runAction() /var/www/html/vendor/yiisoft/yii2/console/Application.php:147\n"
219}
220root@498d666f2296:/var/www/html# ^C
221root@498d666f2296:/var/www/html# bin/yii migrate
222Yii Migration Tool (based on Yii v2.0.13)
223
224Creating migration history table "mnxb_migration"...Done.
225Total 35 new migrations to be applied:
226 m170731_124040_finance_create_address_balance
227 m170808_145017_explorer_create_block_table
228 m170808_154243_explorer_create_transaction_table
229 m170808_154259_explorer_create_input_table
230 m170808_154305_explorer_create_output_table
231 m170818_135900_create_explorer_transaction_foreign_key
232 m170818_135901_create_explorer_input_foreign_key
233 m170818_135902_create_explorer_output_foreign_key
234 m170904_135934_finance_create_address_balance_log
235 m170904_135935_finance_create_address_balance_log_foreign_key
236 m170907_135936_explorer_transaction_add_createdAt
237 m170911_112406_explorer_block_add_hashrate
238 m170912_092347_explorer_address_balance_change_balance_type
239 m170912_093135_explorer_address_balance_log_change_balance_type
240 m170918_092350_explorer_alter_explorer_block_rename_transactions
241 m170918_122645_create_user_auth_keys_table
242 m170918_122829_create_user_requests_table
243 m170919_093604_alter_user_auth_key_add_limits
244 m170929_144226_create_hashrate_table
245 m171002_171635_add_next_migration_costyil
246 m171026_153610_delete_fisrt_seend_block
247 m171030_110001_add_received_column_to_finance_address_balance_table
248 m171120_090412_add_blockId_into_transaction
249 m171120_100045_add_transactionId_into_inputs
250 m171120_101927_fix_transactionId_into_outputs
251 m171120_104740_change_columns_to_integer
252 m171121_141229_rename_address_to_addressId
253 m171207_105450_create_block_collection
254 m171207_105456_create_transaction_collection
255 m171207_105518_create_address_collection
256 m171227_095739_add_indexes_for_transaction_collection
257 m171227_095941_add_indexes_for_address_collections
258 m171227_102530_add_index_for_block
259 m171227_194200_add_index_for_transaction
260 m171228_120443_integration_add_coinmarcetcup_table
261
262Apply the above migrations? (yes|no) [no]:yes
263*** applying m170731_124040_finance_create_address_balance
264 > create table {{%finance_address_balance}} ... done (time: 0.013s)
265 > create index address on {{%finance_address_balance}} (address) ... done (time: 0.017s)
266 > create index lastSync on {{%finance_address_balance}} (lastSync) ... done (time: 0.015s)
267*** applied m170731_124040_finance_create_address_balance (time: 0.110s)
268
269*** applying m170808_145017_explorer_create_block_table
270 > create table {{%explorer_block}} ... done (time: 0.022s)
271*** applied m170808_145017_explorer_create_block_table (time: 0.030s)
272
273*** applying m170808_154243_explorer_create_transaction_table
274 > create table {{%explorer_transaction}} ... done (time: 0.015s)
275 > create index block on {{%explorer_transaction}} (block) ... done (time: 0.017s)
276*** applied m170808_154243_explorer_create_transaction_table (time: 0.044s)
277
278*** applying m170808_154259_explorer_create_input_table
279 > create table {{%explorer_input}} ... done (time: 0.019s)
280 > create index transactionId on {{%explorer_input}} (transactionId) ... done (time: 0.020s)
281 > create index address on {{%explorer_input}} (address) ... done (time: 0.015s)
282*** applied m170808_154259_explorer_create_input_table (time: 0.069s)
283
284*** applying m170808_154305_explorer_create_output_table
285 > create table {{%explorer_output}} ... done (time: 0.020s)
286 > create index transactionId on {{%explorer_output}} (transactionId) ... done (time: 0.021s)
287 > create index address on {{%explorer_output}} (address) ... done (time: 0.023s)
288*** applied m170808_154305_explorer_create_output_table (time: 0.077s)
289
290*** applying m170818_135900_create_explorer_transaction_foreign_key
291 > add foreign key fk_explorer_transaction_1: {{%explorer_transaction}} (block) references {{%explorer_block}} (hash) ... done (time: 0.045s)
292*** applied m170818_135900_create_explorer_transaction_foreign_key (time: 0.056s)
293
294*** applying m170818_135901_create_explorer_input_foreign_key
295 > add foreign key fk_explorer_input_1: {{%explorer_input}} (transactionId) references {{%explorer_transaction}} (hash) ... done (time: 0.037s)
296*** applied m170818_135901_create_explorer_input_foreign_key (time: 0.051s)
297
298*** applying m170818_135902_create_explorer_output_foreign_key
299 > add foreign key fk_explorer_output_1: {{%explorer_output}} (transactionId) references {{%explorer_transaction}} (hash) ... done (time: 0.053s)
300*** applied m170818_135902_create_explorer_output_foreign_key (time: 0.065s)
301
302*** applying m170904_135934_finance_create_address_balance_log
303 > create table {{%finance_address_balance_log}} ... done (time: 0.011s)
304 > create index addressBalanceId on {{%finance_address_balance_log}} (addressBalanceId) ... done (time: 0.018s)
305 > create index transactionId on {{%finance_address_balance_log}} (transactionId) ... done (time: 0.012s)
306 > create index status on {{%finance_address_balance_log}} (status) ... done (time: 0.016s)
307 > create index createdAt on {{%finance_address_balance_log}} (createdAt) ... done (time: 0.014s)
308*** applied m170904_135934_finance_create_address_balance_log (time: 0.078s)
309
310*** applying m170904_135935_finance_create_address_balance_log_foreign_key
311 > add foreign key fk_finance_address_balance_log_1: {{%finance_address_balance_log}} (addressBalanceId) references {{%finance_address_balance}} (id) ... done (time: 0.045s)
312 > add foreign key fk_finance_address_balance_log_2: {{%finance_address_balance_log}} (transactionId) references {{%explorer_transaction}} (hash) ... done (time: 0.065s)
313*** applied m170904_135935_finance_create_address_balance_log_foreign_key (time: 0.123s)
314
315*** applying m170907_135936_explorer_transaction_add_createdAt
316 > add column createdAt datetime NOT NULL AFTER `index` to table {{%explorer_transaction}} ... done (time: 0.031s)
317*** applied m170907_135936_explorer_transaction_add_createdAt (time: 0.039s)
318
319*** applying m170911_112406_explorer_block_add_hashrate
320 > add column hashrate decimal(20,8) NOT NULL AFTER `difficulty` to table {{%explorer_block}} ... done (time: 0.030s)
321*** applied m170911_112406_explorer_block_add_hashrate (time: 0.038s)
322
323*** applying m170912_092347_explorer_address_balance_change_balance_type
324 > alter column balance in table {{%finance_address_balance}} to decimal(20,8) NOT NULL ... done (time: 0.041s)
325*** applied m170912_092347_explorer_address_balance_change_balance_type (time: 0.053s)
326
327*** applying m170912_093135_explorer_address_balance_log_change_balance_type
328 > alter column balance in table {{%finance_address_balance_log}} to decimal(20,8) NOT NULL ... done (time: 0.040s)
329*** applied m170912_093135_explorer_address_balance_log_change_balance_type (time: 0.054s)
330
331*** applying m170918_092350_explorer_alter_explorer_block_rename_transactions
332 > rename column transactions in table {{%explorer_block}} to transactionCount ... done (time: 0.010s)
333*** applied m170918_092350_explorer_alter_explorer_block_rename_transactions (time: 0.024s)
334
335*** applying m170918_122645_create_user_auth_keys_table
336 > create table {{%user_auth_keys}} ... done (time: 0.014s)
337*** applied m170918_122645_create_user_auth_keys_table (time: 0.028s)
338
339*** applying m170918_122829_create_user_requests_table
340 > create table {{%user_key_requests}} ... done (time: 0.019s)
341*** applied m170918_122829_create_user_requests_table (time: 0.033s)
342
343*** applying m170919_093604_alter_user_auth_key_add_limits
344 > add column allowance integer(3) UNSIGNED NOT NULL DEFAULT 0 to table {{%user_auth_keys}} ... done (time: 0.042s)
345 > add column allowanceUpdatedAt timestamp to table {{%user_auth_keys}} ... done (time: 0.020s)
346*** applied m170919_093604_alter_user_auth_key_add_limits (time: 0.070s)
347
348*** applying m170929_144226_create_hashrate_table
349 > create table {{%block_hashrate}} ... done (time: 0.010s)
350*** applied m170929_144226_create_hashrate_table (time: 0.022s)
351
352*** applying m171002_171635_add_next_migration_costyil
353*** applied m171002_171635_add_next_migration_costyil (time: 0.011s)
354
355*** applying m171026_153610_delete_fisrt_seend_block
356 > drop column firstSeen from table {{%finance_address_balance}} ... done (time: 0.040s)
357*** applied m171026_153610_delete_fisrt_seend_block (time: 0.057s)
358
359*** applying m171030_110001_add_received_column_to_finance_address_balance_table
360 > add column received decimal(20,8) NOT NULL DEFAULT 0 to table {{%finance_address_balance}} ... done (time: 0.028s)
361*** applied m171030_110001_add_received_column_to_finance_address_balance_table (time: 0.043s)
362
363*** applying m171120_090412_add_blockId_into_transaction
364 > alter column id in table {{%explorer_block}} to int(11) unsigned NOT NULL AUTO_INCREMENT ... done (time: 0.042s)
365 > add column blockId integer UNSIGNED NOT NULL AFTER `hash` to table {{%explorer_transaction}} ... done (time: 0.030s)
366 > drop foreign key fk_explorer_transaction_1 from table {{%explorer_transaction}} ... done (time: 0.008s)
367 > add foreign key explorer_transaction_ibfk_1: {{%explorer_transaction}} (blockId) references {{%explorer_block}} (id) ... done (time: 0.039s)
368*** applied m171120_090412_add_blockId_into_transaction (time: 0.130s)
369
370*** applying m171120_100045_add_transactionId_into_inputs
371 > alter column id in table {{%explorer_transaction}} to int(11) unsigned NOT NULL AUTO_INCREMENT ... done (time: 0.038s)
372 > drop foreign key fk_explorer_input_1 from table {{%explorer_input}} ... done (time: 0.012s)
373 > alter column transactionId in table {{%explorer_input}} to integer UNSIGNED NOT NULL ... done (time: 0.031s)
374 > add foreign key explorer_input_ibfk_1: {{%explorer_input}} (transactionId) references {{%explorer_transaction}} (id) ... done (time: 0.034s)
375*** applied m171120_100045_add_transactionId_into_inputs (time: 0.129s)
376
377*** applying m171120_101927_fix_transactionId_into_outputs
378 > drop foreign key fk_explorer_output_1 from table {{%explorer_output}} ... done (time: 0.010s)
379 > alter column transactionId in table {{%explorer_output}} to integer UNSIGNED NOT NULL ... done (time: 0.040s)
380 > add foreign key explorer_output_ibfk_1: {{%explorer_output}} (transactionId) references {{%explorer_transaction}} (id) ... done (time: 0.035s)
381*** applied m171120_101927_fix_transactionId_into_outputs (time: 0.102s)
382
383*** applying m171120_104740_change_columns_to_integer
384 > alter column version in table {{%explorer_block}} to integer(9) UNSIGNED ... done (time: 0.038s)
385 > alter column totalAmount in table {{%explorer_block}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.036s)
386 > alter column fee in table {{%explorer_block}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.042s)
387 > alter column amount in table {{%explorer_input}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.037s)
388 > alter column amount in table {{%explorer_output}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.035s)
389 > alter column amount in table {{%explorer_transaction}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.035s)
390 > alter column fee in table {{%explorer_transaction}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.037s)
391 > alter column balance in table {{%finance_address_balance}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.038s)
392 > alter column received in table {{%finance_address_balance}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.034s)
393 > alter column amount in table {{%finance_address_balance_log}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.040s)
394 > alter column balance in table {{%finance_address_balance_log}} to integer(16) UNSIGNED NOT NULL DEFAULT 0 ... done (time: 0.039s)
395*** applied m171120_104740_change_columns_to_integer (time: 0.435s)
396
397*** applying m171121_141229_rename_address_to_addressId
398 > drop foreign key fk_finance_address_balance_log_1 from table mnxb_finance_address_balance_log ... done (time: 0.011s)
399 > alter column addressBalanceId in table {{%finance_address_balance_log}} to integer UNSIGNED NOT NULL ... done (time: 0.036s)
400 > alter column id in table {{%finance_address_balance}} to integer UNSIGNED NOT NULL ... done (time: 0.037s)
401 > add foreign key fk_finance_address_balance_log_1: {{%finance_address_balance_log}} (addressBalanceId) references {{%finance_address_balance}} (id) ... done (time: 0.040s)
402 > add column addressId integer UNSIGNED NOT NULL AFTER `transactionId` to table {{%explorer_input}} ... done (time: 0.029s)
403 > add column addressId integer UNSIGNED NOT NULL AFTER `transactionId` to table {{%explorer_output}} ... done (time: 0.034s)
404 > add foreign key output_addressId_ibfk_1: {{%explorer_output}} (addressId) references {{%finance_address_balance}} (id) ... done (time: 0.033s)
405 > add foreign key input_addressId_ibfk_1: {{%explorer_input}} (addressId) references {{%finance_address_balance}} (id) ... done (time: 0.035s)
406 > drop foreign key fk_finance_address_balance_log_2 from table {{%finance_address_balance_log}} ... done (time: 0.012s)
407 > alter column transactionId in table {{%finance_address_balance_log}} to integer UNSIGNED NOT NULL ... done (time: 0.039s)
408 > add foreign key fk_finance_address_balance_log_2: {{%finance_address_balance_log}} (transactionId) references {{%explorer_transaction}} (id) ... done (time: 0.040s)
409*** applied m171121_141229_rename_address_to_addressId (time: 0.366s)
410
411*** applying m171207_105450_create_block_collection
412Exception 'yii\base\InvalidConfigException' with message 'Invalid data type: yii\db\Connection. yii\mongodb\Connection is expected.'
413
414in /var/www/html/vendor/yiisoft/yii2/di/Instance.php:149
415
416Stack trace:
417#0 /var/www/html/vendor/yiisoft/yii2-mongodb/src/Migration.php(58): yii\di\Instance::ensure(Object(yii\db\Connection), 'yii\\mongodb\\Con...')
418#1 /var/www/html/vendor/yiisoft/yii2/base/BaseObject.php(108): yii\mongodb\Migration->init()
419#2 [internal function]: yii\base\BaseObject->__construct(Array)
420#3 /var/www/html/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array)
421#4 /var/www/html/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('m171207_105450_...', Array, Array)
422#5 /var/www/html/vendor/yiisoft/yii2/BaseYii.php(349): yii\di\Container->get('m171207_105450_...', Array, Array)
423#6 /var/www/html/vendor/yiisoft/yii2/console/controllers/MigrateController.php(195): yii\BaseYii::createObject(Array)
424#7 /var/www/html/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(724): yii\console\controllers\MigrateController->createMigration('m171207_105450_...')
425#8 /var/www/html/vendor/yiisoft/yii2/console/controllers/BaseMigrateController.php(199): yii\console\controllers\BaseMigrateController->migrateUp('m171207_105450_...')
426#9 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0)
427#10 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
428#11 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
429#12 /var/www/html/vendor/yiisoft/yii2/console/Controller.php(135): yii\base\Controller->runAction('', Array)
430#13 /var/www/html/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('', Array)
431#14 /var/www/html/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('migrate', Array)
432#15 /var/www/html/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('migrate', Array)
433#16 /var/www/html/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
434#17 /var/www/html/bin/yii(38): yii\base\Application->run()
435#18 {main}
436[2018-02-19 19:07:21][yii\redis\Connection::open][trace] Opening redis DB connection: redis:6379, database=2
437[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SELECT
438[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
439[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
440[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
441[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
442[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
443[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
444[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
445[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
446[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
447[2018-02-19 19:07:21][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
448[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
449[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
450[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
451[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
452[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
453[2018-02-19 19:07:22][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
454[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
455[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
456[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
457[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
458[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
459[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
460[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
461[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
462[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
463[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
464[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
465[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
466[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
467[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
468[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
469[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
470[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
471[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
472[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
473[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
474[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
475[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
476[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
477[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
478[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
479[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
480[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
481[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
482[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
483[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
484[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
485[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
486[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
487[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
488[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
489[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
490[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
491[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
492[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
493[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
494[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
495[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
496[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
497[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
498[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
499[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
500[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
501[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
502[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
503[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
504[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
505[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
506[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
507[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
508[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
509[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
510[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
511[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
512[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
513[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
514[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
515[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
516[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
517[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
518[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
519[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
520[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
521[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
522[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
523[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
524[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
525[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
526[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
527[2018-02-19 19:07:23][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
528[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
529[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
530[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
531[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
532[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
533[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
534[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
535[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
536[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
537[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
538[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
539[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
540[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
541[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
542[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
543[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
544[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
545[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
546[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
547[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
548[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
549[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
550[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
551[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
552[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
553[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
554[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
555[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
556[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
557[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
558[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
559[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
560[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
561[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
562[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
563[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
564[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
565[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
566[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
567[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
568[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET
569[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MSET
570[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
571[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
572[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
573[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
574[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
575[2018-02-19 19:07:24][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
576[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
577[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
578[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
579[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
580[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: DEL
581[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: GET
582[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
583[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: MGET
584[2018-02-19 19:07:25][yii\redis\Connection::executeCommand][trace] Executing Redis Command: SET