Commit Graph

14 Commits

Author SHA1 Message Date
CanbiZ (MickLesk) 64d0becd62 Fix case sensitivity in fetch_and_deploy_gh_release 2026-09-18 07:46:53 +02:00
CanbiZ (MickLesk) 79471a030a Refactor scanopy-install.sh for server setup
Updated installation script to configure Scanopy server and removed daemon configuration section.
2026-09-16 12:20:39 +02:00
MickLesk a9f091f30b scanopy: serve the UI from the binary, drop the source build
Upstream confirmed in scanopy/scanopy#698 that scanopy-server-linux-*
has carried the built UI since v0.17.13, fixtures and service logos
included, served on the same port as the API. The release notes never
said so, which is why we kept building it.

That removes the source tarball, the Rust toolchain and
generate-fixtures, Node with npm ci and npm run build, and
SCANOPY_WEB_EXTERNAL_PATH. With the variable set to a directory that no
longer has an index.html, v0.17.14 and earlier refuse to start, so the
update deletes the line rather than leaving it. build-essential,
libssl-dev and pkg-config go too: the release binary is static-pie with
no INTERP segment, so it has no runtime library dependencies.

/opt/scanopy stays, now only for .env and oidc.toml, and the unit's
WorkingDirectory follows it out of the removed backend directory. Since
nothing wipes that directory any more, the config survives an update on
its own, which is the report upstream passed on of an update coming
back without SCANOPY_WEB_EXTERNAL_PATH and the server starting API-only.

The update keeps the running binary until the new one answers
/api/health and puts it back if it does not, so a bad release leaves a
working server instead of a stopped one.

check_for_gh_release now keys on scanopy-server, matching the version
file the binary deploy writes; the Scanopy key belonged to the tarball
that is gone. Existing containers run one extra update, then agree.
2026-09-16 12:10:59 +02:00
MickLesk 263f8ac12c scanopy: restore generate-fixtures build, ui/src/lib/data is gitignored and incomplete 2026-09-16 12:06:22 +02:00
MickLesk 3f0e40159e scanopy: drop unneeded rust build, use committed UI fixtures 2026-09-16 12:06:22 +02:00
MickLesk 004d1744a7 scanopy: use prebuilt server binary, relax release profile for generate-fixtures 2026-09-16 12:06:21 +02:00
CanbiZ (MickLesk) 1bfcef0c80 scanopy: limit cargo build parallelism to prevent OOM kill (#16623) 2026-08-20 14:28:22 +02:00
Chris cc351a4817 [Fix] Scanopy: Build generate-fixtures (#12686) 2026-03-09 00:00:30 +01:00
Chris 4bd5c7b54b [FIX] Scanopy: ensure Scanopy Daemon update (#11541)
- It wasn't updating due to it having the same name as the server
- Changed it to 'Scanopy Daemon'
- Other small fixes
2026-02-04 20:57:52 +01:00
Chris dd240c4b3c [FIX] Scanopy: remove daemon build (#11444)
* [FIX] Scanopy: remove daemon build

- users are now to just use the UI

* update JSON
2026-02-02 13:59:16 +01:00
Chris 4ea4422042 Scanopy: remove integrated daemon script (#11100) 2026-01-23 21:21:19 +01:00
Slaviša Arežina 90f73d1d24 Remove custom IP fetching (#10954)
Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com>
2026-01-19 16:33:08 +01:00
Tobias c1fe8b91b4 chore: bump copyright to 2026 - happy new year (#10585)
* chore: bump copyright to 2026 - happy new year

* fix

* meilisearch fix source url

* livebook: fix space

* fix source cmd

* fix source cmd
2026-01-06 13:28:12 +01:00
Chris 4b09cb3d00 [REFACTOR]: NetVisor => Scanopy (#10011)
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
2025-12-16 11:52:58 +01:00