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

New user not created #23

Open
mstyp opened this issue Jul 17, 2022 · 2 comments
Open

New user not created #23

mstyp opened this issue Jul 17, 2022 · 2 comments

Comments

@mstyp
Copy link

mstyp commented Jul 17, 2022

Describe the bug

When I install the app through the webadmin or through the CLI, the app installs with no errors, and in the logs it shows:

TIME REDACTED: DEBUG - + php7.4 artisan ninja:create-account --email [email protected] --password ********** --no-interaction --verbose
TIME REDACTED: DEBUG - TIME REDACTED Create Single Account...
TIME REDACTED: DEBUG - + php7.4 artisan optimize --no-interaction --verbose
TIME REDACTED: DEBUG - Configuration cache cleared!
TIME REDACTED: DEBUG - Configuration cached successfully!
TIME REDACTED: DEBUG - Route cache cleared!
TIME REDACTED: DEBUG - Routes cached successfully!
TIME REDACTED: DEBUG - Files cached successfully!
TIME REDACTED: DEBUG - + php7.4 artisan view:clear

When I try to login to the place though, first the page is blank. I have to manual add a /client to the end of the url to get to the login page. unsure if related.

Then when I try to login with the credentials I set during the install, the login always fails. If I attempt to reset my password with the email I used (the exact same email that printed in the logs when setting up the application) it spits out a " We can't find a user with that e-mail address." error.

I've tried with with both deb 10 and deb 11 yunohost servers, same error on both.

Context

  • Hardware: Old laptop or computer
  • YunoHost version: 11.0.7 and 4.3.6.3
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yes
    • all of my apps run on derpderp.local domains, which are only accessibile via a lan. Email also only works sending to itself (IE, can only send email to myself, or to other users on same instence)
  • Using, or trying to install package version/branch: Main

Steps to reproduce

  1. Install app
  2. set user password
  3. attempt to login, password fails
  4. attempt to reset password, user does not exsis

Expected behavior

user should be created

Logs

No errors appear in the logs. redacting the logs will take a significant amount of time and effort, but if there are specific lines I should be looking for / pasting here that I can do

@rndmh3ro
Copy link
Collaborator

When I try to login to the place though, first the page is blank. I have to manual add a /client to the end of the url to get to the login page. unsure if related.

The client-page is not for your login but for the login of your customers/clients so it should be normal that the login there does not work and no user is found when trying to recover the password.

So the problem is that the first page is blank. Can you check under /var/www/invoiceninja5/storage/logs/laravel.log for errors?

@mstyp
Copy link
Author

mstyp commented Jul 18, 2022

ah, that makes sense.

So the problem is that the first page is blank. Can you check under /var/www/invoiceninja5/storage/logs/laravel.log for errors?

No errors. and to be clear, the page is not quite blank white, more like an empty beige. I see the spinner briefly then it dissapears, but nothing else except the yunohost logo thing at the bottom right.

Screenshot

cat /var/www/invoiceninja5/storage/logs/laravel.log shows:

[DATE REDACTED] production.INFO: updating currencies  
[DATE REDACTED] production.INFO: Performing Autobilling DATE REDACTED

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

No branches or pull requests

2 participants