Skip to content

[Bug]: all-in-one docker compose fails to install on portainer. #1985

@dfear

Description

@dfear

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Trying to install lowcoder in portainer (url: docker/stacks/newstack) using either the "web editor" or the "upload" options results in the following error:

Deployment error
Failed to deploy a stack: failed to resolve services environment: env file /data/compose/4/default.env not found: stat /data/compose/4/default.env: no such file or directory

Expected Behavior

lowcoder to be deployed in portainer.

Steps to reproduce

in portainer:

  1. select the desired docker environment
  2. In the left hand menu, click "stacks".
  3. click "add stack" button.
  4. Enter a "Name".
  5. Under "Build method" select "web editor" or "upload".
    a) select "web editor" - paste the contents of "https://github.com/lowcoder-org/lowcoder/blob/main/deploy/docker/docker-compose.yaml"
    b) select "upload" - download the yaml file from: https://github.com/lowcoder-org/lowcoder/blob/main/deploy/docker/docker-compose.yaml to your PC.
    a) Click "select file", then select the downloaded yaml file.
  6. click the " deploy this stack".

Environment

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    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