* Add staticIP config and fix 127.0.0.1
Add possibility of a staticIP config in Raspiblitz.conf to override globalIP and publicIP detection.
Skip dyndns in case of static ip usage
if curl fails accidentaly it could result in the wrong IP. Only prefer if publicIP is empty.
* add FAQ entry
Co-authored-by: rootzoll <christian@geektank.de>
* 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>
* Integrate LNDg to Raspiblitz (#3313)
* cl.hsmtool: fix password display
* add clearnet fallback for tor keys
* fix CLN wallet reset (#3296)
* cln: unify and improve the resetWallet function
previously the old config and channel database could have been left
behind when using SEEDRESTORE and FILERESTORE
* prompt to save the wallet password for backup
* change default branch to v1.8 (#3306)
* Adds install script for LNDg (https://github.com/cryptosharks131/lndg)
Install script creates user lndg and installs LNDg in /home/lndg/lndg,
uses systemd for the backend, and uses nginx and uwsgi for the gui.
Install script will check for tor and enable tor
if "run behind tor" is on.
Updates menu settings for easy access to the script settings
* Creates bonus.lndg.sh script for installing LNDg
Adds LNDg to list of apps in "SERVICES"
Adds LNDg to UPDATES when installed
Adds LNDg to menu when installed
Fixed typos/errors, tested and works!
* LNDg menu install. Added ssl, ssl over tor, and standardized nginx files. Tests Good.
* FAQ.cln: poncho, CLN cheatsheet, extract privkey
* #3286 fix loca IP
* fix#3312
* fix lnbits update options (#3307)
* Integrates LNDg to Raspiblitz
Fixes issues with python and python3 (see comments on PR).
Adds option to keep or delete database on both uninstall and install with existing database.
Fixes issues with python and python3 (see comments on PR).
Adds option to keep or delete database on both uninstall and install with existing database.
Update 00settingsMenuServices.sh
Update info menu for LNDg
Adds username and instructions on how to change username
* Update bonus.lndg.sh
* Install LNDg script
Forces yes on install question
* Update blitz.shutdown.sh
* Update bonus.lndg.sh
* Update bonus.lndg.sh
* Update bonus.lndg.sh
* Update bonus.lndg.sh
Co-authored-by: openoms <oms@tuta.io>
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
Co-authored-by: Dipun Mistry <dipunm@gmail.com>
Co-authored-by: rootzoll <christian@geektank.de>
* added documentation
* #3230 change password B
* #3230 fix to version 1.4.0
Co-authored-by: allyourbankarebelongtous <100060902+allyourbankarebelongtous@users.noreply.github.com>
Co-authored-by: openoms <oms@tuta.io>
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
Co-authored-by: Dipun Mistry <dipunm@gmail.com>
* bos-telegram as service
Add OPTIONS menu for balance of satoshi to setup telegram.
Asks for the connect code and installs service file
* improve first time setup
need to start bos telegram manually once to enter HTTP API token from telegram bot creation
* Rework BoS telegram menu
Improve setup experience
invoke bos telegram command from menu and make service install optional
* add changes
Co-authored-by: rootzoll <christian@geektank.de>
* Add new Service LightningTipBot
A tip bot and Bitcoin Lightning wallet on Telegram based on LNBits
https://github.com/LightningTipBot/LightningTipBot
* mention config file in menu
* Add version in CHANGES
Co-authored-by: /rootzoll <christian@geektank.de>
* Bonus script to install CLN Watchtower client rust-teos ("The Eye of Satoshi") (#3404)
* TEoS watchtower bonus install script
* Add Menu items
* add READ & CHANGES info
* On Purge, delete source and plugin
* Add sys pkg_dependecies
* Cleanup before clone
* Add cl plugins to _provision.sh and Info menu
Co-authored-by: rootzoll <christian@geektank.de>
* adapt info
* Add Watchtower info to menu
Co-authored-by: steepdawn974 <92274076+steepdawn974@users.noreply.github.com>
* cln readd mako, update and testPR checks
* cln update to v22.11
* always use cl.hsmtool.sh unlock
* add git reset --hard to not show as v22.11-modded
* update RECKLESS upgrade message, run unlock after
* one line RECKLESS upgrade message
* add to CHANGES
* cln 22.11 PGPsigner cdecker A26D6D9FE088ED58
Co-authored-by: rootzoll <johndoe@example.com>
Co-authored-by: rootzoll <christian@geektank.de>