Skip to content
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

[IP-968] Sometimes a user isn't created, add more logging to see what's going on #969

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

nielsdrost7
Copy link
Contributor

@nielsdrost7 nielsdrost7 commented Aug 5, 2023

Description

Sometimes a user isn't created during installation process. At this time all we can do is add logging.
I've also added a check whether there are 0 users in the database after the 'create_user' step.

If 0 users, redirect to 'create_user step'

Related Issue

addresses #968

Motivation and Context

It's a pain to add user manually after setup is complete:

  1. Open ip_users table
  2. Add user manually plus set password in a certain way.
  3. These steps were discussed on the forums: https://community.invoiceplane.com

Pull Request Checklist

  • My code follows the code formatting guidelines.
  • I have an issue ID for this pull request.
  • I selected the corresponding branch.
  • I have rebased my changes on top of the corresponding branch.

Issue Type (Please check one or more)

  • Bugfix

@nielsdrost7 nielsdrost7 linked an issue Aug 5, 2023 that may be closed by this pull request
@nielsdrost7 nielsdrost7 marked this pull request as draft August 5, 2023 11:21
@nielsdrost7 nielsdrost7 changed the title #968: Sometimes a user isn't created, add more logging to see what's going on [IP-968]: Sometimes a user isn't created, add more logging to see what's going on Aug 5, 2023
@nielsdrost7 nielsdrost7 changed the title [IP-968]: Sometimes a user isn't created, add more logging to see what's going on [IP-968] Sometimes a user isn't created, add more logging to see what's going on Aug 5, 2023
@nielsdrost7 nielsdrost7 marked this pull request as ready for review August 12, 2023 10:30
@nielsdrost7 nielsdrost7 merged commit 60dbaeb into development Aug 12, 2023
1 check passed
@nielsdrost7 nielsdrost7 deleted the bugfix/IP-968-user-isnt-created branch March 10, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

During installation a user (sometimes) isn't created
1 participant