YunoHost-Apps / invoiceninja5_ynh

InvoiceNinja5 package for YunoHost
https://www.invoiceninja.org/
GNU General Public License v3.0
12 stars 7 forks source link

New user not created #23

Open mstyp opened 2 years ago

mstyp commented 2 years ago

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 mstyp@derpen.local --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

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 commented 2 years ago

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 commented 2 years ago

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