Guest
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Menu
Home
Help
Login
Register
BitShares Forum
/
Main
/
Technical Support
/
Warning for those building the ui from source (data directory change)
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Warning for those building the ui from source (data directory change) (Read 1723 times)
0 Members and 1 Guest are viewing this topic.
November 22, 2015, 09:56:15 pm
Reply
#2
karnal
Hero Member
Posts: 1068
Re: Warning for those building the ui from source (data directory change)
lightweight chromium, you say.....
Any chance analytics are being sent behind the users back ?
Logged
November 22, 2015, 06:31:23 pm
Reply
#1
maqifrnswa
Hero Member
Posts: 661
Warning for those building the ui from source (data directory change)
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.
Logged
maintains an Ubuntu PPA:
https://launchpad.net/~showard314/+archive/ubuntu/bitshares
[15% delegate] wallet_account_set_approval maqifrnswa true
[50% delegate] wallet_account_set_approval delegate1.maqifrnswa true
Print
Pages: [
1
]
Go Up
« previous
next »
BitShares Forum
/
Main
/
Technical Support
/
Warning for those building the ui from source (data directory change)