-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue during admin account password update #10
Comments
Based on the limited data provided, it's challenging to fully understand the issue without more context. |
Hello, Please found the detail below of the database migration. Thx for your help gestion@test:~$ sudo bash You have requested to collect static files at the destination
This will DELETE ALL FILES in this location! Type 'yes' to continue, or 'no' to cancel: yes 174 static files copied to '/borgia-app/Borgia/borgia/static/static_root'.
|
Hello, Do you have any idea following my previous post ? Thx by advance |
Not really, are you sure the user exists ? |
Hello, 1/ Please found the select of users table. There is only one user with id =1 borgia=# \d users_user; borgia=# select id, username, first_name, last_name from users_user; 2/ The same command for changing user password with id=1 does not work. (pk=1) (borgiaenv) root@test:/borgia-app/Borgia/borgia# python3 manage.py shell
New idea ? |
Hello, The intial fixture dataload seems to be ko. Only the user with pk=1 is loaded. Thx for you help, if you have an idea :-) root@test:/borgia-app/Borgia/borgia# source /borgia-app/borgiaenv/bin/activate postgres=# \c borgia (borgiaenv) root@test:/borgia-app/Borgia/borgia# cat ./users/fixtures/initial.json
] |
Can you please fix the format of your answer ? it is really hard to read |
Hello In one word, only the user with id=1 (pk=1) is created with initial.json despite multiple users defined. Thx by advance |
Hi, Can you redo the full dev installation guide, then go in the shell and do the following :
(and hit enter) This is definitively an issue with the way the initial data is added. I've redone the guide this morning and everything works for me so far. You should have |
Hello, At date, I've performed only the Prod installation. I've check the python command without success. Thx for your help (borgiaenv) root@test:/borgia-app/Borgia/borgia# python3 manage.py shell
|
Hello
I've created this new issue for this case.
(borgiaenv) @.***:/borgia-app/Borgia/borgia#
(borgiaenv) @.***:/borgia-app/Borgia/borgia# python3 manage.py shell
Python 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
File "", line 1, in
File "/borgia-app/borgiaenv/lib/python3.10/site-packages/django/db/models/manager.py", line 82, in manager_method
File "/borgia-app/borgiaenv/lib/python3.10/site-packages/django/db/models/query.py", line 397, in get
users.models.User.DoesNotExist: User matching query does not exist.
Thx
Christophe
The text was updated successfully, but these errors were encountered: