yapi icon indicating copy to clipboard operation
yapi copied to clipboard

无法更新

Open mOrderSupport opened this issue 7 years ago • 9 comments

版本号

~ 1.8.3

什么问题

~ 无法使用yapi update进行更新,提示 Error: certificate has expired yapi

如何复现此问题

~ 杀掉现在的进程 ,然后执行./yapi update,提示:Error: certificate has expired yapi

什么浏览器

~ ssh

什么系统(Linux, Windows, macOS)

mOrderSupport avatar Oct 14 '19 11:10 mOrderSupport

我没有杀掉进程 直接升级也报这个错误

agoni03 avatar Oct 15 '19 09:10 agoni03

https://github.com/YMFE/yapi/issues/1403

hellosean1025 avatar Oct 17 '19 05:10 hellosean1025

我现在的是1.8.1,在升级之前停掉mongodb和yapi,使用yapi update命令升级也报Error: certificate has expired错误,查看版本号的命令yapi ls也是报certificate has expired,求解

quanapp avatar Oct 22 '19 02:10 quanapp

刚查了下,是对的。 Tue Oct 22 10:20:30 CST 2019

quanapp avatar Oct 22 '19 02:10 quanapp

我现在的是1.8.1,在升级之前停掉mongodb和yapi,使用yapi update命令升级也报Error: certificate has expired错误,查看版本号的命令yapi ls也是报certificate has expired,求解

按 hellosean 的回复,是需要升级一下cli包

npm i -g yapi-cli

可能某个https url的证书有问题了?

jasonjoo2010 avatar Oct 22 '19 02:10 jasonjoo2010

刚查了下,是对的。 Tue Oct 22 10:20:30 CST 2019

不过你这时间是不是快了点

jasonjoo2010 avatar Oct 22 '19 02:10 jasonjoo2010

问题解决了,我把yapi-cli从1.4.0升级到1.5.0就正常了,yapi-cli版本查看命令

yapi-cli --version

quanapp avatar Oct 22 '19 02:10 quanapp

问题解决了,我把yapi-cli从1.4.0升级到1.5.0就正常了,yapi-cli版本查看命令

yapi-cli --version

所以还是不知道哪个url证书出问题了么 - -

jasonjoo2010 avatar Oct 22 '19 02:10 jasonjoo2010

不知道这个证书在哪里查

quanapp avatar Oct 22 '19 03:10 quanapp