[AGE-2114] [Bug] Cannot login for the first time after deploying locally via Docker Desktop [macOS]
As per title, after deploying Agenta via Docker Desktop the login fails as per the following screenshot:
I already tried pulling the repository several times and retrying, and also tried on multiple ports, always restarting from a fresh install and rebuilding the web image as per docs: https://docs.agenta.ai/self-host/host-locally?utm_source=github&utm_medium=referral&utm_campaign=readme
Tried on 3 different browsers: Safari, Brave and Chrome, none of them with success.
Hey @serverdown-eth can you please:
- Provide us with the requests in the developer console in your frontend
- Let us know of your self-hosting configuration (port 80? are you rebuilding?)
- Provide us with the logs of the api and web docker containers
Thank you!
Thank you for your fast response,
These are the errors in the developer console:
This is my .env config:
registry & service: agenta-specific
AGENTA_RUNTIME_PREFIX= AGENTA_PORT=80 FEATURE_FLAG=oss ENVIRONMENT=development BARE_DOMAIN_NAME=localhost DOMAIN_NAME=http://localhost WEBSITE_DOMAIN_NAME=http://localhost AGENTA_HOST=http://host.docker.internal:80 AGENTA_TEMPLATE_REPO=agentaai/templates_v2 AGENTA_AUTH_KEY=replace-me SERVICE_URL_TEMPLATE=http://localhost:80/services/{path} ALEMBIC_CFG_PATH=/app/oss/databases/postgres/migrations/alembic.oss.ini POSTGRES_USER=username POSTGRES_PASSWORD=password POSTGRES_DB=agenta_oss RABBITMQ_DEFAULT_USER=guest RABBITMQ_DEFAULT_PASS=guest REDIS_URL=redis://redis:6379/0 CELERY_BROKER_URL=amqp://guest@rabbitmq// CELERY_RESULT_BACKEND=redis://redis:6379/0 POSTGRES_URI=postgresql+asyncpg://username:password@postgres:5432/agenta_oss POSTGRESQL_CONNECTION_URI=postgresql://username:password@postgres:5432/supertokens_oss AGENTA_CRYPT_KEY=replace-me
log of api docker container:
2025-04-07 15:50:17 INFO: Will watch for changes in these directories: ['/app']
2025-04-07 15:50:17 INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2025-04-07 15:50:17 INFO: Started reloader process [1] using StatReload
2025-04-07 15:50:26 INFO: Started server process [8]
2025-04-07 15:50:26 INFO: Waiting for application startup.
2025-04-07 15:50:32 INFO: Application startup complete.
2025-04-07 15:53:58 ERROR: Exception in ASGI application
2025-04-07 15:53:58 Traceback (most recent call last):
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
2025-04-07 15:53:58 result = await app( # type: ignore[func-returns-value]
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
2025-04-07 15:53:58 return await self.app(scope, receive, send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in call
2025-04-07 15:53:58 await super().call(scope, receive, send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/starlette.py", line 408, in _sentry_patched_asgi_app
2025-04-07 15:53:58 return await middleware(scope, receive, send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/asgi.py", line 158, in _run_asgi3
2025-04-07 15:53:58 return await self._run_app(scope, receive, send, asgi_version=3)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/asgi.py", line 259, in _run_app
2025-04-07 15:53:58 raise exc from None
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/asgi.py", line 254, in _run_app
2025-04-07 15:53:58 return await self.app(
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in call
2025-04-07 15:53:58 await self.middleware_stack(scope, receive, send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/starlette.py", line 199, in _create_span_call
2025-04-07 15:53:58 return await old_call(app, scope, new_receive, new_send, **kwargs)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 187, in call
2025-04-07 15:53:58 raise exc
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 165, in call
2025-04-07 15:53:58 await self.app(scope, receive, _send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/starlette.py", line 199, in _create_span_call
2025-04-07 15:53:58 return await old_call(app, scope, new_receive, new_send, **kwargs)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 93, in call
2025-04-07 15:53:58 await self.simple_response(scope, receive, send, request_headers=headers)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 144, in simple_response
2025-04-07 15:53:58 await self.app(scope, receive, send)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/starlette.py", line 199, in _create_span_call
2025-04-07 15:53:58 return await old_call(app, scope, new_receive, new_send, **kwargs)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/supertokens_python/framework/fastapi/fastapi_middleware.py", line 53, in call
2025-04-07 15:53:58 result: Union[BaseResponse, None] = await st.middleware(
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/supertokens_python/supertokens.py", line 613, in middleware
2025-04-07 15:53:58 request_handled = await final_matched_recipe.handle_api_request(
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/supertokens_python/recipe/emailpassword/recipe.py", line 331, in handle_api_request
2025-04-07 15:53:58 return await handle_sign_up_api(
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/supertokens_python/recipe/emailpassword/api/signup.py", line 73, in handle_sign_up_api
2025-04-07 15:53:58 response = await api_implementation.sign_up_post(
2025-04-07 15:53:58 File "/app/oss/src/init.py", line 220, in sign_up_post
2025-04-07 15:53:58 organization_db = await check_if_user_exists_and_create_organization(
2025-04-07 15:53:58 File "/app/oss/src/services/db_manager.py", line 892, in check_if_user_exists_and_create_organization
2025-04-07 15:53:58 organization_db = await create_organization(name=organization_name)
2025-04-07 15:53:58 File "/app/oss/src/services/db_manager.py", line 995, in create_organization
2025-04-07 15:53:58 await session.commit()
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/ext/asyncio/session.py", line 1015, in commit
2025-04-07 15:50:32
2025-04-07 15:50:32 We have detected that there are pending database migrations ['7cc66fc40298'] that need to be applied to keep the application up to date. To ensure the application functions correctly with the latest updates, please follow the guide here => https://docs.agenta.ai/self-host/migration/applying-schema-migration
2025-04-07 15:50:32
2025-04-07 15:53:57 INFO: 172.18.0.6:38102 - "POST /auth/signup HTTP/1.1" 500 Internal Server Error
2025-04-07 15:53:58 await greenlet_spawn(self.sync_session.commit)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 203, in greenlet_spawn
2025-04-07 15:53:58 result = context.switch(value)
2025-04-07 15:53:58 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2032, in commit
2025-04-07 15:53:58 trans.commit(_to_root=True)
2025-04-07 15:53:58 File "
then I followed the schema migration https://docs.agenta.ai/self-host/applying-schema-migration with the command: docker exec -e PYTHONPATH=/app -w /app/oss/databases/postgres/migrations agenta-oss-gh-api-1 alembic -c alembic.oss.ini upgrade head
I received this error:
return await self._prepare(
File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 653, in _prepare stmt = await self._get_statement( File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 432, in _get_statement statement = await self._protocol.prepare( File "asyncpg/protocol/protocol.pyx", line 165, in prepare asyncpg.exceptions.UndefinedColumnError: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.dialects.postgresql.asyncpg.AsyncAdapt_asyncpg_dbapi.ProgrammingError: <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/app/oss/databases/postgres/migrations/data_migrations/projects.py", line 190, in add_project_id_to_db_entities session.execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2365, in execute return self._execute_internal( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2251, in _execute_internal result: Result[Any] = compile_state_cls.orm_execute_statement( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement result = conn.execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1416, in execute return meth( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 523, in _execute_on_connection return connection._execute_clauseelement( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1638, in _execute_clauseelement ret = self._execute_context( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1843, in _execute_context return self._exec_single_context( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2352, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist [SQL: SELECT app_variants.id, app_variants.app_id, app_variants.variant_name, app_variants.revision, app_variants.project_id, app_variants.modified_by_id, app_variants.base_name, app_variants.base_id, app_variants.config_name, app_variants.config_parameters, app_variants.hidden, app_variants.created_at, app_variants.updated_at FROM app_variants WHERE app_variants.project_id IS NULL LIMIT $1::INTEGER OFFSET $2::INTEGER] [parameters: (1000, 0)] (Background on this error at: https://sqlalche.me/e/20/f405)
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 521, in _prepare_and_execute prepared_stmt, attributes = await adapt_connection._prepare( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 768, in _prepare prepared_stmt = await self._connection.prepare( File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/asyncpg.py", line 128, in _inner res = await f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 635, in prepare return await self._prepare( File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 653, in _prepare stmt = await self._get_statement( File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 432, in _get_statement statement = await self._protocol.prepare( File "asyncpg/protocol/protocol.pyx", line 165, in prepare asyncpg.exceptions.UndefinedColumnError: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.dialects.postgresql.asyncpg.AsyncAdapt_asyncpg_dbapi.ProgrammingError: <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/alembic", line 8, in
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.dialects.postgresql.asyncpg.AsyncAdapt_asyncpg_dbapi.ProgrammingError: <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/app/oss/databases/postgres/migrations/data_migrations/projects.py", line 190, in add_project_id_to_db_entities session.execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2365, in execute return self._execute_internal( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/session.py", line 2251, in _execute_internal result: Result[Any] = compile_state_cls.orm_execute_statement( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/context.py", line 306, in orm_execute_statement result = conn.execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1416, in execute return meth( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 523, in _execute_on_connection return connection._execute_clauseelement( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1638, in _execute_clauseelement ret = self._execute_context( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1843, in _execute_context return self._exec_single_context( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1983, in _exec_single_context self._handle_dbapi_exception( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 2352, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.exc.ProgrammingError: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist [SQL: SELECT app_variants.id, app_variants.app_id, app_variants.variant_name, app_variants.revision, app_variants.project_id, app_variants.modified_by_id, app_variants.base_name, app_variants.base_id, app_variants.config_name, app_variants.config_parameters, app_variants.hidden, app_variants.created_at, app_variants.updated_at FROM app_variants WHERE app_variants.project_id IS NULL LIMIT $1::INTEGER OFFSET $2::INTEGER] [parameters: (1000, 0)] (Background on this error at: https://sqlalche.me/e/20/f405)
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 521, in _prepare_and_execute prepared_stmt, attributes = await adapt_connection._prepare( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 768, in _prepare prepared_stmt = await self._connection.prepare( File "/usr/local/lib/python3.9/site-packages/sentry_sdk/integrations/asyncpg.py", line 128, in _inner res = await f(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 635, in prepare return await self._prepare( File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 653, in _prepare stmt = await self._get_statement( File "/usr/local/lib/python3.9/site-packages/asyncpg/connection.py", line 432, in _get_statement statement = await self._protocol.prepare( File "asyncpg/protocol/protocol.pyx", line 165, in prepare asyncpg.exceptions.UndefinedColumnError: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1964, in _exec_single_context self.dialect.do_execute( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 945, in do_execute cursor.execute(statement, parameters) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 580, in execute self.adapt_connection.await( File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501 File "/usr/local/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn value = await result File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 558, in _prepare_and_execute self._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 508, in _handle_exception self._adapt_connection._handle_exception(error) File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 792, in _handle_exception raise translated_error from error sqlalchemy.dialects.postgresql.asyncpg.AsyncAdapt_asyncpg_dbapi.ProgrammingError: <class 'asyncpg.exceptions.UndefinedColumnError'>: column app_variants.hidden does not exist
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/alembic", line 8, in
Thanks for the description. I am going to try to reproduce the issue locally today. In the mean time, I would suggest nuking the postgres volume, and recreating the containers, and applying the migration.
Thank you for the suggestion. tried again with a fresh start, and the migration resulted in the same error. I will add more context, although I' m not sure how useful:
I am using a Mac with apple silicon, so I figured that could be a virtualization issue:
In the docker settings, I tried two different configuration , although with the same results: Docker VMM and Apple virtualization framework
I am having the exact same issue. Is there a fix available?
Hello @Wout-VDWG , I am not able to reproduce the issue. Can you please provide more information:
- Logs from api and web containers
- Information if any container is failing
- Network tab from browser
Thank you!
p.s. please also let us know if you modified any env var
SAME TO ME
Hello @del-zhenwu can you please share:
- Logs from api and web containers
- Information if any container is failing
- Network tab from browser
Thank you!
p.s. please also let us know if you modified any env var
Hello everyone, We have made a major update to our env variables and self-hosting documentation to fix all these issues. We hope this resolves all the problems. Here is the new list of env variables, how to use ssl and our network architecture.
This should make self-hosting using different reverse-proxy, solutions much easier we hope. Please let us know if this helps!