* build: fix github web-flow PGPpubkeyFingerprint
* git-verify: use extended regular expression to check alternative key
* build: break when external scripts return with error
* git-verify: use extended regular expression to check correctKey
* ci: maximize disk space in gh action
using https://github.com/marketplace/actions/maximize-build-disk-space
* update RPi base image to Debian12 Bookworm in ci
* ci: remove -d headless for rpi
* docs: ready made images for arm64-rpi
* update python deps, add rsyslog, armbian_deps
* hide wget progress in lean build, keep errors
* apt-get instead of apt
* enable ssh
* apt-get everywhere, remove only if present
* use --quiet for wget for cleaner logs
* fix: add --shell /bin/bash to adduser
* joininbox update to v0.8.1 and install fixes
* CLN update to v23.08.1
* bos update to 15.8.14, improve menu
* lnproxy: deactivate in menu and provision
* copy the skeleton files for user used with login
* deprecate loop single install further
do not install in any case
the uninstall option is still used
* deprecate faraday single install further
do not install in any case
the uninstall option is still used
* deprecate pool single install further
do not install in any case
the uninstall option is still used
* bos: minimize changes to script
* only add --bash oprion to users intended for login
* add info to CHANGES
* add sudo to non-privileged scripts
* bos: don't download source
* ci: run apt update before qemu install
* Update build_sdcard.sh
OrangePi5 was not recognized in line ~255; so recognize it by same 'Debian' method, replacing by 'Armbian'
* Update bitcoin.install.sh
Bitcoin Install Fails during build_sdcard.sh due to PGP key download; see https://github.com/raspiblitz/raspiblitz/issues/3753. Comment it by now
* Update bitcoin.install.sh
changed to secure hkps
* Update home.admin/config.scripts/bitcoin.install.sh
These comments are not needed here. The sole purpose was to describe the move to a PR.
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
* Update build_sdcard.sh
Modified the request by OpenOMS where the comments are unnecessary and kept Debian as the first option and moved Armbian down the list as an elif.
---------
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
* simplify logrotate and force hard size limit
* default log rotation in build sd card & 100M limit
* changing to size limit for tor logs
* changing to size limit for CLN logs
* force a log rotate on every boot
* ci: use uefi for amd64 image, debian 12.1.0
* build: add amd64 legacyboot image action
* ci: store var values in config, update readme
* fix: add raspi repo on aarch64 only
fixes: https://github.com/raspiblitz/raspiblitz/issues/4029
* docs: guide to extend the root partition
* add lndg update info
* mark v1.10.0rc1 version
* Thunderhub v0.13.19
* changing default repo to raspiblitz org
* LNbits 0.10.9
* lnbits dont delete user on "off"
* BTCPayServer 1.10.3
* switch default branch to v1.10
* ci: update images, add arm64-rpi-debian12 build
* ci: add apt update and concurrency
* fix: use netcat-openbsd in build
* ci: add concurrency to all jobs
* fix: simplify image check and add python 3.11
* ci: update amd64 base image to Debian 12.0.0
* build: separate apt_installs
* add btrfs-progs only if not bookworm on aarch64
* build: remove armbian, add aarch64 debian
---------
Co-authored-by: /rootzoll <christian@geektank.de>
* add export build parameter
* Install WebAPI with build_sdcard.sh defaults
* change use of build_sdcard
* make webui work with DEFAULTS
* use web data
* update docs
* add amd64 image build with lean and fatpack option
* use the pi user for setup
* add notes to ci readme
* add gnome desktop to fatpack image, reduce to 30GB
* documentation updates
* install gnome with --force-yes
* install gnome desktop non-interactively
* change links to rootzoll dev
* pass user and branch to build_sdcard.sh from PR
* add user and branch to Makefile
* Add arm64 rpi image build (#74)
ci:
* add arm64-rpi image build
* rename to raspiblitz-amd64-debian-11.5-lean/fatpack
* use rm -f to not exit with error
* place amd64 images under ci/amd64/builds/
* make /dev/shm world writable for fatpack
* fix vlc remove and --var syntax
* remove sudo-s
* leave update and upgrade to the build_sdcard.sh
* increase image size to 16GB, rename build dir
build_sdcard.sh:
* detect raspios_arm64 with raspi.list
* switch ssmtp to msmtp
related: https://github.com/rootzoll/raspiblitz/pull/2232
Co-authored-by: rootzoll <johndoe@example.com>
* i2pd: unified install from repo, /usr/sbin to PATH
related: #2413, fixes amd64 build
* update CHANGES.md
* fix amd64 path in Makefile
* use only qemu image, run on ubuntu-22.04
* use file_checksum for the arm64-rpi base image
* Fix the local arm64-rpi image generation (#75)
* add selfrun script
* ubuntu: add universe repo and qemu-user-static
* test on ubuntu live (jammy)
* build from branches: [ "dev", "v1.8", "v1.9" ]
* correct Makefile paths for the local run
* make the local run non-interactive
* improve readme and Makefile
* increase disk image sizes to 32GB
* set image sizes to 30 GB for amd64 and arm64-rpi
* add network-manager for amd64
* add to readme
* skip Code&Compile for VM builds
* add to readme
* amd64 base image update to debian 11.6.0
* remove debian version from filenames
* skip Code&Compile for amd64 builds
* Merge branch 'dev' into add-amd64-image-build
* amd64: increase cpu and RAM, compile mempool last
* trigger workflows only on scripts used or called
* Update ci/arm64-rpi/packer.build.arm64-rpi.sh
Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
* arm64 remove setup-qemu-action, leave npm last
* set only manual trigger for fatpack, edit triggers
Co-authored-by: rootzoll <johndoe@example.com>
Co-authored-by: Daniel Bast <2790401+dbast@users.noreply.github.com>
* fix missing dependencies
* LNBits SQLite to PostgreSQL migration (#3411)
* LNBits SQLite to PostgreSQL migration
New installations with PostgreSQL configuration, existent data with SQLite.
convert script needs a full start of LNBits prior migrating the old sqlite db's.
User can migrate from raspiblitz menu.
* only fix postgres if it needs to
check for symbolik link of postgres default directory or desired postgres folder
btcpayserver and lnbits could use postgresql
new script to install or uninstall postgresql
* fix typos
* silent apt remove
* fix removed function postgresConfig
call bonus.postgresql.sh to setup PostgreSQL
* Support outdated installation
old installations should upgrade to new tag first
create new data directory /mnt/hdd/app-data/LNBits/data
* Improve migration
Make it a bit more user friendly and prepare for a worst case to revert the migration if something fails unexpectedly
make use of sync method for preparation
* Rework migration workflow
Cant wait for lnbits to start when ExecStartPre is used.
We need a full start of lnbits prior migration, so make use of lsof to check for ports and wait.
dont forget to start postgres service after installation. dont forget to stop postgres after uninstall
* Dont overwrite the backup file
if we start migrate again, the sqlite backup should not be overwritten with postgres data. Keep the backup file.
* add migrate message to menu
add the hint to revert migration manually after migrate script executed
* fix install and data directory
lnbits always needs a data directory
* clean up lnbits settings for migration
even if postgresql is already running, we can extract sqlite backup and start migrate
remove migrateMsg duplicate
* preserve database for reflash
drop database only for migrate, not for regular installations
* set blitz config for LNBits
fix drop database only for migrate, not for regular installations
* Add confirmation dialog and automatic revert
User needs to confirm the process, this will eliminate missclicks
add a migrate revert function to automatically revert if something unexpected happens
let the user call the function manually
* check conv.py on success or revert
if the conversion script fails, revert automatically
* Improve revert message
Do not print the revert hint message if current database is SQLite
* fix read config LNBitsDB
* fix unpack backup
Folder LNBits should never block the restore of backup. Happened after multiple migrations and revert.
* Wait for lnbits v0.9.5
Set commit version with fix for postgresql database and BIGINT for amounts for migrate
Can be set to v0.9.5 tag or above later
* improve migrate backup handling
revert to the current backup and not to the previous backup.
No need for the failed folder state
user message with backup file path
* check psql version once
* supress expected errors
if database exists
Co-authored-by: /rootzoll <christian@geektank.de>
* fix error output on status
Co-authored-by: ChuckNorrison <2964146+ChuckNorrison@users.noreply.github.com>