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

after auto-update to version 1.0.0 > directory and storage customization is not retained #61

Open
betokraut opened this issue Nov 17, 2018 · 13 comments

Comments

@betokraut
Copy link

Describe the bug

On Windows 10 after an auto-update to version 1.0.0 from previous version:

  1. the wallet address reverts to blank after inputting address and saving
  2. the storage directory and size input reverts to default after saving

To Reproduce

Steps to reproduce the behavior:

  1. under wallet tab: pasting in wallet address with ctrl+v or using 'paste from clipboard' button and then saving
  2. under settings tab: changing folder to directory on local C: drive and setting size to 10gb

Expected behavior

1)+2) inputs are being saved and displayed after reconnecting

Info:

  • OS: Windows 10
  • Version 1.0.0

Additional context

Thank you

@durbanite
Copy link

I am experiencing the same issue, all settings are removed after the node restarts

@ghost
Copy link

ghost commented Nov 18, 2018

I am experiencing the same issue!

@Dancia
Copy link
Member

Dancia commented Nov 19, 2018

Does this happen if the directory is C:\ or with any directory, for example C:\storage?

@betokraut
Copy link
Author

Hey Dancia, just tested it again, the answer to your question would be: any directory, thanks.

@Dancia
Copy link
Member

Dancia commented Nov 20, 2018

We are suspecting the issue might arise from lack of administrative permissions. Try running as admin and check if issue persists.

If issue is still present then I have another question which would greatly help us debugging this issue.

By default, NOIA node saves it's settings file in directory: C:\Users\YourUserName\AppData\Roaming\noia-node, where YourUserName is your Windows account name. Settings file is named node.settings. Please try opening this settings location and NOIA node GUI side-by-side and perform this test:

  1. Note node.settings Data modified timestamp.
  2. Click Save button in GUI.
  3. Check if node.settings Data modified has changed.

image 2

After pressing Save button Date modified date should have changed and node.settings should contain update settings. You can investigate node.settings file content too.

Please report if node.settings content changes and/or Date modified value.

Note: If you fail to find node.settings location, you can also find it by opening console (WinKey+R, write cmd and press OK), enter in console window your NOIA installation location: "C:\Users\YourUserName\AppData\Local\Programs\noia-node-gui\NOIA.exe" and press enter. You should see something like this:
image 3
Where Initializing NOIA node, settings-path=... will print settings location.

@haianh1610
Copy link

Hi,
I have done as your request and here is the results:

  • Data Modified value changed after clicking Save button.
  • Storage size is reverted to the previous setting value.

One more issue: I successfully saved the wallet address then came to Settings to change the storage size. After clicking Save button, a message showed "settings updated", after that the storage size was still zero and the wallet address was cleared. I had to repeat disconnecting node, pasting wallet address, resetting node...in around 20 minutes to save the wallet address again. I still have 3 more nodes with 0B storage size but i don't dare to change the settings due to this issue.

noia 1
noia 2

@betokraut
Copy link
Author

Hey Dancia,

  1. the issue persisted when running as admin
  2. the timestamp of 'note.settings' was successfully changed whenever the save button was clicked
    Thanks

@martijnspaan
Copy link

I also encounter this issue with version 1.0.0 and just did a fresh install of 1.0.1 but still my settings are not stored. I changed the node.settings file manually with notepad and restarted the client. The settings are correctly set now and just checked with Nojus that my node is online. So that would be a workaround for now.

@durbanite
Copy link

durbanite commented Nov 20, 2018 via email

@martijnspaan
Copy link

martijnspaan commented Nov 20, 2018

Just did some further investigation and found something interesting. Using Process Monitor of Sysinternals I noticed that when pressing the save button, the settings file is created (20:46:50) but not written. When I open the file it is completely empty. Then the server begins to restart and when that is done (20:47:03), a different process id (2564 instead of 7524) is also writing the settings file, but clearly it uses default values because the settings file is empty.

2018-11-20 20_47_12-ttt - 52 174 44 233_3389 - remote desktop connection

@martijnspaan
Copy link

martijnspaan commented Nov 20, 2018

@betokraut you just changed your port number to 1000 instead of the storage size 😂

Also be carefull posting your screenshots, your nodeId, username and part of the wallet mnemonic are showing, not sure if that can be a privacy / security issue.

Here are the settings you can change:
2018-11-20 21_27_08-ttt - 52 174 44 233_3389 - remote desktop connection

@betokraut
Copy link
Author

@martijnspaan jaja, silly me+ most grateful
storage-size

@Tartraus
Copy link

I have the same prob. on my Mac Os, after latest update and downloaded it a couple days later today & tried again? Wallet Address is there this time!
On NODE Page shows only my amount of set GB and the time moving, the only movement? I pressed on check port -
WebRTC control port
8048
Check port
Connection timed out
Might have to dumb it down for me? ":)
Thanks!

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

6 participants