mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Updated Adding users (markdown)
parent
8f0f6568f2
commit
4ca487ac0e
1 changed files with 38 additions and 3 deletions
|
|
@ -27,8 +27,43 @@ a) Let them self-register, or open webbrowser incongnito window, and register th
|
||||||
|
|
||||||
b) If your email works, click Admin Panel / Settings / Registration / [X] Disable self-registration. Then invite new users to selected boards by email address.
|
b) If your email works, click Admin Panel / Settings / Registration / [X] Disable self-registration. Then invite new users to selected boards by email address.
|
||||||
|
|
||||||
8) Forgot your Wekan password?
|
## Forgot your Wekan password?
|
||||||
|
|
||||||
a) If someone else remembers their password, you can [make them admin in MongoDB database] so they can change your password in Admin Panel.
|
1) Download [Robo 3T](https://robomongo.org) on your Linux or Mac computer. Or, using ssh shell to server, [login to MongoDB database using mongo cli](https://github.com/wekan/wekan/wiki/Backup#mongodb-shell-on-wekan-snap)
|
||||||
|
|
||||||
|
2) Make SSH tunnel to your server, from your local port 9000 (or any other) to server MongoDB port 27019:
|
||||||
|
```
|
||||||
|
ssh -L 9000:localhost:27019 user@example.com
|
||||||
|
```
|
||||||
|
3) Open Robo 3T, create new connection: Name, address: localhost : 9000
|
||||||
|
|
||||||
|
a) If you don't have self-registration disabled, register new account at /sign-up, and [make yourself admin in MongoDB database].
|
||||||
|
|
||||||
|
b) If someone else remembers their password, and his/her login works, copy their bcrypt hashed password to your password using Robo 3T.
|
||||||
|
|
||||||
|
c) Install Wekan elsewhere, create new user, copy bcrypt hashed password to your password.
|
||||||
|
|
||||||
|
d) Backup, New install, Create User, Copy Password, Restore:
|
||||||
|
|
||||||
|
1. [Backup Snap](https://github.com/wekan/wekan-snap/wiki/Backup-and-restore)
|
||||||
|
2. stop wekan `sudo snap stop wekan.wekan`
|
||||||
|
3a. Empty database by droppping wekan database in Mongo 3T
|
||||||
|
3b. Empty database in [mongo cli](mongo cli](https://github.com/wekan/wekan/wiki/Backup#mongodb-shell-on-wekan-snap):
|
||||||
|
```
|
||||||
|
mongo --port 27019
|
||||||
|
# look what databases there are
|
||||||
|
show dbs
|
||||||
|
# probably database is called wekan, so use it
|
||||||
|
use wekan
|
||||||
|
# delete database
|
||||||
|
db.dropDatabase()
|
||||||
|
```
|
||||||
|
4. Start wekan:
|
||||||
|
```
|
||||||
|
sudo snap stop wekan.wekan
|
||||||
|
```
|
||||||
|
5. Register at /sign-up
|
||||||
|
6. Copy bcrypt hashed password to text editor
|
||||||
|
7. [Restore your backup](https://github.com/wekan/wekan-snap/wiki/Backup-and-restore)
|
||||||
|
8. Change to database your new bcrypt password.
|
||||||
|
|
||||||
b) You can backup
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue