Skip to content

v8.0.0.beta.2

Latest

Choose a tag to compare

@chuot chuot released this 02 Dec 17:08
b8b73f6

What changed since v8.0.0-beta.1. Back up your config and your database before updating.

Upgrading from version 6.6.3

  • A calls migration that has nothing left to do no longer announces itself at every start, and each migration finding is now said once, from a migrationFindings table beside migrationArchive. Work genuinely unfinished — a failed stage, an old table whose DROP was turned down — is still repeated in the same words.
  • A watched directory naming no system and no talkgroup is carried instead of refused: 0 in both columns, the file name still deciding the call data. A watch beta.1 refused is still readable in migrationArchive, chapter 24 of the administrator guide. #560
  • Frequencies read out of file names come out exact from the first call this version files: 151.4000 files 151400000 hertz on talkgroup 151400. Calls filed since beta.1 keep their off-by-a-few-hertz values.

Starting the server

  • A start that cannot write the database file it was pointed at says so in one line and exits 1: no write permissions in the database file <path> (mode 0644, owned by uid 1000; the server runs as uid 10001). A container repeats it on each restart instead of crash looping with a driver error that names no file. #562

Call recordings on a MariaDB or MySQL server

  • Long recordings are stored whole. The calls recording column held at most 64 KiB, and MariaDB or MySQL cut every longer recording down to it with no error said anywhere: the call was filed with its full length, the player stopped partway, and a downloaded recording would not play. 40 seconds at the converter's own rate is already 160,000 bytes. #564
  • The migrationArchive column that carries an uncalled call's recording had the same cap, and cut anything past about 48 KiB the same silent way. Both columns now hold a whole recording, and a database created by beta.1 has them widened at startup, announced while it works: widening the calls recording column to hold whole recordings... — minutes on a large history, and the start still finishes before it serves anything. sqlite and PostgreSQL take no step. Recordings already cut stay as they are: the bytes past 64 KiB were never written, so the way back to them is the backup. #564

Getting audio in

  • A call upload missing several things names the last thing it is missing again — Incomplete call data: no talkgroup, which is the sentence SDRTrunk reads as a working server. #555
  • A capture client's connection check is logged as a check, under Uploads at Informative, naming the API key that presented it and the system it asked about; a refused recording is still logged at Error. A check carrying a key the server does not accept is answered 401 Invalid API key for system <nil> talkgroup <nil>., so the client reports its connection as failed, which is what is true. #555
  • A posted field is read without the line break some uploaders write twice, which had been turning a test flag arriving as 1\r\n into a refused recording, dropping a for system 10001 clause, and reading a stored key as one the server does not have.
  • Dirwatch masks are read the way 6.6.3 read them: all six frequency tokens at full width; the mask checked as the watcher compiles it, with a stored unreadable mask naming itself once at start instead of filing nothing silently; the frequency a file name carries used in place of the row's; #TGHZ reading whole hertz again; #TGLBL renaming a stored label only under auto-populate; a recording named only by channel name left in the directory, uningested and reported; and a row's Site, #SITE, and #SITELBL reaching the calls that directory files.
  • A call one server forwards to another names the radios it was heard on and keeps each channel's frequency, level, errors, and spikes: the sending side writes them under the names the upload endpoint documents, the receiving side reads unitRef/unit/src/id and label/tag/name, and an entry naming no number stores no radio, so the listening screen no longer reads UID: 0. Both ends need this build; calls stored before the update are not repaired. #563

The listening page

  • An EDACS or Provoice talkgroup is numbered agency-fleet-subfleet on the listening screens; the administration pages still ask for it in decimal.
  • Stop on a searched recording ends that playback and the rest of the searched list with it, and one press of LIVE FEED brings the live calls back.
  • An access re-ask is answered with the code the device already kept; the unlock screen returns only when the server turns that code down.

The log and the administration page

  • A long Serving folder value breaks inside its Server card instead of running over the card beside it. discussion #554
  • The page uses the width a wide display gives it — up to a 1400 px cap, the dashboard's cards with it, a paragraph inside a section card held to a readable measure — and gains no sideways scrolling at a phone's width. discussion #554
  • Copy key to clipboard works over a plain HTTP address: the whole key is selected and copied by the browser's own command, and where no copy happens the button says so and leaves the key selected. #561
  • Generate new key and Generate new code write a fresh credential into the field — a key in the form a version-4 UUID takes, or a 10-character access code over the server's own alphabet — drawn by the page itself, so they work where the browser refuses crypto.randomUUID. Saving the section is what makes it the credential the server accepts. #561

The published container image

  • chuot/rdio-scanner:latest, and each version tag beside it, name one image index over linux/amd64, linux/arm/v7, and linux/arm64, so a host pulls the build for its own architecture. The architecture-named tags are published as before.

Thank you — and please verify what you reported

Beta.1 was tested by far more people than I could, and almost every fix in this build began with one of you writing
down what you saw. Thank you for the reports, the log excerpts, the screenshots, and the patience with a beta. Each of
the following is fixed here, and I would be glad if you could pull this build, try the thing that was broken for you,
and close your issue when it no longer reproduces.

  • @dseven — thank you for #561, and for naming
    crypto.randomUUID in the title: that one line pointed straight at the cause. Generate new key,
    Generate new code, and copying a key over the plain HTTP port are all in this build.
  • @MrJordanRoth — thank you for discussion #554 and for
    showing what the dashboard looked like on your machine. The Serving folder value now stays inside its card, and the
    administration page uses the width a wide display gives it.
  • @SimonSheehan — thank you for #564. The recording lengths,
    the uploads tried with and without conversion, and the note that nothing appeared in any log are what made an
    otherwise silent defect findable. Please check a new recording: the ones already cut stay cut, because their missing
    bytes were never written to that database.
  • To the reporters of #555,
    #560, #562,
    and #563 — thank you. All four are answered above, and yours is
    the confirmation I cannot produce myself, so a comment from you is what tells me to close them.

If anything still does not behave, please say so on the original issue rather than opening a new one. Your database
engine, your log lines, and how the recordings reach your server are what made these fixable, and one more reading
from you is worth more to me than another guess.

Three fixes need a small step from you before they can be judged: a deployment that upgraded with beta.1 and lost a
watched directory re-enters it with System and Talkgroup left empty, or restores its pre-upgrade backup and
upgrades again; a forwarded call only names its radios once both the sending and the receiving server run this build;
and a MariaDB or MySQL database created by beta.1 spends its first start widening the recording column — that line in
the log means it is working, so please give it the time it needs.

And if this build makes something worse rather than better, tell me: that is exactly what a beta is for.