Skip to content

Java 17 Required, Java 21 for solarthing-server

Compare
Choose a tag to compare
@retrodaredevil retrodaredevil released this 13 Dec 00:29
· 7 commits to master since this release
8cf4593

This release is the 2025.1.0 release, as I want to be able to do patch version bumps in 2025 for 2025.1.X if necessary. This release has very few changes since v2023.4.1, other than the version bump. However, the fact that I have upgraded the required Java version means you should see if this update affects you:

Does this change affect me?

  • YES - If you are using a Raspberry Pi 1 or Raspberry Pi Zero
    • These Raspberry Pi models are no longer supported because these use armv6 processors, and it has been difficult to get a modern Java version working on these processors for a long time
  • NO - If you are using a Docker Install
    • The Java version upgrade is handled automatically, and no changes are necessary
  • YES - If you have a native install and do not currently have Java 17 installed
    • You will need to install Java 17 or Java 21 (Java 21 is required if you are running SolarThing Server)
    • Installing Java 17 may be difficult on some Linux distributions
    • Installing Java 21 is likely to be very difficult on many Linux distributions including Debian 12 (Bookworm)
  • NO - If you have a native install with Java 21 installed on your system

"I'm on an old native install of SolarThing on a device that is now unsupported"

  • If this is the case, please note that calling git pull could break things in the future. This is unlikely, but one change that has been made to the repository itself is how java is invoked. You may receive warnings if you run git pull and continue to use SolarThing, but as of writing you should be OK for now.

If these changes affect you, please create an issue or comment in our discussion page.


Changes

  • SolarThing Server's home page automatically updates battery voltage (a319278)
  • Removed rpi-cpu-temp (this has been deprecated for a while in favor of cpu-temp)
  • SolarThing CouchDB Setup now puts a validation document in the database to prevent packets with incorrect dates from being uploaded (ccf7500)
  • Modifications to GraphQL queries for added functionality
  • Started on solarthing analyze. Its behavior is currently undocumented and breaking changes may occur. Documentation and stability will be added for this feature in the future.