Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
58.77k stars 3.37k forks source link

Update 1.0.200 > 1.0.204 - Lost Data / Profils #9243

Closed EVOTk closed 10 months ago

EVOTk commented 11 months ago

Describe the problem: I use Tabby version 1.0.200 portable ( tabby-1.0.200-portable-x64.zip ) image image

After Update 1.0.200 to 1.0.201 :

image image

Lost Profils and Data The vault remembers my password, but it's empty too.

1.0.200 to 1.0.204 same issue

To Reproduce: Download tabby-1.0.200-portable-x64.zip and create Profils, ... Update to tabby-1.0.201-portable-x64.zip or tabby-1.0.204-portable-x64.zip

Lost Profils

Clem-Fern commented 10 months ago

Hey @EVOTk

Sadly, I wasnt able to reproduce this issue while following same path as you on windows 10.

Could you please send tabby logs just after profile loss occurs ?

https://github.com/Eugeny/tabby/wiki/Debug-logs

EVOTk commented 10 months ago

Hello, Thx for your reply.

node:electron/js2c/renderer_init:2 The vm module of Node.js is deprecated in the renderer process and will be removed.
o._load @ node:electron/js2c/renderer_init:2
index.html:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: file:///J:/tabby-1.0.204-portable-x64/resources/app.asar/dist/7b9d00a3bbdf9cbd61e2.woff2
entry.ts:58 Window bootstrap data: Object
plugins.ts:171 Found core in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found local in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found linkifier in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found community-color-schemes in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found settings in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found plugin-manager in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found electron in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found terminal in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found telnet in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found serial in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
plugins.ts:171 Found ssh in J:\tabby-1.0.204-portable-x64\resources\builtin-plugins
entry.ts:69 Starting with plugins: Array(11)
plugins.ts:241 Loading terminal: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-terminal\dist\index.js
plugins.ts:241 Loading telnet: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-telnet\dist\index.js
plugins.ts:241 Loading ssh: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-ssh\dist\index.js
plugins.ts:241 Loading settings: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-settings\dist\index.js
plugins.ts:241 Loading serial: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-serial\dist\index.js
plugins.ts:241 Loading plugin-manager: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-plugin-manager\dist\index.js
plugins.ts:241 Loading local: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-local\dist\index.js
plugins.ts:241 Loading linkifier: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-linkifier\dist\index.js
plugins.ts:241 Loading electron: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-electron\dist\index.js
plugins.ts:241 Loading core: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js
plugins.ts:241 Loading community-color-schemes: J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-community-color-schemes\dist\index.js
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [main] v 1.0.204
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [hostApp] CLI arguments received: Object
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [hostApp] CLI handler matched: AutoOpenTabCLIHandler
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [terminal] Starting profile CMD (clink) ConfigProxy
index.html:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: file:///J:/tabby-1.0.204-portable-x64/resources/app.asar/dist/ac3c0d6660d55a57bacf.woff2
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [updater] No updates
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-linkifier\dist\index.js:79 match found without corresponding matchIndex
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [terminal] Starting profile CMD (clink) ConfigProxy
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:15819 [local] Destroying
J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:27395 Unhandled exception: Objectcode: "EPIPE"errno: -4047syscall: "read"[[Prototype]]: Object
(anonymous) @ J:\tabby-1.0.204-portable-x64\resources\builtin-plugins\tabby-core\dist\index.js:27395
10DevTools failed to load source map: Could not load content for file:///J:/tabby-1.0.204-portable-x64/app.asar.unpacked/assets/webpack/index.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///J:/tabby-1.0.204-portable-x64/resources/app.asar/dist/index.js.map: Unexpected end of JSON input
DevTools failed to load source map: Could not load content for file:///J:/tabby-1.0.204-portable-x64/app.asar.unpacked/assets/webpack/index.js.map: Unexpected end of JSON input

image

Remonli commented 10 months ago

@Clem-Fern Same problem, and I found profile file "config.yaml"and "config.yaml.bak" in %AppData%\tabby . Looks like it is not in portable mode reading from data folder. And I checked , alpha 201 has same problem, alpha 200 is fine.

Clem-Fern commented 10 months ago

Thank you guys for your reply. I'm unable to reproduce this on my side for now :/

@Remonli, does your config.yaml empty ? Could you please check if it contains your profiles ?

EVOTk commented 10 months ago

Hello, I don't know if this will help you: https://github.com/Eugeny/tabby/assets/45015615/d66301fd-b547-459d-89dd-bbfc8b8326b5

i'm run tabby 1.0.200 in tabby/ folder Profils and Vault is okay

i'm unzip tabby 1.0.204 in tabby-1.0.204-portable-x64/ folder and copy data folder i'm open Tabby 1.0.204 Lost profils, The vault is protected by the right key, but it's empty

Clem-Fern commented 10 months ago

Again, thank's a lot for your precious detail. I was able to identify from where the problem come from.

I will try to submit a PR soon to patch this issue.

EVOTk commented 10 months ago

Thx !

Issues-translate-bot commented 10 months ago

The translator bot has detected that this issue body's language is not English, and has translated it automatically.


Thx !

haiya512 commented 10 months ago

%AppData%\tabby

this answer helps me, thank you a lot

EVOTk commented 10 months ago

I have just updated to 1.0.205, everything works fine! thank you.