BerlusGmbH / Berlussimo

Hausverwaltung Software
GNU Affero General Public License v3.0
18 stars 23 forks source link

LogIn not possible #77

Closed TheAkki closed 3 years ago

TheAkki commented 3 years ago

I'm nearly happy. After some tries i have a version running with kubuntu 20.04. I will send a commit next time.

Now, i want to log in with given user name and password. But nothing happen. How can i check what's going wrong. I had tried:

Press on "Reset password": a empty gray page is opening.

Some ideas? Thx.

TheAkki commented 3 years ago

I have found in the laravel log `[2020-07-28 23:51:28] production.ERROR: PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/berlussimo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace:

0 /var/www/berlussimo/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct()

... After searching i had found, that is neccessary to adjust the file config/database.php. You can not use local host. You had to use 127.0.0.1 'host' => env('DB_HOST', '127.0.0.1'),`

The next state state is: `[2020-07-29 19:10:41] production.ERROR: ErrorException: compact(): Undefined variable: operator in /var/www/berlussimo/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1229 Stack trace:

0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()

1 /var/www/berlussimo/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(1229): compact()`

It looks like a problem in laravel.

lfirewall1243 commented 3 years ago

Have you solved the problem.

I got the same issue.

By the way; Where is the Laravel Log located? :)

lfirewall1243 commented 3 years ago

Try this one with an fresh Debian install

https://github.com/benitofischer/BerlussimoSetup

TheAkki commented 3 years ago

Thank you. But i didn't solve the problem.

Unfortunally i can not download debian 9. (Ok, i did not tried the network installer) Normally i make experiments like this in hotels on business trips. Often the internet is not so good. So i try to download the images before at home. Can i install debian 9 with netinstaller?

I think i had to adjust the composer.json file and change the laravel-framework to 6.0 and laravel-passport to 3.0. But when i do an update and it goes wrong a second try is often not possible, because i am blocked by github. :(

Maybe next try it works.

TheAkki commented 3 years ago

I have found an debian 9 image. Running the skript and reading correctly - It works. Thank you!

benitofischer commented 3 years ago

@lucas12433 Does it really work? I've tried it multiple times; but didn't get it to run properly. :-/

TheAkki commented 3 years ago

@benitofischer: Ich habe es mit der o.g. Anleitung in einer VM gemacht. Debian image und dann alles Schritt für Schritt. Ich versuche damit mal wieder meine Dockerkenntnisse auf zu frischen und ein Docker-Compose zu schreiben. Mal schauen...

AlbertEnder commented 3 years ago

Super. Gratuliere. Klingt ja vielversprechend und gibt wieder etwas Hoffnung (endlich)

⁣BlueMail for Android herunterladen ​

Am 9. Sept. 2020, 22:03, um 22:03, TheAkki notifications@github.com schrieb:

@benitofischer: Ich habe es mit der o.g. Anleitung in einer VM gemacht. Debian image und dann alles Schritt für Schritt. Ich versuche damit mal wieder meine Dockerkenntnisse auf zu frischen und ein Docker-Compose zu schreiben. Mal schauen...

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/BerlusGmbH/Berlussimo/issues/77#issuecomment-689789420