[GH-ISSUE #1614] Lose config when reload or restart #937

Closed
opened 2026-02-27 00:01:36 +03:00 by kerem · 18 comments
Owner

Originally created by @bianyifeng on GitHub (Mar 22, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1614

mac 更新1.30版本后,配置无法保存,重启后恢复默认状态,完全卸载后重装问题依旧

mac os 10.15.3 版本

Originally created by @bianyifeng on GitHub (Mar 22, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1614 mac 更新1.30版本后,配置无法保存,重启后恢复默认状态,完全卸载后重装问题依旧 mac os 10.15.3 版本
kerem 2026-02-27 00:01:36 +03:00
Author
Owner

@zxdong262 commented on GitHub (Mar 22, 2020):

可以在命令行运行/Applications/electerm.app/Contents/MacOS/electerm 看看log吗

<!-- gh-comment-id:602193868 --> @zxdong262 commented on GitHub (Mar 22, 2020): 可以在命令行运行`/Applications/electerm.app/Contents/MacOS/electerm` 看看log吗
Author
Owner

@bianyifeng commented on GitHub (Mar 22, 2020):

$ /Applications/electerm.app/Contents/MacOS/electerm
20:58:08 › no ../../install-src file
(electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead.
20:58:08 › no install-src file
20:58:08 › App starting...
20:58:09 › no ../../install-src file
20:58:09 › no install-src file
20:58:09 › server runs on localhost 3076
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
20:58:10 › Created terminal with PID: gGJoul8Ll
20:58:10 › ws: connected to terminal -> gGJoul8Ll
(node:3727) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
(node:3727) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
20:58:21 › Closing app
20:58:21 › Closing app
20:58:21 › Closed terminal gGJoul8Ll
20:58:21 › Closed terminal gGJoul8Ll

<!-- gh-comment-id:602196730 --> @bianyifeng commented on GitHub (Mar 22, 2020): $ /Applications/electerm.app/Contents/MacOS/electerm 20:58:08 › no ../../install-src file (electron) 'getName function' is deprecated and will be removed. Please use 'name property' instead. 20:58:08 › no install-src file 20:58:08 › App starting... 20:58:09 › no ../../install-src file 20:58:09 › no install-src file 20:58:09 › server runs on localhost 3076 (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397 20:58:10 › Created terminal with PID: gGJoul8Ll 20:58:10 › ws: connected to terminal -> gGJoul8Ll (node:3727) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9. (node:3727) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9. 20:58:21 › Closing app 20:58:21 › Closing app 20:58:21 › Closed terminal gGJoul8Ll 20:58:21 › Closed terminal gGJoul8Ll
Author
Owner

@bianyifeng commented on GitHub (Mar 22, 2020):

windows 10 也一样,1.30版本调整设置以后,关闭再打开,部分配置就恢复默认状态了

<!-- gh-comment-id:602198672 --> @bianyifeng commented on GitHub (Mar 22, 2020): windows 10 也一样,1.30版本调整设置以后,关闭再打开,部分配置就恢复默认状态了
Author
Owner

@zxdong262 commented on GitHub (Mar 22, 2020):

具体什么设置呢,我试了win10和mac14都不能复现

<!-- gh-comment-id:602206682 --> @zxdong262 commented on GitHub (Mar 22, 2020): 具体什么设置呢,我试了win10和mac14都不能复现
Author
Owner

@bianyifeng commented on GitHub (Mar 22, 2020):

语言、背景图 、Default ExecMac、Default Font size等
我用1.22没有问题

以下是录屏

录屏.zip

<!-- gh-comment-id:602212181 --> @bianyifeng commented on GitHub (Mar 22, 2020): 语言、背景图 、Default ExecMac、Default Font size等 我用1.22没有问题 以下是录屏 [录屏.zip](https://github.com/electerm/electerm/files/4365398/default.zip)
Author
Owner

@zxdong262 commented on GitHub (Mar 22, 2020):

看起来是刷新的问题,彻底关闭再打开没问题吧?

<!-- gh-comment-id:602225792 --> @zxdong262 commented on GitHub (Mar 22, 2020): 看起来是刷新的问题,彻底关闭再打开没问题吧?
Author
Owner

@zxdong262 commented on GitHub (Mar 22, 2020):

感谢反馈,发布了新版本

<!-- gh-comment-id:602231935 --> @zxdong262 commented on GitHub (Mar 22, 2020): 感谢反馈,发布了新版本
Author
Owner

@bianyifeng commented on GitHub (Mar 23, 2020):

刚试了1.32版本,刷新、重启、关闭再打开,依旧还是配置会恢复默认状态,如果和之前的录屏效果一样

<!-- gh-comment-id:602382840 --> @bianyifeng commented on GitHub (Mar 23, 2020): 刚试了1.32版本,刷新、重启、关闭再打开,依旧还是配置会恢复默认状态,如果和之前的录屏效果一样
Author
Owner

@zxdong262 commented on GitHub (Mar 23, 2020):

@bianyifeng win和mac都不行吗,我两个系统都试了不能复现

<!-- gh-comment-id:602404055 --> @zxdong262 commented on GitHub (Mar 23, 2020): @bianyifeng win和mac都不行吗,我两个系统都试了不能复现
Author
Owner

@sguphil commented on GitHub (Mar 23, 2020):

@zxdong262 linux centos 8 : electerm v1.3.2, can not download configutions, AND the configuration will be restore after restart the electerm, need a quick fix, thanks

As i can see: the "common" and "Setting sync" will always be restored after restart.

<!-- gh-comment-id:602426324 --> @sguphil commented on GitHub (Mar 23, 2020): @zxdong262 linux centos 8 : electerm v1.3.2, can not download configutions, AND the configuration will be restore after restart the electerm, need a quick fix, thanks As i can see: the "common" and "Setting sync" will always be restored after restart.
Author
Owner

@sguphil commented on GitHub (Mar 23, 2020):

i found another issue, there is duplicate copy of bookmarks. maybe i have tried to download configuration many times with the gitst id.

<!-- gh-comment-id:602436600 --> @sguphil commented on GitHub (Mar 23, 2020): i found another issue, there is duplicate copy of bookmarks. maybe i have tried to download configuration many times with the gitst id.
Author
Owner

@bianyifeng commented on GitHub (Mar 23, 2020):

mac 更新1.30在两台电脑上测试都一样,更新1.32后在一台电脑上测试问题依旧, windows 10 是在系统版本1909上测试1.30是 有这个问题,我再找一个其它版本的win10再试试。

<!-- gh-comment-id:602531148 --> @bianyifeng commented on GitHub (Mar 23, 2020): mac 更新1.30在两台电脑上测试都一样,更新1.32后在一台电脑上测试问题依旧, windows 10 是在系统版本1909上测试1.30是 有这个问题,我再找一个其它版本的win10再试试。
Author
Owner

@zxdong262 commented on GitHub (Mar 23, 2020):

Confirmed in Ubuntu 18.04, I will try to fix it ASAP

<!-- gh-comment-id:602555312 --> @zxdong262 commented on GitHub (Mar 23, 2020): Confirmed in Ubuntu 18.04, I will try to fix it ASAP
Author
Owner

@zxdong262 commented on GitHub (Mar 23, 2020):

@bianyifeng 试试最新版吧
@sguphil please try the leatest release

<!-- gh-comment-id:602670009 --> @zxdong262 commented on GitHub (Mar 23, 2020): @bianyifeng 试试最新版吧 @sguphil please try the leatest release
Author
Owner

@bianyifeng commented on GitHub (Mar 24, 2020):

@zxdong262 mac 1.35版本后正常,windows 提示一直在升级版本,please wait

<!-- gh-comment-id:602990815 --> @bianyifeng commented on GitHub (Mar 24, 2020): @zxdong262 mac 1.35版本后正常,windows 提示一直在升级版本,please wait
Author
Owner

@sguphil commented on GitHub (Mar 24, 2020):

updated the new version 1.3.5, seems the issue is gone.

<!-- gh-comment-id:603099368 --> @sguphil commented on GitHub (Mar 24, 2020): updated the new version 1.3.5, seems the issue is gone.
Author
Owner

@zxdong262 commented on GitHub (Mar 24, 2020):

@zxdong262 mac 1.35版本后正常,windows 提示一直在升级版本,please wait

试试手动修复一下

  1. 关闭程序
  2. 如果是从1.3以前升级的,把C:\Users\你的用户名\AppData\Roaming\electerm-localstorage.json.backup 改名为·electerm-localstorage.json·,
  3. 删除C:\Users\你的用户名\AppData\Roaming\electerm\users
  4. 启动程序
<!-- gh-comment-id:603214285 --> @zxdong262 commented on GitHub (Mar 24, 2020): > @zxdong262 mac 1.35版本后正常,windows 提示一直在升级版本,please wait 试试手动修复一下 1. 关闭程序 2. 如果是从1.3以前升级的,把C:\Users\你的用户名\AppData\Roaming\electerm-localstorage.json.backup 改名为·electerm-localstorage.json·, 3. 删除C:\Users\你的用户名\AppData\Roaming\electerm\users 4. 启动程序
Author
Owner

@zxdong262 commented on GitHub (Mar 27, 2020):

发布了新版,很抱歉1.3.x系列问题太多了,希望这一次修复了

<!-- gh-comment-id:604883405 --> @zxdong262 commented on GitHub (Mar 27, 2020): 发布了新版,很抱歉1.3.x系列问题太多了,希望这一次修复了
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#937
No description provided.