Sia is not loading properly ...
-
Dear droghio,
Firstly I quit the GUI.
Then I have to use Ctrl-C to quit the siad process which is still running.
It will produce a window popup with several error messages with headings "SIA-UI Files Error".
One of the content: connect ECONNREFUSED 127.0.0.1:9880.
The popup will keep appearing even i click with the expectation to close it.Then I have to resort using Ctrl-Alt-Del to have the task manager. I can see several SIA Electron processes running (about 9). I used End Task to kill all the processes off one by one.
Not sure if this is a normal way to quit the GUI and other processes.
Now, back to your question, The last time i used Sia, I did give it a proper quit. There are no outage or forced reboot. I dont mind sharing the corrupted files, just let me know how do i extract and how i need to submit it as long it will help you guys to improve the technology.
In the meantime, I will wait for your instructions to extract before i start deleting anything.
Thank you very much.Best Regards
-
Dear droghio,
I have made another copy of the original directory just in case if i have to revert back.
So, what i did is, I remove the miner.json file and run the following command:
E:\Sia-UI-win32-x64\resources\app\Sia>siad --sia-directory %APPDATA%/Sia-UI/sia
Loading...
(1/7) Loading gateway...
(2/7) Loading consensus...
(3/7) Loading transaction pool...
(4/7) Loading wallet...
(5/7) Loading miner...
miner persistence startup failed: invalid character '\x00' looking for beginning of valueE:\Sia-UI-win32-x64\resources\app\Sia>
I think its not promising.
What happened next, is i try to remove the other json files from the other directories and launch the earlier command, but it show the same results.Below is the list of json files i have removed. The name of the files denote the directory names unless its stated.
nodes.json (from gateway), host.json, miner.json, contractor.json (from renter), renter.json, and finally wallet.json.Is there anything else i have missed out ?
Thank you.
-
Interesting, assuming you made a backup, would you mind going back to
%APPDATA%/Sia-UI/siaand try deleting the entire miner directory?Also as for quitting Sia-UI, when you close the main window the UI continues running in the background, but when you killed
siadwith the UI still running it triggered an error state. To actually quit Sia-UI without the swarm of error messages you'll need to click on it's tray icon and chooseQuit Siafrom the popup menu.Also do you have the miner.log file? If you could post/pm them in the Slack that would be helpful, but feel free to email them as well, drogo - at sign - nebulouslabs.com
-
Dear droghio,
I removed the miner directory and launch the sia again, after several hours, it is still loading. By the way, i have send you the log file to your email.
Update: I also execute siad now, the sia still show its loading. i will wait and see what happen next.
after 6 hours, it still loading. :(
-
Thanks for the log! Unfortunately I didn't see anything unusual. Until we figure out what's causing the data corruption you'll be better off sticking to the command line for debugging. What version of the UI are you running, and what does the command
siad versionreport?It still sounds like the corrupted file issue that has affected a few other users, but for some reason Sia isn't recognizing that you actually deleted the offending file. Can you post the exact text of
siad --sia-directory %APPDATA%/Sia-UI/sia?Also would you mind sharing a few details about your system, ie OS, type of hard drive being used, memory size, cpu, default language?
-
Dear Droghio,
Here you go.
E:\Sia-UI-win32-x64\resources\app\Sia>siad version
Sia Daemon v1.0.0E:\Sia-UI-win32-x64\resources\app\Sia>siad --sia-directory %APPDATA%/Sia-UI/sia
Loading...
(1/7) Loading gateway...
(2/7) Loading consensus...
(3/7) Loading transaction pool...
(4/7) Loading wallet...
(5/7) Loading miner...
miner persistence startup failed: invalid character '\x00' looking for beginning of valueE:\Sia-UI-win32-x64\resources\app\Sia>
I am just wondering if that time, when i launch the sia, i was actually running a mining sia process in the background, will this affect the execution of sia ?
I discovered that one of the mining of the process which i was running in the background could be affecting the sia (even when I launch siad). Only when the process was killed or ended, then only the sia load completedly with the siad executed.
Another question is, if i uninstall this sia and reinstall the newer version of the wallet, can i still retrieve my last wallet with the same address ?
This pc is actually a laptop which i am using to test various stuffs.
http://www8.hp.com/us/en/ads/envy-touchsmart-15/specs.html
Core i7, 8 MB Ram, Nvidia 740M 2GB, Hdd 1 TB with lots of empty spaces.Best Regards
-
Interesting, looks like your Siad is a version behind. What do you mean by sia mining process? Is that a GPU miner, if so do you know which one? I would recommend quitting anything that relates to Sia before attempting the above steps, there might be an odd file lock going on.
As for updating by default if you just replace the Sia-UI binary your old wallet etc will be saved. That's why there's data in the
%APPDATA%/Sia-UI/siadirectory. Worst comes to worst you can also recover your old wallet funds into a new wallet by runningsiac wallet load seedand inputting your current wallet, and previous wallet's passwords/seeds.
-
Dear droghio,
Good day to you.
I was using gominer when i tried to launch the sia. Below is where I downloaded the files for mining.
https://sia.nanopool.org/help#gominer.
Yes, I agreed with you that there could be certain files had been locked on and further caused the data corruption.
But how i noticed the correlation between the mining and the sia issues, is when i was troubleshooting the sia issue with you, I was running a different mining (ethereum) in the background.
When i found out that the sia was successfully loaded, the ethereum mining was already showing a repeatitive errors.
JSON-RPC problem. Probably couldn't connect. Retrying in 1...I am not sure if this will helps you guys. I guess whenever we want to run sia, we shouldnt be running any mining process in the background ? Thats is my most latest conclusion.
The next part is for some reasons, I can only successfully load the sia only if i run siad as well. If dont use siad, it will load forever. Even without any mining processes running in the background.
Unfortunately, the last round when the sia load successfully, it prompt me to create a new wallet. And the fool i am, i didnt take down the seed and the password that was shown up.
So when i try to run siac wallet load seed, it will ask me for the two following items:
- Wallet Password: Please type your wallet password and press enter to continue.
- New seed : Please type your new seed and press enter to continue.
When i enter the password and seed respectively, I would get this error,
"error when calling /wallet/seed: provided encryption key is incorrect"It there a way I can create a new wallet ? or how do i proceed ?
Thank you.
-
Dear droghio,
I managed to create a new wallet with the newer version of sia. I just have to copy the rest of the folders under sia to the new version's location excluding wallet directory.
So it allows me to create a new wallet and this time, i keep the seed/password written down.
So when i tried to launch the command "siac wallet load seed", it ask for the two things, which i entered but it tells me, that whatever i have input is not recognized.Does this mean the previous i address I used to mine sia is gone forever ?
I am confused.Best Regards
-
Dear droghio,
After playing a while, I manage to get my seed up. Thank you for everything.