Skip to content
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

Upgrading the Docker image to the latest release (0.35) breaks login #9710

Open
lmorgan-yozu opened this issue Jan 17, 2025 · 1 comment
Open

Comments

@lmorgan-yozu
Copy link

Bug Description

Updating the Docker image to update to the 0.35 release has broken the workspace / login to the workspace.

Procedure followed to upgrade:

docker compose down
docker pull twentycrm/twenty:latest
docker compose up -d

(As per https://twenty.com/developers/section/self-hosting/upgrade-guide).

Bringing the stack back up, Docker logs all look normal with no errors logged. However, I do see the warning message as attached about 'two' workspaces.

Image

Trying to login, I get the screenshotted error messages - both in the UI and in the server logs.

Image

Image

Seeing that error message, I then also tried to run migrations and do a prod-upgrade in case necessary, there were no migrations to run and it looked like the upgrade task didn't do anything. (I'm assuming the Docker container runs migrations and any upgrades automatically).

Any advice/pointers appreciated.

@BOHEUS
Copy link
Contributor

BOHEUS commented Jan 17, 2025

That's because you have IS_MULTIWORKSPACE_ENABLED=false set in your .env, you can check what happens if you change it to true. Alternatively, you can run select * from core."userWorkspace" as user1 inner join core.workspace as work on user1."workspaceId"=work.id; in database to see if your user exists in database and has access to workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants