Sia-UI Portable ?


  • Global Moderator

    @Albert
    You can move the blockchain to another disk either by editing config.json located in the Sia folder in roaming for windows or use symlinks.

    Find me on the Official Sia Discord.

    Feel free to donate if I helped you!
    SC: e8f701c1b2b37c8560cd9bbd2ab85e352d27112f51f0cec815a1331dcc2257392f6b53440b4c
    DCR: DsSKZQkB1MZ81o5DtePbmC3swPCzgbtdg6f
    ETH/ETC: 0x5d67690768F0Fc4780c578393Ca567e5bCb38378

    0


  • I tried here
    AppData\Roaming\Sia-UI\config

    replace
    "datadir": "C:\Users\albert\AppData\Roaming\Sia-UI\sia",
    by
    "datadir": "E:\external\siaBlockchain",

    but I get an error system from Sia-UI

    Please can you give me more info about the method and how to do it ?



  • I get this result when I trying to open Sia-UI (Sia version: 1.3.2 if I move the blockchain to another disk

    A critical error loading Sia has occured: Siad unexpectedly exited. Error log: Sia Daemon v1.3.2
    Git Revision 72938f5
    Loading...
    (0/6) Loading siad...
    (1/6) Loading gateway...
    (2/6) Loading consensus...
    (3/6) Loading transaction pool...
    panic: invalid page type: 2683142: 10

    goroutine 21 [running]:
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).search(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x28f106)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:256 +0x413
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).searchPage(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x87a3d000)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:314 +0x161
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).search(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x7a4d)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:271 +0x1a9
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).searchPage(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x81184000)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:314 +0x161
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).search(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x1194)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:271 +0x1a9
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).searchPage(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x8128c000)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:314 +0x161
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).search(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x129c)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:271 +0x1a9
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Cursor).seek(0xc04227ab68, 0xc04255b3e0, 0x20, 0x20, 0x0, 0x0, 0xc0422a0ef8, 0xdeb3f0, 0x8, 0x8, ...)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/cursor.go:159 +0xb8
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*Bucket).Get(0xc042226fc0, 0xc04255b3e0, 0x20, 0x20, 0xdee0e0, 0xc042226fc0, 0x42cc6d)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/bucket.go:260 +0xed
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).validateHeaderAndBlock(0xc0420b3b80, 0xdef860, 0xc0422a0ee0, 0x0, 0xe3315a9aeb161f36, 0x3db6c8a2bc253ca, 0x81bd388370c0e23d, 0x5b246a01, 0x5b0b8f5d, 0xc04215b200, ...)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/accept.go:47 +0x15e
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedAcceptBlocks.func1(0xc0422a0ee0, 0xaf82d8, 0xc0422a0ee0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/accept.go:248 +0x2c2
    github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt.(*DB).Update(0xc04205f2c0, 0xc04227b2f8, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/vendor/github.com/coreos/bbolt/db.go:673 +0xa1
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedAcceptBlocks(0xc0420b3b80, 0xc042272000, 0xa, 0xa, 0x0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/accept.go:244 +0x424
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).managedReceiveBlocks(0xc0420b3b80, 0xdf80e0, 0xc04216e000, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:225 +0x500
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).(github.com/NebulousLabs/Sia/modules/consensus.managedReceiveBlocks)-fm(0xdf80e0, 0xc04216e000, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:445 +0x45
    github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).managedRPC(0xc0420a86e0, 0xc0421d2d60, 0x13, 0xac7049, 0xa, 0xc04222c3f0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:66 +0x2c9
    github.com/NebulousLabs/Sia/modules/gateway.(*Gateway).RPC(0xc0420a86e0, 0xc0421d2d60, 0x13, 0xac7049, 0xa, 0xc04222c3f0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/gateway/rpc.go:76 +0xd8
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedInitialBlockchainDownload.func1(0xc0420b3b80, 0xc04227bef0, 0xc04227be98, 0xc04227bea0, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:580 +0x12e
    github.com/NebulousLabs/Sia/modules/consensus.(*ConsensusSet).threadedInitialBlockchainDownload(0xc0420b3b80, 0x0, 0x0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/synchronize.go:601 +0x151
    github.com/NebulousLabs/Sia/modules/consensus.New.func1(0x1, 0xc042146500, 0xc0420b3b80, 0xdf87e0, 0xc0420a86e0)
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:151 +0x3eb
    created by github.com/NebulousLabs/Sia/modules/consensus.New
    /home/luke/go/src/github.com/NebulousLabs/Sia/modules/consensus/consensusset.go:144 +0x656


  • Global Moderator

    @Albert
    Inside siaBlockchain, there should be a folder named transactionpool that you moved together when you move the sia folder.

    Try deleting the transactionpool folder and relaunch Sia-UI (Quit Sia-UI completely from the bottom right system tray icon before modifying anything)

    Find me on the Official Sia Discord.

    Feel free to donate if I helped you!
    SC: e8f701c1b2b37c8560cd9bbd2ab85e352d27112f51f0cec815a1331dcc2257392f6b53440b4c
    DCR: DsSKZQkB1MZ81o5DtePbmC3swPCzgbtdg6f
    ETH/ETC: 0x5d67690768F0Fc4780c578393Ca567e5bCb38378

    0


  • it's done but still not working



  • I was looking for uninstall Sia-UI and make a new install for change de directory of "datadir": "C:\Users\albert\AppData\Roaming\Sia-UI\sia", in AppData\Roaming\Sia-UI\config
    before to start download again the blockchain and connect Sia-U to Internet for the first time.

    There is no uninstall files ?
    if I delete all files directly that's a bad method and it will not clean automaticly the windows registry



  • will there be any chances that it will work in the near future?



  • @Albert I was also looking to do what you suggest; move the consensus folder to anohter place since Iøm on a windows SSD disk for the OS, and the blockchain just gets bigger and bigger... I was not able to have it to work :-(



  • I can't believe the developers didn't think about that...

    That's a real basic thing to be able to store all BIG files on the external hard drive.

    And if Sia-UI become portable it would be the best, it will push the people to install Sia-UI directly on their external hard drive. This is will increase the users....

    Right now I don't have other choice than uninstall Sia-UI because it takes to much space on my internal hard drive. ARF wasting time....



  • @Albert ...they diod think about it actually... there is a parameter as the thread reveals, but I just don't know how it works - you doulc try the forum on discord, which is much omre active than in here-



  • @Albert Actually I got it to work by closing SIA, copying the whole structure with the Sia-UI/sia and then changing the parameter in the config file and do a restart.



  • @larsfloe said in Sia-UI Portable ?:

    @Albert Actually I got it to work by closing SIA, copying the whole structure with the Sia-UI/sia and then changing the parameter in the config file and do a restart.

    This is not going to work, SIA-UI is not a portable software and have some dependency with windows registry

    Please read what I wrote above



  • I removed SIA-UI already, the blockchain files cannot be stored on my external hard disk

    Be aware, this software doesn't have uninstaller. It will be necessary to clean by hand the registry of windows , this is a real bullshit....

    do not listen the official recommandation, that's a wrong advise



  • Good stuff @Albert. Thanks for the share.

    Bitcoins trading Australia

    0


  • @Albert I disagree.... I've moved the relevant folder out of the default place, edited the config file. No errors are reported. the consensus is synced and growing as before, I've checked I can send funds to anoter wallet.. Later I'll move it to a USB stick to avoid disk from constantly spinning...


Log in to reply