From a4e19196a7b4d6464aea0f666d4320896397f584 Mon Sep 17 00:00:00 2001 From: Pyromane Date: Tue, 11 Apr 2023 12:11:08 +0200 Subject: [PATCH] Update troubleshooting.md (#264) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update troubleshooting.md Enhanced how to list users and reset a user's password. * Update troubleshooting.md --------- Co-authored-by: Jan Böhmer --- docs/troubleshooting.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 6c43dae0..9441d9b9 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -22,6 +22,11 @@ php bin/console doctrine:migrations:migrate If this does not help, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony). +## Search for user and reset password: +You can list all users with the following command: `php bin/console partdb:users:list` +To reset the password of a user you can use the following command: `php bin/console partdb:users:set-password [username]` + + ## Error logs Detailed error logs can be found in the `var/log` directory. When Part-DB is installed directly, the errors are written to the `var/log/prod.log` file. @@ -35,4 +40,4 @@ docker-compose logs -f Please include the error logs in your issue on GitHub, if you open an issue. ## Report Issue -If an error occurs, or you found a bug, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony). \ No newline at end of file +If an error occurs, or you found a bug, please [open an issue on GitHub](https://github.com/Part-DB/Part-DB-symfony).