root@lavm-kjmhu303os:/www/wwwroot/xxxxxx.com(已打码)# php artisan tl:up
为了您的数据安全, 更新前请确认是否做好数据备份? (数据库/项目文件) (yes/no) [yes]:
> yes
即将开始执行升级程序...
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
https://repo.packagist.org could not be fully loaded (curl error 28 while downloading https://repo.packagist.org/packages.json: Failed to connect to repo.packagist.org port 443: Connection timed out), package information was loaded from the local cache and may be out of date
Updating dependencies
Lock file operations: 194 installs, 0 updates, 0 removals
- Locking adbario/php-dot-notation (2.5.0)
- Locking alibabacloud/tea (3.2.1)
- Locking alibabacloud/tea-fileform (0.3.4)
- Locking alipaysdk/easysdk (2.2.3)
- Locking aliyuncs/oss-sdk-php (v2.7.2)
- Locking asm89/stack-cors (v2.4.0)
- Locking aws/aws-crt-php (v1.2.7)
- Locking aws/aws-sdk-php (3.337.3)
- Locking barryvdh/laravel-ide-helper (v2.15.1)
- Locking barryvdh/reflection-docblock (v2.4.1)
- Locking box/spout (v3.3.0)
- Locking brick/math (0.11.0)
- Locking carbonphp/carbon-doctrine-types (2.1.0)
- Locking casbin/casbin (v4.1.1)
- Locking casbin/laravel-authz (v4.1.1)
- Locking composer/class-map-generator (1.7.1)
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.4)
- Locking composer/xdebug-handler (3.0.5)
- Locking crmeb/yihaotong (v1.3.3)
- Locking defuse/php-encryption (v2.4.0)
- Locking dflydev/dot-access-data (v3.0.3)
- Locking doctrine/annotations (1.14.4)
- Locking doctrine/dbal (3.10.2)
- Locking doctrine/deprecations (1.1.6)
- Locking doctrine/event-manager (1.2.0)
- Locking doctrine/inflector (2.1.0)
- Locking doctrine/instantiator (1.5.0)
- Locking doctrine/lexer (2.1.1)
- Locking dragonmantank/cron-expression (v3.5.0)
- Locking egulias/email-validator (3.2.6)
- Locking ezyang/htmlpurifier (v4.19.0)
- Locking fakerphp/faker (v1.24.1)
- Locking fastknife/ajcaptcha (v1.2.2)
- Locking fideloper/proxy (4.4.2)
- Locking filp/whoops (2.18.4)
- Locking friendsofphp/php-cs-fixer (v3.11.0)
- Locking fruitcake/laravel-cors (v2.2.0)
- Locking fruitcake/php-cors (v1.3.0)
- Locking getuilaboratory/getui-pushapi-php-client-v2 (dev-master 255cc07)
- Locking graham-campbell/result-type (v1.1.4)
- Locking guzzlehttp/command (1.3.2)
- Locking guzzlehttp/guzzle (7.10.0)
- Locking guzzlehttp/guzzle-services (1.4.2)
- Locking guzzlehttp/promises (2.3.0)
- Locking guzzlehttp/psr7 (2.9.0)
- Locking guzzlehttp/uri-template (v1.0.5)
- Locking hamcrest/hamcrest-php (v2.1.1)
- Locking hhxsv5/laravel-s (v3.7.43)
- Locking intervention/image (2.7.2)
- Locking kitloong/laravel-migrations-generator (v6.11.1)
- Locking laravel/framework (v9.52.21)
- Locking laravel/sail (v1.53.0)
- Locking laravel/serializable-closure (v1.3.7)
- Locking laravel/tinker (v2.11.1)
- Locking lcobucci/clock (2.2.0)
- Locking lcobucci/jwt (4.3.0)
- Locking league/commonmark (2.8.1)
- Locking league/config (v1.2.0)
- Locking league/flysystem (3.32.0)
- Locking league/flysystem-local (3.31.0)
- Locking league/mime-type-detection (1.16.0)
- Locking madnest/madzipper (v1.3.2)
- Locking maennchen/zipstream-php (2.4.0)
- Locking markbaker/complex (3.0.2)
- Locking markbaker/matrix (3.0.1)
- Locking mews/captcha (3.3.0)
- Locking mochat/wework-finance-sdk (v1.1.2)
- Locking mockery/mockery (1.6.12)
- Locking monolog/monolog (2.11.0)
- Locking mtdowling/jmespath.php (2.8.0)
- Locking myclabs/deep-copy (1.13.4)
- Locking myclabs/php-enum (1.8.5)
- Locking nesbot/carbon (2.73.0)
- Locking nette/schema (v1.2.5)
- Locking nette/utils (v4.0.10)
- Locking nikic/php-parser (v5.7.0)
- Locking nunomaduro/collision (v6.4.0)
- Locking nunomaduro/termwind (v1.15.1)
- Locking nyholm/psr7 (1.8.2)
- Locking nyholm/psr7-server (1.1.0)
- Locking obs/esdk-obs-php (3.24.9)
- Locking open-smf/connection-pool (v1.0.16)
- Locking overtrue/pinyin (5.3.4)
- Locking overtrue/socialite (4.13.0)
- Locking paragonie/random_compat (v9.99.100)
- Locking pclzip/pclzip (2.8.2)
- Locking phar-io/manifest (2.0.4)
- Locking phar-io/version (3.2.1)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/type-resolver (1.12.0)
- Locking phpoffice/common (0.2.9)
- Locking phpoffice/math (0.3.0)
- Locking phpoffice/phppresentation (0.9.0)
- Locking phpoffice/phpspreadsheet (1.30.2)
- Locking phpoffice/phpword (1.4.0)
- Locking phpoption/phpoption (1.9.5)
- Locking phpstan/phpdoc-parser (2.3.2)
- Locking phpunit/php-code-coverage (9.2.32)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.6.34)
- Locking predis/predis (v1.1.10)
- Locking psr/cache (3.0.0)
- Locking psr/clock (1.0.0)
- Locking psr/container (2.0.2)
- Locking psr/event-dispatcher (1.0.0)
- Locking psr/http-client (1.0.3)
- Locking psr/http-factory (1.1.0)
- Locking psr/http-message (1.1)
- Locking psr/log (3.0.2)
- Locking psr/simple-cache (3.0.0)
- Locking psy/psysh (v0.12.21)
- Locking qcloud/cos-sdk-v5 (v2.6.16)
- Locking qcloud_sts/qcloud-sts-sdk (3.0.12)
- Locking qiniu/php-sdk (v7.14.0)
- Locking ralouphie/getallheaders (3.0.3)
- Locking ramsey/collection (1.3.0)
- Locking ramsey/uuid (4.9.2)
- Locking sebastian/cli-parser (1.0.2)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.10)
- Locking sebastian/complexity (2.0.3)
- Locking sebastian/diff (4.0.6)
- Locking sebastian/environment (5.1.5)
- Locking sebastian/exporter (4.0.8)
- Locking sebastian/global-state (5.0.8)
- Locking sebastian/lines-of-code (1.0.4)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.6)
- Locking sebastian/resource-operations (3.0.4)
- Locking sebastian/type (3.2.1)
- Locking sebastian/version (3.0.2)
- Locking spatie/backtrace (1.8.2)
- Locking spatie/flare-client-php (1.10.1)
- Locking spatie/ignition (1.14.2)
- Locking spatie/laravel-ignition (1.7.0)
- Locking spatie/laravel-route-attributes (1.20.1)
- Locking staudenmeir/eloquent-has-many-deep-contracts (v1.0)
- Locking staudenmeir/laravel-adjacency-list (v1.12.11)
- Locking staudenmeir/laravel-cte (v1.6.3)
- Locking stella-maris/clock (0.1.7)
- Locking swoole/ide-helper (4.8.13)
- Locking symfony/cache (v6.0.19)
- Locking symfony/cache-contracts (v3.0.2)
- Locking symfony/console (v6.0.19)
- Locking symfony/css-selector (v6.0.11)
- Locking symfony/deprecation-contracts (v3.0.2)
- Locking symfony/error-handler (v6.0.19)
- Locking symfony/event-dispatcher (v6.0.9)
- Locking symfony/event-dispatcher-contracts (v3.0.2)
- Locking symfony/expression-language (v6.0.19)
- Locking symfony/filesystem (v6.0.19)
- Locking symfony/finder (v6.0.19)
- Locking symfony/http-client (v6.0.20)
- Locking symfony/http-client-contracts (v3.0.2)
- Locking symfony/http-foundation (v6.0.20)
- Locking symfony/http-kernel (v6.0.20)
- Locking symfony/mailer (v6.0.19)
- Locking symfony/mime (v6.0.19)
- Locking symfony/options-resolver (v6.0.3)
- Locking symfony/polyfill-ctype (v1.33.0)
- Locking symfony/polyfill-intl-grapheme (v1.33.0)
- Locking symfony/polyfill-intl-idn (v1.33.0)
- Locking symfony/polyfill-intl-normalizer (v1.33.0)
- Locking symfony/polyfill-mbstring (v1.33.0)
- Locking symfony/polyfill-php80 (v1.33.0)
- Locking symfony/polyfill-php81 (v1.33.0)
- Locking symfony/polyfill-uuid (v1.33.0)
- Locking symfony/process (v6.0.19)
- Locking symfony/psr-http-message-bridge (v2.3.1)
- Locking symfony/routing (v6.0.19)
- Locking symfony/service-contracts (v3.0.2)
- Locking symfony/stopwatch (v6.0.5)
- Locking symfony/string (v6.0.12)
- Locking symfony/translation (v6.0.12)
- Locking symfony/translation-contracts (v3.0.2)
- Locking symfony/uid (v6.0.19)
- Locking symfony/var-dumper (v6.0.19)
- Locking symfony/var-exporter (v6.0.19)
- Locking symfony/yaml (v6.0.19)
- Locking thenorthmemory/xml (1.1.1)
- Locking theseer/tokenizer (1.3.1)
- Locking tijsverkoyen/css-to-inline-styles (v2.4.0)
- Locking tymon/jwt-auth (2.3.0)
- Locking vlucas/phpdotenv (v5.6.3)
- Locking voku/portable-ascii (2.0.3)
- Locking w7corp/easywechat (6.19.0)
- Locking webpatser/laravel-uuid (4.0.2)
- Locking xaboy/form-builder (2.1.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 26 updates, 0 removals
- Syncing fastknife/ajcaptcha (v1.2.2) into cache
Failed to download fastknife/ajcaptcha from source: The process "git clone --mirror -- 'https://github.com/fastknifes/ajcaptcha.git' '/root/.cache/composer/vcs/https---github.com-fastknifes-ajcaptcha.git/'" exceeded the timeout of 300 seconds.
Now trying to download from dist
- Downloading fastknife/ajcaptcha (v1.2.2)
0/1 [>---------------------------] 0% - Downloading fastknife/ajcaptcha (v1.2.2)
- Downloading fastknife/ajcaptcha (v1.2.2)
- Downloading fastknife/ajcaptcha (v1.2.2)
1/1 [============================] 100%
[Composer\Downloader\TransportException]
curl error 28 while downloading https://codeload.github.com/fastknifes/ajcaptcha/legacy.zi
p/87c122b6cd950fd98702e929685e5e7c0c517ddc: Operation timed out after 300000 milliseconds
with 6450271 bytes received
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>]...
Composer 安装成功!
正在检查是否需要更新数据库...
开始执行数据迁移...
执行文件: database/migrations/v2.3/2026_01_06_163428_create_export_record_table.php
执行文件: database/migrations/v2.3/2026_01_13_172230_update_system_crud_cate.php
执行文件: database/migrations/v2.3/2026_01_13_165319_update_system_menus.php
执行文件: database/migrations/v2.3/2025_12_16_172636_create_contract_doc_table.php
执行文件: database/migrations/v2.3/2025_12_17_114032_create_contract_signatory_table.php
执行文件: database/migrations/v2.3/2025_12_24_091945_update_admin_table.php
数据库更新成功!
检查数据结构升级...
Illuminate\Database\QueryException
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b37a3f16' in 'eb_customer' (SQL: ALTER TABLE `eb_customer` CHANGE `b37a3f16` `customer_tel` VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '联系电话';
UPDATE `eb_form_data` SET `key`='customer_tel' WHERE `key`='b37a3f16';
UPDATE `eb_attendance_apply_record` SET `others` = NULL WHERE `others` = '';
ALTER TABLE `eb_customer_record` ADD INDEX( `eid`, `link_type`);
INSERT INTO `eb_system_menus` (`pid`, `icon`, `menu_name`, `api`, `methods`, `unique_auth`, `menu_path`, `menu_type`, `crud_id`, `uni_path`, `uni_img`, `position`, `paths`, `component`, `level`, `other`, `sort`, `entid`, `type`, `is_show`, `status`, `created_at`, `updated_at`, `deleted_at`, `uniqued`, `parent_uniqued`, `crud_app_id`, `crud_dashboard_id`) VALUES (42, 'iconwotijiaode', '合同签约', '', '', 'menus699fa7caeca5c', '/customer/signing', 0, 0, '', '', 0, '42', 'customer/signing/index', 1, '', 778, 0, 'M', 1, 1, '2025-12-18 15:02:14', '2026-02-26 09:54:19', NULL, '721bf64d598795daa55e275c16d64dd6', '91ec1f9324753048c0096d036a694f86', 0, 0);
UPDATE `eb_system_menus` SET `menu_name` = '合同订单' WHERE `uniqued` = 'b244c0995f52181a7b82e45f8d43dbaa';
UPDATE `eb_system_menus` SET `menu_name` = '应用管理' WHERE `uniqued` = 'a62d417ac96c020f7804ad7bf3834b07';
UPDATE eb_form_data a JOIN eb_form_cate b ON a.cate_id = b.id SET a.key_name = replace(key_name,'合同','订单'), a.placeholder = replace(placeholder,'合同','订单'), a.updated_at = NOW() WHERE b.types = 2 AND b.deleted_at IS NULL AND b.STATUS = 1 AND a.deleted_at IS NULL AND a.STATUS = 1 AND a.key_name LIKE '%合同%';
UPDATE eb_dict_type SET name = '订单分类' WHERE ident = 'contract_type';
UPDATE eb_dict_type SET name = '订单状态' WHERE ident = 'contract_status';)
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }
i A column was not found: You might have forgotten to run your database migrations.
https://laravel.com/docs/master/migrations#running-migrations
+7 vendor frames
8 app/Console/Commands/UpgradeCommand.php:117
Illuminate\Support\Facades\Facade::__callStatic()
9 app/Console/Commands/UpgradeCommand.php:41
App\Console\Commands\UpgradeCommand::upgrade()
大约在: - Downloading fastknife/ajcaptcha (v1.2.2)这一步卡了20分钟以上,下面的报错就不太懂呢

