Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

升级后重启导致配置丢失 #58

Closed
lndj opened this issue Aug 11, 2017 · 13 comments
Closed

升级后重启导致配置丢失 #58

lndj opened this issue Aug 11, 2017 · 13 comments

Comments

@lndj
Copy link

lndj commented Aug 11, 2017

w2 restart -S xxx

升级1.5之后,原配置丢失了

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

w2 restart -S xxx -C 看看

@lndj
Copy link
Author

lndj commented Aug 11, 2017

试了下 现在回不去了

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

看下 ~/.WhistleAppData/.whistle/custom_dirs 里面的 xxx 目录及其子目录有没有文件

@lndj
Copy link
Author

lndj commented Aug 11, 2017

image
我用端口号命名的存储目录,现在看起来 rules file 下的 0.xx 1. xx 还在 内容没了

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

所有目录的数据都丢失了?

@lndj
Copy link
Author

lndj commented Aug 11, 2017

嗯..

@lndj
Copy link
Author

lndj commented Aug 11, 2017

w2 start -S 8926 -p 8926 -C 第一次启动是这样的

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

我这边的问题,先别用 -C 启动,晚点我发个版本fix掉

@lndj
Copy link
Author

lndj commented Aug 11, 2017

嗯 辛苦 你的意思是之前的数据还是在的是吧,之前在那个文件夹下呢?

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

更新下whistle到最新版本试试

npm i -g whistle --registry=https://registry.npm.taobao.org
w2 restart

@lndj
Copy link
Author

lndj commented Aug 11, 2017

w2 restart 会重启所有的吗 还是?

@avwo
Copy link
Owner

avwo commented Aug 11, 2017

按你原来的方式

@lndj
Copy link
Author

lndj commented Aug 11, 2017

看起来是没问题了,但是之前的已经丢失了哈哈哈哈啊。辛苦~~~

@lndj lndj closed this as completed Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants