Updated LNbits Extensions (markdown)

arbadacarba 2023-07-31 23:03:29 +02:00
parent 91bebd66d4
commit c4a19d9fb0

@ -15,8 +15,8 @@ To understand the differences between the SuperUser, Admin-Users and plain Pleb
The LNbits Admin UI lets you change LNbits settings via the LNbits frontend. It is disabled/not in the config 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. Since the .env is a systemfile you need to extend the normal listing view to ```ls -a``` and then open it with ```sudo nano lnbits.env``` (or whatever it is called in your implementation, see ff).
On Raspi youll find the file in /home/lnbits/lnbits and open it there with ```sudo nano .env```. Safe, quit and restart.
Then the file .superuser will be generated within the same directory. Open it and copy the id in there.
On Raspi youll find the file in /home/lnbits/lnbits and open it there with ```sudo nano .env```. Save, quit and restart LNbits with ```sudo systemctl restart lnbits```.
After this the file .superuser will be generated within the same directory. Open it and copy the id in there.
You then need to put it right https://www.yourdomain.com/usr=<**here**>
On **MyNode** you can activated the Admin-UI within /mnt/hdd/mynode/lnbits/