Trouble with APP_KEY env variable #74
Replies: 16 comments 23 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I tried installing this for the first time yesterday and am having the same issue trying to get it running from scratch. |
Beta Was this translation helpful? Give feedback.
-
|
since I run it on a server .. I changed localhost to the actual IP of der host where docker is running.. |
Beta Was this translation helpful? Give feedback.
-
|
in the log I see: |
Beta Was this translation helpful? Give feedback.
-
|
also tried the sqlite version: #51 same error 500 |
Beta Was this translation helpful? Give feedback.
-
|
Hi these logs look similar to the issue the folks in #51 were having. Specifically, this part: SQLSTATE[HY000] [2002] Connection refusedCouple troubleshooting steps would be helpful.
docker logs investbrain-mysql
docker ps | grep investbrain-mysql
DB_HOST=host.docker.internal # If using Mac/Windows
DB_HOST=127.0.0.1 # If MySQL is running on the host machine |
Beta Was this translation helpful? Give feedback.
-
|
@thesebastianf @hackeresq @dataoscar @gmensching please send me the dockerfile for this project as i want to contribute to this project |
Beta Was this translation helpful? Give feedback.
-
|
Just started doing some initial testing with this and also getting the 500 error. Registered new user, 500 error. Added a new transaction, 500 error. But even with the 500 error coming up, things are still working. The user was created. The transaction was logged. |
Beta Was this translation helpful? Give feedback.
-
|
Can you try flipping `APP_DEBUG` to true in your env?
…On Sat, Mar 29, 2025 at 7:35 AM Mike ***@***.***> wrote:
Just started doing some initial testing with this and also getting the 500
error. Registered new user, 500 error. Added a new transaction, 500 error.
But even with the 500 error coming up, things are still working. The user
was created. The transaction was logged.
—
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD63TF6EWKBN3XWLXKESZET2W2HSTAVCNFSM6AAAAABZDRSZNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRWGE4TCNI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
--
Corey
|
Beta Was this translation helpful? Give feedback.
-
|
Has it run migration. Please check. Please connect to MySQL database inside
the container from your host
…On Sun, 30 Mar 2025, 01:26 hackerESQ, ***@***.***> wrote:
Can you try flipping `APP_DEBUG` to true in your env?
On Sat, Mar 29, 2025 at 7:35 AM Mike ***@***.***> wrote:
> Just started doing some initial testing with this and also getting the
500
> error. Registered new user, 500 error. Added a new transaction, 500
error.
> But even with the 500 error coming up, things are still working. The
user
> was created. The transaction was logged.
>
> —
> Reply to this email directly, view it on GitHub
> <
#74 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AD63TF6EWKBN3XWLXKESZET2W2HSTAVCNFSM6AAAAABZDRSZNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRWGE4TCNI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***
> com>
>
--
Corey
—
Reply to this email directly, view it on GitHub
<#74 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BPBZW3XJ7N7UXMWUA2FZYPT2W33GLAVCNFSM6AAAAABZDRSZNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRWGQYDEMY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
|
Migration task should be part of composer.yml and it needs to depend on
MySQL. Please check if all the tables are created in my my SQL database.
Make sure database migration are run
…On Sun, 30 Mar 2025, 06:17 Ddd Dd, ***@***.***> wrote:
Has it run migration. Please check. Please connect to MySQL database
inside the container from your host
On Sun, 30 Mar 2025, 01:26 hackerESQ, ***@***.***> wrote:
> Can you try flipping `APP_DEBUG` to true in your env?
>
> On Sat, Mar 29, 2025 at 7:35 AM Mike ***@***.***> wrote:
>
> > Just started doing some initial testing with this and also getting the
> 500
> > error. Registered new user, 500 error. Added a new transaction, 500
> error.
> > But even with the 500 error coming up, things are still working. The
> user
> > was created. The transaction was logged.
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
> #74 (comment)>,
>
> > or unsubscribe
> > <
> https://github.com/notifications/unsubscribe-auth/AD63TF6EWKBN3XWLXKESZET2W2HSTAVCNFSM6AAAAABZDRSZNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRWGE4TCNI>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***
> > com>
> >
>
>
> --
> Corey
>
> —
> Reply to this email directly, view it on GitHub
> <#74 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BPBZW3XJ7N7UXMWUA2FZYPT2W33GLAVCNFSM6AAAAABZDRSZNWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRWGQYDEMY>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
-
|
@MRobi1 i got it working on docker container and also on desktop pc. We can have Skype call and I'll be glad to help you. |
Beta Was this translation helpful? Give feedback.
-
|
There is a chance that the initial market data seeder is causing your containers to run out of memory (which would also explain the lack of logs). This has happened a few times to me on tiny VPS services I tested. I'm working on making the initial market data seed an "option" that can be disabled. Would be interested to see whether that helps here. |
Beta Was this translation helpful? Give feedback.
-
|
I'm in!! Seeing the error I posted above was what pointed me in the right direction. I wiped everything. Started over. This time without the APP_KEY variable set. Ran the container, checked the logs, and used the generated base_64 app key. Restarted the container and got the login screen. Was able to create a user and register and get to the main screen. Hope this helps others. |
Beta Was this translation helpful? Give feedback.
-
|
App key now gets set automatically! No need to manually add. Marking this discussion as closed. |
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
-
Hey
I am struggling getting this to run.
All services are up but I get a 500 Server Error in Chrome
any hints would be very welcome
Beta Was this translation helpful? Give feedback.
All reactions