Sia has gone rogue



  • My particular sia setup is doing the oddest things! I wish I could provide a correlation to these symptoms, something I did or didn't do. However, I merely looked at the status of my siad instance about two weeks ago and saw this error. I have not been able to clear it up. Additionally, it seems that all my files are uploading again. But I don't even have them on my server anymore! So I have no idea where they are uploading from! Anyway, here you go. I would love some help!

    Symptom 1: Siad throws an exception

    [email protected]:~$ ./startSiad.sh
    Sia Daemon v1.3.7
    Git Revision 126260536
    Loading...
    (0/6) Loading siad...
    (1/6) Loading gateway...
    (2/6) Loading consensus...
    (3/6) Loading transaction pool...
    (4/6) Loading wallet...
    (5/6) Loading host...
    (6/6) Loading renter...
    Finished loading in 4.89038532 seconds

    (everything appears to be fine for approximately 25 seconds; then this appears)

    goroutine 166 [running]:
    runtime/debug.Stack(0x445e67, 0x0, 0xc42325a888)
    /usr/local/go/src/runtime/debug/stack.go:24 +0xa7
    runtime/debug.PrintStack()
    /usr/local/go/src/runtime/debug/stack.go:16 +0x22
    gitlab.com/NebulousLabs/Sia/build.Critical(0xc42325a930, 0x1, 0x1)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/build/critical.go:16 +0x93
    gitlab.com/NebulousLabs/Sia/types.Currency.Sub(0xa41100, 0xc4209fd1a0, 0x1, 0x5, 0xc420d26d00, 0xc443d116b0, 0x1, 0x6, 0x0, 0x0, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/types/currency.go:179 +0x133
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.newRevision(0x91d8bd3f8b6f8638, 0xed2db7662ef45e34, 0x54b30304de4325c6, 0xc7281258dfad8dba, 0x0, 0xc4210f8370, 0x2, 0x2, 0x2, 0x499, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/negotiate.go:191 +0x24d
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.newDownloadRevision(0x91d8bd3f8b6f8638, 0xed2db7662ef45e34, 0x54b30304de4325c6, 0xc7281258dfad8dba, 0x0, 0xc4210f8370, 0x2, 0x2, 0x2, 0x499, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/negotiate.go:207 +0xd0
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.(*Downloader).Sector(0xc4405f2c80, 0xdbe64b2f2e290bbf, 0x79dacc82dd25f3f8, 0xe07485ea1d4550df, 0x50b5676e4ae401a8, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/downloader.go:57 +0x4ce
    gitlab.com/NebulousLabs/Sia/modules/renter/contractor.(*hostDownloader).Sector(0xc4201f84e0, 0xdbe64b2f2e290bbf, 0x79dacc82dd25f3f8, 0xe07485ea1d4550df, 0x50b5676e4ae401a8, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/contractor/downloader.go:95 +0xe4
    gitlab.com/NebulousLabs/Sia/modules/renter.(*worker).managedDownload(0xc4212f6380, 0xc4200b4640)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/workerdownload.go:37 +0x2b1
    gitlab.com/NebulousLabs/Sia/modules/renter.(*worker).threadedWorkLoop(0xc4212f6380)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/worker.go:121 +0x124
    created by gitlab.com/NebulousLabs/Sia/modules/renter.(*Renter).managedUpdateWorkerPool
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/worker.go:84 +0x4d4
    Critical error: negative currency not allowed
    Please submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues
    goroutine 166 [running]:
    runtime/debug.Stack(0x445e67, 0x0, 0xc42325a888)
    /usr/local/go/src/runtime/debug/stack.go:24 +0xa7
    runtime/debug.PrintStack()
    /usr/local/go/src/runtime/debug/stack.go:16 +0x22
    gitlab.com/NebulousLabs/Sia/build.Critical(0xc42325a930, 0x1, 0x1)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/build/critical.go:16 +0x93
    gitlab.com/NebulousLabs/Sia/types.Currency.Sub(0xa41100, 0xc4209fd200, 0x1, 0x5, 0xc420d26d00, 0xc443d116b0, 0x1, 0x6, 0x0, 0x0, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/types/currency.go:179 +0x133
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.newRevision(0x91d8bd3f8b6f8638, 0xed2db7662ef45e34, 0x54b30304de4325c6, 0xc7281258dfad8dba, 0x0, 0xc4210f8370, 0x2, 0x2, 0x2, 0x499, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/negotiate.go:195 +0x3d1
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.newDownloadRevision(0x91d8bd3f8b6f8638, 0xed2db7662ef45e34, 0x54b30304de4325c6, 0xc7281258dfad8dba, 0x0, 0xc4210f8370, 0x2, 0x2, 0x2, 0x499, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/negotiate.go:207 +0xd0
    gitlab.com/NebulousLabs/Sia/modules/renter/proto.(*Downloader).Sector(0xc4405f2c80, 0xdbe64b2f2e290bbf, 0x79dacc82dd25f3f8, 0xe07485ea1d4550df, 0x50b5676e4ae401a8, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/proto/downloader.go:57 +0x4ce
    gitlab.com/NebulousLabs/Sia/modules/renter/contractor.(*hostDownloader).Sector(0xc4201f84e0, 0xdbe64b2f2e290bbf, 0x79dacc82dd25f3f8, 0xe07485ea1d4550df, 0x50b5676e4ae401a8, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/contractor/downloader.go:95 +0xe4
    gitlab.com/NebulousLabs/Sia/modules/renter.(*worker).managedDownload(0xc4212f6380, 0xc4200b4640)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/workerdownload.go:37 +0x2b1
    gitlab.com/NebulousLabs/Sia/modules/renter.(*worker).threadedWorkLoop(0xc4212f6380)
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/worker.go:121 +0x124
    created by gitlab.com/NebulousLabs/Sia/modules/renter.(*Renter).managedUpdateWorkerPool
    /home/luke/go/src/gitlab.com/NebulousLabs/Sia/modules/renter/worker.go:84 +0x4d4
    Critical error: negative currency not allowed
    Please submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues

    If I check the status with siac...

    [email protected]:~$ ./siac
    Synced: No
    Height: 180435
    Progress (estimated): 93.9%

    If I give it a couple minutes and check again...

    [email protected]:~$ ./siac
    Synced: Yes
    Block: 0000000000000005e308a6c63a852bf4bd8a0975a50903b92105c8510841f544
    Height: 180438
    Target: [0 0 0 0 0 0 0 30 45 243 58 242 135 78 148 4 84 44 50 86 20 253 97 244 224 17 224 108 105 27 219 192]
    Difficulty: 611234399732357577

    At this point, I can unlock my wallet without an issue. I can check my wallet. I do not know if the following is all good, but I have plenty of Sia coin that I have devoted to backups.

    [email protected]:~$ ./siac wallet
    Wallet status:
    Encrypted, Unlocked
    Height: 180438
    Confirmed Balance: 4.761 KS
    Unconfirmed Delta: -87.5 mS
    Exact: 4761441978671868289319476124 H
    Siafunds: 0 SF
    Siafund Claims: 0 H

    Estimated Fee: 30 mS / KB

    [email protected]:~$ ./siac renter contracts | more
    Active Contracts:
    Number of Contracts: 54
    Total stored: 679.813 GB
    Total Remaining: 29.93 SC
    Total Spent: 35.43 SC
    Total Fees: 34.87 SC
    ...

    As previously mentioned, the second symptom I seem to have is that my files are uploading continuously with no apparent progress. And I do not know where they are uploading from because most of them exist only in Sia now!

    Symptom 2: Files that no longer exist on my server (i.e. only in sia) appear to be uploading continuously with no progress

    ...
    1.074 GB backups/shalom/wilvnassrv/duplicati-b5cdb106b5c714931b48033dd2a9d7d0b.dblock.zip (uploading, 68.46%)
    79.88 MB backups/shalom/ICSKCSVMs/duplicati-b2fdb3e8962bf4a8da5542a9ba2a9cf3c.dblock.zip (uploading, 46.67%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-bf46d035b35624553aca0de330ff2e369.dblock.zip (uploading, 51.79%)
    1.049 GB KCS.tar.gz.partab (uploading, 60.00%)
    338 B backups/kcs/duplicati-20180621T120904Z.dlist.zip (uploading, 26.67%)
    1.074 GB backups/shalom/ICSKCSVMs/duplicati-b3186f3716e07454a8792a2a801e41e73.dblock.zip (uploading, 71.92%)
    1.074 GB backups/shalom/wilopenttdsrv/duplicati-bab602776f180441ab2502776dcf6fdb8.dblock.zip (uploading, 52.82%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b898f962fadb34f83b05aca12a4ad6d59.dblock.zip (uploading, 67.69%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-b6e7017040a824385b5a789e4cdc9326f.dblock.zip (uploading, 57.82%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-baff7ce600d8f4664b09528cd69cc983f.dblock.zip (uploading, 81.28%)
    1.074 GB backups/dev/dev.tar.gz.ac (uploading, 52.44%)
    1.074 GB backups/kcs/duplicati-b8f295a6f01da41b696e2781f31257d69.dblock.zip (uploading, 61.92%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b02933c50dd61477f8bdd0a411f353619.dblock.zip (uploading, 50.00%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b69ca3b67da6442259fcba7dfbd201fe2.dblock.zip (uploading, 63.97%)
    2.05 MB backups/shalom/cbcmediasrv/duplicati-ia37fc65849dc4fa7a41a96a756f380d8.dindex.zip (uploading, 50.00%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-b039c1ec7a9e94aea95112be8591588e2.dblock.zip (uploading, 66.15%)
    1.074 GB backups/shalom/wilopenttdsrv/duplicati-bf041a15d2bf641278c763fbddc404521.dblock.zip (uploading, 80.77%)
    1.049 GB KCS.tar.gz.partaf (uploading, 49.36%)
    1.074 GB backups/gideon/jamesprofile/duplicati-bc5ad215641d24c96bf965dfd4131cddd.dblock.zip (uploading, 59.49%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-bcb2b0284bed34c7088aa3fe8fcfcada8.dblock.zip (uploading, 83.21%)
    1.074 GB backups/shalom/wilvnassrv/duplicati-b6a1aacd61ffd4fe7a6d32e4435068d98.dblock.zip (uploading, 71.79%)
    1.074 GB backups/shalom/wilopenttdsrv/duplicati-b1047177d24bc4040b199e0b1d020a4a3.dblock.zip (uploading, 77.31%)
    753.21 MB backups/shalom/wilvnassrv/duplicati-b4bbbaefab05e4eaabfe8903da78497a9.dblock.zip (uploading, 69.26%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-b673c47a87fe8418bbb222caf05ffb984.dblock.zip (uploading, 65.38%)
    1.049 GB KCS.tar.gz.partac (uploading, 71.41%)
    1.074 GB backups/gideon/jamesprofile/duplicati-b7ceb8adb2e994a56bf220e312946c3ac.dblock.zip (uploading, 55.64%)
    1.074 GB backups/gideon/jamesprofile/duplicati-b95006b1d1d434761b0b4cb0bb1833beb.dblock.zip (uploading, 55.26%)
    1.074 GB backups/shalom/ICSKCSVMs/duplicati-bac97a948e0ef4003a9b1f02f4334295c.dblock.zip (uploading, 65.51%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-b02217c12de8f44cfa12c66e9ef7281fe.dblock.zip (uploading, 75.38%)
    1.074 GB backups/dev/dev.tar.gz.aa (uploading, 60.38%)
    1.074 GB backups/shalom/ICSKCSVMs/duplicati-b59f6737a2be24a6ebbea932ed0f01c8c.dblock.zip (uploading, 59.87%)
    3.18 MB backups/shalom/wilwebsrv/duplicati-i3de1d72645314ce0b4ddeb471a985cb9.dindex.zip (uploading, 36.67%)
    1.049 GB KCS.tar.gz.partaa (uploading, 71.79%)
    1.074 GB backups/dev/dev.tar.gz.ae (uploading, 55.51%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b18a0b95c17d5444bb8555d84438cad51.dblock.zip (uploading, 58.72%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-b2cb54413b86a488bbb6e3d84a97d22ac.dblock.zip (uploading, 59.23%)
    1.074 GB backups/gideon/jamesprofile/duplicati-bc1d7cec56d9d4b189e1b86e0c77c203c.dblock.zip (uploading, 63.33%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b7092c82c1f2a4cbc895243378c8aec7d.dblock.zip (uploading, 73.72%)
    1.049 GB KCS.tar.gz.partae (uploading, 50.26%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-b9c10c3c43565417ab16a9386e56445fc.dblock.zip (uploading, 52.69%)
    258.41 MB backups/shalom/MinecraftVM/duplicati-bbbdf513420cd45f0bf52da9fc5a13995.dblock.zip (uploading, 57.62%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-b89b55d9c58254a1c88c1b3a451f85bda.dblock.zip (uploading, 67.95%)
    1.074 GB backups/shalom/wilopenttdsrv/duplicati-ba17d2ab5916b4c439ce17e7d0f57d596.dblock.zip (uploading, 69.23%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-bd4f763ef606f4809a7fa1b10062fa5c9.dblock.zip (uploading, 76.41%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-b2ca43ca1c4e145d49094ba975823785d.dblock.zip (uploading, 66.54%)
    858.68 MB backups/shalom/cbcmediasrv/duplicati-b973d3a348695411883a8d8743aecb1a1.dblock.zip (uploading, 85.24%)
    1.074 GB backups/gideon/jamesprofile/duplicati-b905e5b4d8891499788700ee6a8cef4ff.dblock.zip (uploading, 42.44%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-b09710c9af409498d8d529b7a4af28507.dblock.zip (uploading, 37.69%)
    1.074 GB backups/gideon/jamesprofile/duplicati-bc6d9961da7754b40be05fbc692ff469e.dblock.zip (uploading, 47.69%)
    1.074 GB backups/shalom/cbcmediasrv/duplicati-bcf87a021136943b88c95cb109a68efd6.dblock.zip (uploading, 78.33%)
    1.074 GB backups/shalom/MinecraftVM/duplicati-b85eecda46594471e88b6b2348448b195.dblock.zip (uploading, 59.49%)
    1.074 GB backups/shalom/wilsteamsrv/duplicati-b4abcb9e4c39f4d77a70bd5c4f89107e2.dblock.zip (uploading, 50.64%)
    1.049 GB KCS.tar.gz.partah (uploading, 80.00%)
    1.074 GB backups/sheba/duplicati-b7fe7af94892e41bb8efb9a6dae72ed37.dblock.zip (uploading, 66.15%)

    Let me know if you have any questions. I really hope I can clear up this mystery without loss of data. My data in the cloud isn't terrrrrrrrribly important, but I would like to preserve it if possible.

    One last thing, I have updated to the latest siad and siac without a change in symptoms.

    Thanks!


  • Global Moderator

    @TitaniumCoder477 This is a lot. You should bring this into help on the discord chat.

    Make sure you tag me @bryan if you need to me respond.
    Forum Mod. I cannot fix transactions. I can't help with Mac or Linux.
    alt text
    Unofficial Web Based Siacoin Wallet. No more syncing.

    0


  • Hey guys, I'm back again. Still stuck in Sia upload hell. No idea why this is happening, and throwing more funds at it isn't helping. Here are some comparisons that may help show what is going on:

    Figure 1: My wallet status compared between 12/16/18 and 12/29/18

    alt text

    Figure 2: My renter allowance status compared between 11/13/18 and 12/30/18 (during this period of time I increased my allowance at the suggestion of someone)

    alt text

    Figure 3: The symptom - uploads taking place forever and making little progress, no progress, and sometimes reverse (?) progress; compared between 11/27/18 and 12/29/18

    alt text


Log in to reply