Skip to content

[Bug]: Few documentation bugs with all-in-one docker image guide + cannot sign up. Broken latest docker image? #1774

Open
@kha84

Description

@kha84

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello there!

Was trying to give Lowcoder a test drive on my linux machine by following your guide and found several issues, eventually preventing me even to try it :(

  1. the suggested in the instructions docker-compose.yaml file is not recognized with the suggested minimal version of docker-compose plugin (1.29.2 as per prerequisites):
$ curl https://raw.githubusercontent.com/lowcoder-org/lowcoder/main/deploy/docker/docker-compose.yaml -o $PWD/docker-compose.yml
$ docker-compose up -d
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.lowcoder-all-in-one.env_file contains {"path": "./default.env", "required": true}, which is an invalid type, it should be a string
$ docker-compose -v
docker-compose version 1.29.2, build unknown

I treat it as documentation bug, because the syntax used for env_file entry in the provided yaml file:

    env_file:
      - path: ./default.env
        required: true
      - path: ./override.env
        required: false

... is not supported by docker-compose plugin of version 1.29.2. So the minimum supported docker-compose plugin version should be higher. Or one needs to manually patch yaml file for older plugin versions, like this:

    env_file:
      - ./default.env
      - ./override.env

Though, given the guide at this step doesn't provide the example of what values should be there in the env files, this entire section could be probably deleted altogether or alternative yaml file should be used.

  1. Following the guide, the next step suggests "Visit http://localhost:3000/ and click Sign up". But when I open http://localhost:3000/ it redirects me to http://localhost:3000/user/auth/login and there's no "Sign up" seen anywhere on a page:

Image

Documentation bug? Broken latest build?
Just in case, on this login form, no matter what email I tried to use - it always responded me with "User not found. Please make sure you entered the correct email."

  1. On another page (the Hello World walk) I found that I can actually sign up with using different URL - /user/auth/register, so I tried to open http://localhost:3000/user/auth/register but the form is broken there:

Image

In the FireFox console I see some failed requests:

Image

I'm perfectly OK when open source monetize with ads, no worries.

Is the lowcoderorg/lowcoder-ce:latest docker image is broken right now?

Just in case, the current image is:

$ docker image list
REPOSITORY                TAG             IMAGE ID       CREATED       SIZE
lowcoderorg/lowcoder-ce   latest          d24061b42d1f   2 weeks ago   2.3GB

Expected Behavior

Quick start guide should provide clear instructions one can follow to get the app up and running in a lab environment. The app should allow user to sign up and then sign in.

Steps to reproduce

Just follow the self-hosting guide - https://docs.lowcoder.cloud/lowcoder-documentation/setup-and-run/self-hosting#all-in-one

Environment

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions