-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Deployment Getting Failed #1352
Comments
same here for win11 |
I am also getting this as well. I've redownloaded the application and i still get this error. |
I also get this error. When I try to load localhost:3000 I see the SuperAGI logo in the top left and Ïnitailizing SuperAGI... loading and get no further This is happening in the superagi-backend-1 container in docker using superagi-backend |
Same issue on Mac OS 14 |
same error here, if I take the log back a couple of extra lines i have: Where the second line says None this is a log of default_user. Unfortunately I can understand why I see the error, but I have not the skill (yet) to go about finding a solution. |
I'm getting the same issue on Windows 11 using the docker install. It seems like the default_user for the postgress database "super6@agi.com" should exist but doesn't? Line 200 tries to load the default_user and when line 201 logs it the output is "None" and this seems to fail line 221? --CODE-- 221 existing_models_config = session.query(ModelsConfig).filter(ModelsConfig.org_id == default_user.organisation_id, ModelsConfig.provider == 'Local LLM').first() --LOG-- 2023-10-28 09:07:00 superagi-backend-1 | INFO: Started server process [315] |
Same issue on Mac M2 |
I found a workaround it's a workaround not a fix. |
Getting the same error. It appears to have been introduced by PR: #1351 For anyone blocked while awaiting a fix, I was able to succesfully startup by commenting out this line. |
This is a very good work around. Specifically this line |
Where are you using SuperAGI?
Linux
Which branch of SuperAGI are you using?
Dev (branch)
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
Deployment Getting failed, Please fix it
How to replicate your Issue?
No response
Upload Error Log Content
[2023-10-25 09:15:51] ERROR: Traceback (most recent call last): [2023-10-25 09:15:51] File "/opt/venv/lib/python3.10/site-packages/starlette/routing.py", line 677, in lifespan [2023-10-25 09:15:51] async with self.lifespan_context(app) as maybe_state: [2023-10-25 09:15:51] File "/opt/venv/lib/python3.10/site-packages/starlette/routing.py", line 566, in aenter [2023-10-25 09:15:51] await self._router.startup() [2023-10-25 09:15:51] File "/opt/venv/lib/python3.10/site-packages/starlette/routing.py", line 654, in startup [2023-10-25 09:15:51] await handler() [2023-10-25 09:15:51] File "/app/main.py", line 249, in startup_event [2023-10-25 09:15:51] local_llm_model_config() [2023-10-25 09:15:51] File "/app/main.py", line 221, in local_llm_model_config [2023-10-25 09:15:51] existing_models_config = session.query(ModelsConfig).filter(ModelsConfig.org_id == default_user.organisation_id, ModelsConfig.provider == 'Local LLM').first() [2023-10-25 09:15:51] AttributeError: 'NoneType' object has no attribute 'organisation_id' [2023-10-25 09:15:51] [2023-10-25 09:15:51] ERROR: Application startup failed. Exiting.
The text was updated successfully, but these errors were encountered: