yapi icon indicating copy to clipboard operation
yapi copied to clipboard

升级显示成功,重启还是老版本

Open yangpancode opened this issue 7 years ago • 4 comments

版本号

~ 1.3.7

什么问题

~ 1.3.7执行yapi update命令升级显示成功,重启之后看到的还是1.3.7版本

[micsvcpf@test-micsvcpf-000521 yapi-1.3.7]$ yapi update
更新版本为v1.4.1
开始下载平台文件压缩包...
http://yapi.demo.qunar.com/publicapi/archive/v1.4.1
部署文件完成,正在执行 npm install...
npm WARN [email protected] requires a peer of mongoose@^4.1.12 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] license should be a valid SPDX license expression
npm WARN The package moment is included as both a dev and production dependency.

up to date in 9.036s
更新成功,请重启服务器

什么系统(Linux, Windows, macOS)

linux centos6.5

yangpancode avatar Dec 06 '18 09:12 yangpancode

一样的问题 default 升级后页面显示还是老版本

MRwangyd avatar Dec 10 '18 12:12 MRwangyd

从 1.3.16升级到1.3.23

MRwangyd avatar Dec 10 '18 12:12 MRwangyd

现在好了,是启动路径的问题,要在vendors里面去启动

yangpancode avatar Dec 11 '18 00:12 yangpancode

执行完npm install --production --registry https://registry.npm.taobao.org 显示 npm WARN [email protected] license should be a valid SPDX license expression

up to date in 11.976s 这个代表升级完了是么,是我用pm2启动的,启动后在登录页面显示还是1.3.16

MRwangyd avatar Dec 11 '18 01:12 MRwangyd