KanBoard: Unterschied zwischen den Versionen

Aus robopagex.com
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „ #Login to Shell $ docker exec -it ee29a28a0478 /bin/sh $ php -a Interactive shell php > echo password_hash('admin', PASSWORD_DEFAULT); $2y$10$i1VwOewr1…“)
 
Zeile 1: Zeile 1:
 +
Lost Amdin-Password
 
  #Login to Shell
 
  #Login to Shell
 
  $ docker exec -it ee29a28a0478 /bin/sh
 
  $ docker exec -it ee29a28a0478 /bin/sh

Version vom 25. März 2022, 14:19 Uhr

Lost Amdin-Password
#Login to Shell
$ docker exec -it ee29a28a0478 /bin/sh
$ php -a
Interactive shell
php > echo password_hash('admin', PASSWORD_DEFAULT);
$2y$10$i1VwOewr1H8NGHisJutM/eFkudRoFjWE2PaTIbEUsphDcbZXgsyG6
UPDATE users SET password='replace_me' WHERE username='admin';

You can dump the database to a text file of sql commands like this: 
sqlite3 db.sqlite .dump > kanboard.dump.sql
Another option is to create a backup in sqlite format: 
sqlite3 db.sqlite ".backup kanboard.backup.sqlite"