-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
[Bug] Build fails collab-entity #742
Comments
The same error on Ubuntu Server 24.04. Installed the latest docker-ce, cargo from the repositories and postgres, since the bash script requires psql. |
Can you install protobuf compiler on the machine? While we have set up a fallback using the vendored protobuf compiler, this fallback may fail in some systems. I will submit a fix that use vendored protobuf compiler by default so that users don't have to install protobuf compiler on their machine. |
I managed to pass the build with installing the latest rustc from https://www.rust-lang.org/tools/install. I also managed to complete the migration processes. Now, with
I installed manually with deploying the "dev" version of the docker-compose. The port of the database is exposed to the localhost. Where should I look now, having the error presented? |
I must have changed the database hostname variable to something else. I also removed the AI part of the docker-compose, since it kept restarting. Now it cannot send confirmation mail.
|
Glad to know that installing newer tooling fixed the issue. As for the other issues:
By the way, the docker compose dev is mainly used for AppFlowy cloud development. It is actually not possible to use this version of the docker compose as the self host deployment in the AppFlowy flutter app. |
So are you saying that I will not be able to sync with the dev setup android and linux apps? |
Yes. For proper sync up, you will need to use the docker-compose file as opposed to docker-compose.dev . The main difference between the two, is that gotrue service and all other Appflowy services are accessible via nginx. The frontend app assumes that all these services are accessible via a single endpoint with different path, which will not be fulfil by the docker compose dev file |
The problem is that my nginx is on the different machine, and I would like to redirect them to that nginx since it serves my domain. But I do not see any ports exposed in the docker-compose.yml, only for the nginx part. How shoud I make this forwarded to my other machine where I have a nginx domain? Thanks for your exhaustive help |
Shoud I still continue with the dev docker-compose and forward the ports to virtual locations in nginx? |
You can refer to #622 and the related issue as a guideline on how to start. |
Thanks. I followed #622, made a
I did not succeed in doing initial migrations with |
I cheked the previous contitions of the error. It seems that the database info is obtained from the |
Sqlx migrations are applied during Appflowy cloud service start up, rather than via cargo. However, "auth.users" is actually created via an SQL migration script that was mounted to the postgres pod during start up (you can check the volume section of the docker compose file, for postgres). The reason why this is not managed automatically by Sqlx, is that this table is actually required by the gotrue service, rather than Appflowy cloud. |
I see. I am checking the gotrue container for errors it shows this
|
I tried to set th |
Any News on this? I get the same Error:
|
Describe the bug
A clear and concise description of what the bug is.
Build fails with no config modification and on running /script/run_local_server.sh
To Reproduce
Steps to reproduce the behavior:
System is PopOS 22.04.
installed the latest docker-engine via apt procedure
installed the postgresql from popsos repositories
cloned the repo
copied the dev.env to .env
ran the script /script/run_local_server.sh
Expected behavior
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: