Update troubleshooting.md

Enhanced how to list users and reset a user's password.
This commit is contained in:
Pyromane 2023-04-10 16:09:57 +02:00 committed by GitHub
parent e0e5fb3d5a
commit 6819b17255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.