· 6 years ago · Dec 04, 2019, 05:12 PM
1jamesvoong@penguin:~/dev/klc-easydev/portfolio.klc.co.uk$ docker exec -it portfolioklccouk-web php var/www/html/admin/cli/upgrade.php
2[INF] a6 (admin/cli/upgrade.php:49) Upgrading Mahara
3[INF] a6 (lib/mahara.php:234) Upgrading auth.webservice
4[DBG] a6 (auth/webservice/db/upgrade.php:466) Updating DB names of webservice config fields
5[DBG] a6 (auth/webservice/db/upgrade.php:487) Adding shortname column to external_services table
6[DBG] a6 (auth/webservice/db/upgrade.php:499) Clearing out "component" field from old example service groups
7[DBG] a6 (auth/webservice/db/upgrade.php:502) Add optional "api version" field to external_services
8[DBG] a6 (auth/webservice/db/upgrade.php:513) Change in "component" format for plugins
9[DBG] a6 (auth/webservice/db/upgrade.php:551) adding client info fields to external_tokens table
10[DBG] a6 (lib/mahara.php:1971) Field clientname exists. Create skipped
11[DBG] a6 (lib/mahara.php:1971) Field clientenv exists. Create skipped
12[DBG] a6 (lib/mahara.php:1971) Field clientguid exists. Create skipped
13[DBG] a6 (auth/webservice/db/upgrade.php:568) Make external_tokens.institution nullable
14[DBG] a6 (auth/webservice/db/upgrade.php:574) Allow null institution in external_services_logs
15[DBG] a6 (lib/mahara.php:1971) Table oauth_server_config exists. Create skipped
16[WAR] a6 (lib/errors.php:859) Failed to get a recordset: mysqli error: [1062: Duplicate entry 'User Provisioning' for key 'exteserv_nam_uix'] in EXECUTE("INSERT INTO "external_services" ("name", "enabled", "restrictedusers", "tokenusers", "component", "ctime", "mtime", "shortname") VALUES ('User Provisioning', 1, 0, 0, 'webservice', '2019-12-04 16:54:46', '2019-12-04 16:54:46', '')")Command was: INSERT INTO "external_services" ("name", "enabled", "restrictedusers", "tokenusers", "component", "ctime", "mtime", "shortname") VALUES (?, ?, ?, ?, ?, ?, ?, ?) and values was (name:UserProvisioning,enabled:1,restrictedusers:0,tokenusers:0,component:webservice,ctime:2019-12-0416:54:46,mtime:2019-12-0416:54:46,shortname:)
17Call stack (most recent first):
18 * log_message("Failed to get a recordset: mysqli error: [1062: Du...", 8, true, true) at /var/www/html/lib/errors.php:95
19 * log_warn("Failed to get a recordset: mysqli error: [1062: Du...") at /var/www/html/lib/errors.php:859
20 * SQLException->__construct("Failed to get a recordset: mysqli error: [1062: Du...") at /var/www/html/lib/dml.php:1091
21 * insert_record("external_services", object(stdClass), "id", true) at /var/www/html/webservice/lib.php:2227
22 * external_reload_component("webservice") at /var/www/html/webservice/lib.php:2018
23 * external_reload_webservices() at /var/www/html/auth/webservice/db/upgrade.php:594
24 * xmldb_auth_webservice_upgrade("2014112800") at /var/www/html/lib/upgrade.php:423
25 * upgrade_plugin(object(stdClass)) at /var/www/html/lib/mahara.php:268
26 * upgrade_mahara(array(size 1)) at /var/www/html/admin/cli/upgrade.php:53
27
28[WAR] a6 (lib/dml.php:1091) Failed to get a recordset: mysqli error: [1062: Duplicate entry 'User Provisioning' for key 'exteserv_nam_uix'] in EXECUTE("INSERT INTO "external_services" ("name", "enabled", "restrictedusers", "tokenusers", "component", "ctime", "mtime", "shortname") VALUES ('User Provisioning', 1, 0, 0, 'webservice', '2019-12-04 16:54:46', '2019-12-04 16:54:46', '')")Command was: INSERT INTO "external_services" ("name", "enabled", "restrictedusers", "tokenusers", "component", "ctime", "mtime", "shortname") VALUES (?, ?, ?, ?, ?, ?, ?, ?) and values was (name:UserProvisioning,enabled:1,restrictedusers:0,tokenusers:0,component:webservice,ctime:2019-12-0416:54:46,mtime:2019-12-0416:54:46,shortname:)
29Call stack (most recent first):
30 * insert_record("external_services", object(stdClass), "id", true) at /var/www/html/webservice/lib.php:2227
31 * external_reload_component("webservice") at /var/www/html/webservice/lib.php:2018
32 * external_reload_webservices() at /var/www/html/auth/webservice/db/upgrade.php:594
33 * xmldb_auth_webservice_upgrade("2014112800") at /var/www/html/lib/upgrade.php:423
34 * upgrade_plugin(object(stdClass)) at /var/www/html/lib/mahara.php:268
35 * upgrade_mahara(array(size 1)) at /var/www/html/admin/cli/upgrade.php:53
36
37A nonrecoverable error occurred. This probably means you have encountered a bug in the system