Admin connections reloading/crashing? Read here! (v1.708,709,710 => v1.800)

Quoted from post below:

"If your Kiwi has the problem where admin connections repeatedly reload a few seconds after you connect I now have a solution for this that doesn't require the hassle of opening an ssh port on your router.

Just email support@kiwisdr.com the Internet link (URL) to your Kiwi and the Kiwi's admin password.

I have some browser magic that stops the reloading long enough to repair the build of v1.800 and get things back on track."

Also, see post below for how to fix this yourself if you have ssh access to your Kiwi.


From the CHANGE_LOG file:

v1.708,709 November 23, 2024

  Github repo rebase test on a limited set of Kiwis.

  For everyone else this update does nothing (except blacklist update below).

   

  IP blacklist update. (thanks ArturPL, WA2ZKD)


Comments

  • v1.709 attempts the git rebase on a larger subset of Kiwis: Those having admin passwords starting with the letters "a" through "d". This is to limit any possible damage as well as test the loading on the forum server which is the new source of the large static files (rather than Github).

    Fast binary updates will resume once everyone is converted over to the new scheme which begins with v1.800

  • jksjks
    edited November 23

    When doing the rebase to v1.8xx the build time is very long. At least 1.5 hours depending on the speed of your Internet connection. This is because all the cached files must be rebuilt and the large static files initially downloaded.

    Do not interrupt the build. Otherwise you're going to lose everything and have to re-flash from scratch.

  • edited November 24

    Went out this morning a 08:00 UTC and my V1 was working and on 1.708.

    Came home at 14:00 and is constantly reloading.

    When the radio page stays up long enough to read it it says it is still on 1.708 and the Admin status page says the same, then it reloads with the message "Server has closed connection. Will retry." then it reloads.

    No power outages here, etc.

    Edit: the server runs until I open the admin pages, then the server closes.

  • jksjks
    edited November 24

    @barneyuk That's very odd. In general the latest update has been working fine.

    Since an admin connection is not stable about all we can do here is to allow me to ssh into the Beagle directly and see what's going on. But that requires you to NAT-map a port on your router to port 22 (ssh) at the local IP address of the Kiwi on your local network.

    Then email support@kiwisdr.com your public IP address, the Internet-side port number you used, Kiwi serial number, and any password if you happened to change the "debian" account password on Linux. Typically you won't have done this and the default password will be "temppwd" or the Kiwi's serial number.

    Thank you

  • edited November 24

    Ok I will have to do this tomorrow sometime as the serial number can't be seen on the outside.

    I have to say that I only noticed this because the Ant switch extension wasn't working. It also had become disabled on my V2, that is now switched back on.

    .

  • @jks I have emailed the information requested, hopefully you will be able to crack this.

    Thanks

  • I've re-enabled the v1.709 update, which should do a v1.800 upgrade, for all Kiwis except those running Debian 8 (and also limited to those with admin passwords beginning with the letter 'a' through 'h'). The fix to prevent admin connection looping is included in this current snapshot of v1.709.

  • v1.800 removes the /root/Beagle_SDR_GPS git clone subdirectory which had grown to anywhere between 500 and 1600 MB and replaces it with a new clone called KiwiSDR (current size 55 MB).

    And also a new directory /root/KiwiSDR.files updated from kiwisdr.com (i.e. not part of the Github clone) containing large static files (current size 88 MB).

    As a result the new KiwiSDR clone should grow much more slowly over time as it will mostly contain only source code changes and not historical copies of these huge binary files. So things now look roughly like this and there is now plenty of free filesystem space:

    root@kiwisdr:~# du

    4.0K build.log

    35M kiwi.config

    55M KiwiSDR // new git clone

    88M KiwiSDR.files // updated from kiwisdr.com

    104M build


    HB9TMC
  • This certainly worked my end. Thank you.

  • jksjks
    edited November 27

    Today we're going to try rebasing all Kiwis (except those running Debian 8) to v1.800.

    Please be patient. This is a long update as the file cache has to complete a one-time load which takes extra time if your Internet connection to kiwisdr.com happens to be slow.

    Debian 8 Kiwis will update to v1.710 which has no other changes except the version number change.

    If your non-Debian 8 Kiwi ends up running v1.710 that means the transition to v1.800 failed and I need to look at it.

    Starting with v1.801 we can resume with binary updates and get rid of these ridiculous update times.

    HB9TMCrz3dvp
  • If your Kiwi has the problem where admin connections repeatedly reload a few seconds after you connect I now have a solution for this that doesn't require the hassle of opening an ssh port on your router.

    Just email support@kiwisdr.com the Internet link (URL) to your Kiwi and the Kiwi's admin password.

    I have some browser magic that stops the reloading long enough to repair the build of v1.800 and get things back on track.

  • I want to thank John for solving the v1.800 update issue for my kiwi.

    Excellent support, thanks.

    ik4mtc,antonio,italy

  • Early morning here now. I have email from five of you with the admin connect looping problem. Will get started on fixing those.

    Of the public Kiwis looks like about 280 of them have updated (so far) to v1.800 without any problem.

  • jksjks
    edited November 29

    Okay, these 5 have been fixed. Others are in the queue.

    Anyone else, assuming your Kiwi has Internet access, email the link/URL and admin password to support@kiwisdr.com. It can take a couple hours to fix the build depending on various factors.

    Some people have asked if they can try fixing this themselves. If you have ssh access to your Kiwi (NB: different from Kiwi admin access) you can try fixing it. Don't ask about the browser procedure to restore admin page access. It's complicated and I don't have time to walk people through it.

    Proceed as follows:

    ssh in and get a root shell. This procedure can take a long time. Some ssh connections

    require periodic user-side input otherwise the connection will be closed. So hit the

    return key periodically during the "mc" "m" and "mi" steps.

    cd

    dog (shows Debian version -- remember for future reference)

    ls

    Most likely there will be no Beagle_SDR_GPS directory but will be a KiwiSDR directory.

    df. (check that there is at least 500 MB of free filesystem space)

    If no KiwiSDR directory do a: "gclone KiwiSDR"

    cd KiwiSDR

    gup (git update)

    There may be an incomprehensible warning from git at the beginning. Ignore it.

    msd (stops the Kiwi server to speedup build time)

    If you're running Debian 8 (ONLY!) then preemptively repair a possibly broken package system using these two commands:

    dpkg --configure -a

    apt-get -f install

    Now try building the Kiwi server:

    mc (make clean)

    There may or may not be a lot of activity besides simple cleaning in this step depending on how far the process got last time.

    There could be a bunch of Debian package installs. There will be a run of "lftp" to distro.kiwisdr.com to initially populate the static file cache.

    This can potentially take a long time if your path to kiwisdr.com (California) is slow.

    m (make)

    mi (make install)

    "lftp" is run again, but should be faster this time as all files should be cached.

    ku (starts Kiwi server)

    v1.800 should be running at this point.

    Ask if there are any serious errors at any step.


    rz3dvpstudentkra
  • My KiwiSDR2 is on 1.699 yet. So the next time I'm on site there, in a couple weeks, I'll go ahead and let it update unless you say otherwise. Will there be any issue if I don't have 1.800 installed before 1.801 comes out, like trying to go from 1.699 to 1.801?


    -Nate

    N8BTR

    http://21040.proxy.kiwisdr.com:8073/

  • Yes, this problem can occur anytime in the future a Kiwi first crosses the barrier between pre- and post-v1.8xx. That's the point at which the git repo rebase occurs. So going from v1.699 to v1.8xx qualifies (even if v1.800 itself is skipped).

    In your case it sounds like you have a Kiwi at a remote site with automatic updates turned off so you can more carefully control the update schedule (an entirely reasonable thing to do). It would be better if you just let me manually do the update to v1.800 now and save you any potential problems when you're next out there. Just set a temporary admin password and email it to support@kiwisdr.com and I'll be happy to do that.

    Nate_R
  • The image you download to create an SD card for re-flashing a BBG/BBB-based Kiwi-1 or Kiwi-2 has been updated from Debian 11.9 to 11.11 and Kiwi software release v1.690 to v1.800.

    Full instructions here: http://kiwisdr.com/info/#id-net-reflash

    barneyuk
  • jksjks
    edited November 29

    Today we're enabling an auto update to v1.711, and thereby on to v1.800, for Debian 8 Kiwi's with admin passwords starting with the letter "i" through "l". If this is successful the next update will be applied to all D8 systems.

    What's different with v1.711 is that it preemptively attempts to repair the Debian package system to lessen the chance of the build/update failing. This is based on the experience gained repairing D8 systems by hand over the last several days.

    This update will of course not affect systems already updated to v1.8xx.

    studentkrabarneyuk
Sign In or Register to comment.