Please do not post questions in the shout-box as it will be lost in a few days. Open your own topic in the appropriate section. Thank you.

Upgrade to v.3.2.0

Started by Emmanuel SV1BTL, Apr 28, 2026, 09:09 PM

Previous topic - Next topic

Emmanuel SV1BTL

The newer v.3.2.0 is uploaded: https://github.com/sv1btl/PhantomSDR-Plus/tree/main

As usually you can either download and replace the newer files, or rebuild from scratch.
The main changes are in Backend and Frontend, so you need both recompile and restart.

New in v. 3.2.0

  •     Users list in real time with Geo location, tuned frequency, start connected time, total time connected.
  •     Statistic data about visitors, most visited bands and frequencies, hourly visitors data, long term statistics,
  •     Minor cosmetic changes in GUI,
  •     New AGC approach,
  •     New colored spectrum, with waterfall colour scale,
  •     CTCSS is now working, tracing subtones and opening the mute when a signal with subtone is received.
  •     Total bugs clean for server's stability.


We offer more features:


  •     New install.sh procedure, that simplifies initial setup,
  •     recompile.sh script for fast and simply recostruction of either backend and/or frontend,
  •     Futuristic Design, Admin Panel added
  •     CATsync with the application CATsync Tool for WebSDRs
  •     Admin Panel, password protected, for remote controlling the server without SSH access.
  •     Decoders, FT8, FT4, CW, WSPR, HF FAX, SSTV, NAVTEX, FSK/RTTY, FreeDV RADE V1 (please refer here: Decoders & C-QUAM AM Stereo (best working whem Opus audio_compression is used)
  •     Band Plan in the Waterfall, definition for different brigthness, start frequency and visibility for each band,
  •     Better Custom Colorsmap,
  •     Optimized Flac and Opus encoder with balanced latency, both working in 16 bit, Dynamic Range 96 dB ⭐
  •     New approach in functions as reduced Latency, Noise Reduction, Noise Cancel & Noise Blanker, Synchronous AM by default, AGC selection, Auto SQL, Buffer adjustments, Auto Adjust waterfall, Mouse wheel use, Keyboard shortcuts, Zoom slider, enhanced Mobile GUI, selectable Noise Gate with presets, Precise tuning with mouse and frequency index in the waterfall with mouse,
  •     New Bookmarks design with on screen labels and download/upload function,
  •     4 different GUI templates, that can be selected using a popup float menu,
  •     Optional monitor tool that adds real-time server monitoring to your PhantomSDR application.
  •     On screen audio spectrogram.
  •     Users list in real time with Geo location
  •     Increased server's stability.
  •     WebSDR List (https://sdr-list.xyz, http://list.phantomsdr.fun, http://list.novasdr.fun/),
  •     Supported receivers RX-888, RTL V.4, Airspy Discovery, HackRF, SDRPLAY RSP1A (original and clone) via Soapy and many more to be added,
  •     More to come!...

P.S. With the precious help of Paul PE1LXX, now PhantomSDR+ v.3.2.0 can be registered in WebSDR.org map.
The only thing to do is to update your working .toml with this information.

# In case you want to register to websdr.org, please fill with your data and restart the server

[websdr.org]
enabled     = true
public_host = "yourIP"
public_port = port
qth         = "QTH Locator"
description = "CallSign PhantomSDR+"
email       = "mail@domain.com"
logo        = "logo.jpg" #located in frontend/public. Use the same or change it

Please report any bugs!

Emmanuel SV1BTL

#1
The modification to register to websdr.org is done by Paul PE1LXX late night, some hours after uploading the newer version, so if someone has already downloaded the repo and installed it, please copy and paste src folder and recompile backend. Then follow the changes in .toml as described above and restart the server.

9a7aof

#2
QuotePlease report any bugs!

I have this bug in v3.2.0 install.sh:
Building rx888_stream...
./install.sh: redak 34: RUSTFLAGS=-C target-cpu=native: naredba nije pronađena
❌ Fatal: Command failed: RUSTFLAGS=-C target-cpu=native cargo build --release
This is a clean install.

When I compile with install.sh script from v3.1.1, S-meter is missing (analog and digital).

Compilation for RSP1A work fine, all is OK.

73!
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

Install.sh has not been changed!....
Can you please retry clean install after switching off and on your pc and then try to see the USB with "lsusb" command? This seems to be a connecting RX-888 problem and a simple switch off/on maybe will resolve it.

9a7aof

#4
QuoteCompilation for RSP1A work fine, all is OK

Compilation is ok, the website layout is not exactly the same,
there is no frequency, no S meter, neither analog nor digital.

Firefox or Chrome, it makes no difference.

QuoteInstall.sh has not been changed!....
Can you please retry clean install after switching off and on your pc and then try to see the USB with "lsusb" command? This seems to be a connecting RX-888 problem and a simple switch off/on maybe will resolve it.

After reboot, I see this vith lsusb command:
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04b4:00f3 Cypress Semiconductor Corp. FX3 micro-controller (DFU mode)
Bus 001 Device 003: ID 0573:1573 Zoran Co. Personal Media Division (Nogatech) USB Audio and HID
Bus 001 Device 004: ID 0bda:b85b Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0626 Genesys Logic, Inc. Hub

Clean installation, freshly downloaded from github.com, the result is this: Cloning rx888_stream...
Kloniranje u 'rx888_stream'...
remote: Enumerating objects: 152, done.
remote: Counting objects: 100% (41/41), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 152 (delta 35), reused 33 (delta 33), pack-reused 111 (from 1)
Primanje objekata: 100% (152/152), 153.95 KiB | 1.33 MiB/s, završeno.
Razrješavanja delta: 100% (76/76), završeno.
Building rx888_stream...
./install.sh: redak 34: RUSTFLAGS=-C target-cpu=native: naredba nije pronađena
❌ Fatal: Command failed: RUSTFLAGS=-C target-cpu=native cargo build --release
darko@minipc:~/PhantomSDR-Plus$

I go back to v3.1.1  :)

73!
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

Ok, there is a bug installing RX-888!
Can you please try this install.sh and let me know!

9a7aof

QuoteCan you please try this install.sh and let me know!

New install.sh work fine.
 
After starting, no frequency, no S meter.
I'm going back to v3.1.1 again  ;D

73!
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

Tried a lot to reproduce your problem Darko, but not success. Clean install to my test server, at least 2-3 times. Every time no problem with install (with the corrected install.sh), and the server starts always.
Have you tried to reload your server after the first running? A simple refresh to the webpage, nothing else!
Well, the repo has now the new repo, all clean, without the older files. Maybe something I've messed writing the newer files over the older ones. Please retry.

9a7aof

#8
QuoteWell, the repo has now the new repo, all clean, without the older files. Maybe something I've messed writing the newer files over the older ones. Please retry.

Today I did a clean install again on both the test (RSP1A) and the public server (RX888MK2).

On the test server there is no frequency or S meter, it shows that the Spectrum slider is on even though it is not, parts of the server are of different widths...

On the public server after the first start I got a normal image in Chrome on two computers, on Firefox the same phenomen as on the test server, everything scattered, no frequency or S meter, unusable.

I entered my local network at home via VPN, tried to connect to the public server, in both Chrome and Firefox the same problem, no S meter, no frequency, parts of the PhantomSDR-Plus are of different widths, the Spectrum slider is on, no spectrum above the waterfall..

I did not edit anything, all scripts are original. I will leave the public server at v3.2.0 today.

73!

PS:
Restarting v3.2.0 via systemd scripts takes a very long time, sometimes I have to kill the spectrumserver process manually as root. I never had this problem with the previous version.
When I tried to switch from the correct analog to digital S-meter, the same error appeared, no frequency, no S-meter, the PhantomSDR-Plus sections are of different widths, the Spectrum slider is on and there is no spectrum above the waterfall...

Darko, 9a7aof
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

What a pity Darko. I cannot think something that it could help you.
The newer version is now on:
http://lu5dnpwebsdr.sytes.net:8901/
http://hamradio.sv2yj.live:9002/
and me http://phantomsdr.no-ip.org:8900/
Soon it will be installed and on the other two servers here in Greece, and we'll see if there will be some kind of problems.

Do you want me to send you the zip of v.3.1.1 or you already have a backup?

P.S. Can you please send me your .toml file?

9a7aof

#10
QuoteWhat a pity Darko. I cannot think something that it could help you.

My servers are on Ubuntu 24.0.4. I'll try to install v3.2.0 on Debian 13 (Trixie) today. I have Ubuntu servers, maybe I have something that interferes with the normal operation of v3.2.0.

Everything is fine, we are testing.  :)

QuoteDo you want me to send you the zip of v.3.1.1
.
I have only compiled backup v3.1.1, please send me zip. Thanks!

QuoteCan you please send me your .toml file?

My config-rx888mk2.toml:
[server]
port=8905 # Server port
html_root="frontend/dist/" # HTML files to be hosted
otherusers=1 # Send where other users are listening, 0 to disable
#threads=2
#threads=8 #2
#threads=8 #4 #2

[websdr]
register_online=true  #false # If the SDR should be registered on https://sdr-list.xyz then put it to true
register_urls=[
  "https://sdr-list.xyz/api/update_websdr",
  "http://list.novasdr.fun/api/update_websdr"] # One or more directory endpoints that accept the same JSON payload
name="9A7AOF PhantomSDR+" # Name that is shown on https://sdr-list.xyz
antenna="Active Loop" # Antenna that is shown on https://sdr-list.xyz
grid_locator="JN86da" # 4 or 6 length Grid Locatlr shown on https://sdr-list.xyz and for the Distance of FT8 Signals
hostname="http://9a7aof.ddns.net" # If you use ddns or something to host with a domain enter it here for https://sdr-list.xyz

[limits]
audio=100
waterfall=100
events=100

[input]
sps=60000000 # Input Sample Rate
#fft_size=1048576
#fft_size=2097152
fft_size=4194304 # FFT bins for spectral analysis (very large for ultra-high sample rates)
#fft_size=8388608
#fft_size=16777216
#fft_threads=12 #16 #12 #8 #2
brightness_offset=-2 # Waterfall brightness offset. Reduce to negative if you see black regions in the waterfall
frequency=0 # Baseband frequency
signal="real" # real or iq
accelerator="opencl" #"none" # Accelerator: none, cuda, opencl, mkl
audio_sps=12000 # Audio Sample Rate
audio_compression="flac" # flac or opus
waterfall_size=1024 #2048
waterfall_compression="zstd" # zstd or av1
#smeter_offset=4
smeter_offset=5 # digital-only S-meter offset
analog_smeter_offset=5 # analog-only S-meter offset


[input.driver]
name="stdin" # Driver name
format="s16" # Sample format: u8, s8, u16, s16, u32, s32, f32, f64

[input.defaults]
frequency=3675000 # Default frequency to show user
modulation="LSB" # Default modulation

73!
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

#11
Well, it is maybe a good idea to include in the github all the previous versions in .zip, free to anyone that he wants to experiment.
As I can see there is no way to upload the file here, so I am going to do this.

So, now you can find all versions here:
https://github.com/sv1btl/PhantomSDR-Plus/tree/main/archives

Emmanuel SV1BTL

Tried to fix the problems Darko has mentioned, I've doubled checked all the backend files. AI has found some issues, fixed and all new uploaded again.
I hope there will be not any problems now with any OS....

9a7aof

#13
QuoteTried to fix the problems Darko has mentioned, I've doubled checked all the backend files. AI has found some issues, fixed and all new uploaded again.
I hope there will be not any problems now with any OS....

It works fine on Debian 13 (Trixie) and Ubuntu 24.0.4 now. Thanks to the development team for the quick and successful fix.  :)

There is a small problem when I want to stop websdr via systemd, it takes maybe 20 seconds:

root@minipc:/home/darko/PhantomSDR-Plus# service websdr status
● websdr.service - PhantomSDRPlus WebSDR
     Loaded: loaded (/etc/systemd/system/websdr.service; disabled; preset: enabled)
     Active: deactivating (final-sigterm) since Fri 2026-05-01 07:40:16 CEST; 1min 24s ago
    Process: 349780 ExecStart=/home/darko/PhantomSDR-Plus/start-websdr.sh (code=killed, signal=TERM)
   Main PID: 349780 (code=killed, signal=TERM)
      Tasks: 5 (limit: 18771)
     Memory: 311.6M (peak: 320.3M)
        CPU: 11min 13.474s
     CGroup: /system.slice/websdr.service
             └─349784 build/spectrumserver --config config-rx888mk2.toml

svi 01 07:34:26 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:27 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:28 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:29 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:30 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:31 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:32 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:33 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:34:34 minipc start-websdr.sh[349784]: write_users_json: cannot open frontend/dist/users.json.tmp
svi 01 07:40:16 minipc systemd[1]: Stopping websdr.service - PhantomSDRPlus WebSDR...
root@minipc:/home/darko/PhantomSDR-Plus# ps aux | grep spectrumserver
root      400661  0.0  0.0   9580  2404 pts/2    S+   07:41   0:00 grep --color=auto spectrumserver
root@minipc:/home/darko/PhantomSDR-Plus#
That slows down the reboot for those 20 seconds, of course.
Not a big problem, I expect the server to restart as rarely as possible.  ;)

73!
I'm not a programmer, just a happy Linux user since 1996, my first Linux came on 4 floppy disks, that's when I fell in love with Linux.  ;D

Emmanuel SV1BTL

#14
Very good Darko, I'm very glad to read it!
Maybe the problem with users is the fact that you are behind a VPN. Can you please try this file in backend to see if it could solve the problem? If not, may I have some details about your VPN?
Don't forget to recompile backend and restart server.

Powered by EzPortal