BitShares Forum

Main => Technical Support => Topic started by: maqifrnswa on November 22, 2015, 06:31:23 pm

Title: Warning for those building the ui from source (data directory change)
Post by: maqifrnswa on November 22, 2015, 06:31:23 pm
If you build the UI app from source, and you upgrade all your node modules (including electron), you may not be able to find your wallet the next time you start because the electron data directory changed

It used to be
$XDG_CONFIG_HOME/BitShares2-light
now is

$XDG_CONFIG_HOME/chromium/BitShares2-light

(on linux $XDG_CONFIG_HOME is typically  ~/.config/)

TO FIX:
import a backup
OR
just cp your original
~/.config/BitShares2-light
to the new location
~/.config/chromium/BitShares2-light

More info:
https://github.com/cryptonomex/graphene-ui/issues/508


Full Story:
The UI app is really just a lightweight chromium browser configured as a node module. The browser module is called "electron" (http://electron.atom.io/). The browser module itself changed where it saves its data:
https://github.com/atom/electron/commit/83ae9f8d71007944b9f9e5b631740ea7a416e1b9#diff-f61b360ad8984d98baba4d962bf4d259R70

which means bitshares changed where it saved it's data.
Title: Re: Warning for those building the ui from source (data directory change)
Post by: karnal on November 22, 2015, 09:56:15 pm
lightweight chromium, you say.....

Any chance analytics are being sent behind the users back ?