Updated LNbits Extensions (markdown)

arbadacarba 2023-05-18 21:15:56 +02:00
parent 07111630d5
commit f634fb2e34

@ -14,11 +14,11 @@ To make use of all this we introduced a SuperUser, Admin-Users and plain Pleb ac
## Install Extensions
The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. It is disabled by default and the first time you set the enviroment variable ```LNBITS_ADMIN_UI=true``` in the .env the settings are initialized and saved to the database and will be used (as long the UI is enabled). You will find the .env file within your lnbits/ or lnbits/apps/data folder by extending the command to list files in your directory with ```ls -a``` then open it with ```sudo nano lnbits.env```or whatever it is called in your implementation.
The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. It is disabled by default and the first time you set the enviroment variable ```LNBITS_ADMIN_UI=true``` in the .env the settings are initialized and saved to the database and will be used (as long the UI is enabled). You will find the .env file within your lnbits/ or lnbits/apps/data folder by extending the command to list files in your directory with ```ls -a``` (only ls is not enough to see systemfiles!) then open it with ```sudo nano lnbits.env```or whatever it is called in your implementation.
On Citadel/Umbrel it is called docker-compose.yml.
On MyNode after you activated the Admin-UI you should be able to see your superuser-id in the logs at this url http://mynode.local/status or find it in your lnbits directory mentioned above. If start up messages have scrolled off, use http://mynode.local/apps and restart LNbits with ```sudo systemctl restart lnbits``` and you should be able to see what's happening in the log.
On MyNode after you activated the Admin-UI (in your case its in /mnt/hdd/mynode/lnbits/) you should be able to see your superuser-id in the logs at this url http://mynode.local/status or find it in your lnbits directory mentioned above. If start up messages have scrolled off, use http://mynode.local/apps and restart LNbits with ```sudo systemctl restart lnbits``` and you should be able to see what's happening in the log.
From there on the settings from the database instead those of the .env file are used. If you want to return to those settings you can just set ```LNBITS_ADMIN_UI=false``` and restart LNbits to take the .env again.
On restart of LNbits you will find the link to the superuser-AdminUI in your terminal. Save if good and never share it.