plane
plane copied to clipboard
[bug]: Missing download .env.example in the README
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
when execute ./setup.sh http://localhost
in local, will get the error message such as below because missing download .env.example
cp: ./.env.example: No such file or directory
Steps to reproduce
1 curl https://raw.githubusercontent.com/makeplane/plane/develop/docker-compose-hub.yml --output docker-compose.yml 2 curl https://raw.githubusercontent.com/makeplane/plane/develop/setup.sh --output setup.sh 3 chmod +x setup.sh 4 ./setup.sh http://localhost
exception
cp: ./.env.example: No such file or directory
Browser
Google Chrome
Version
Self-hosted
Same problem here, up !
We would like to inform you that we are currently in the process of updating our Docker setup. While we work on these updates, we recommend the following steps:
- Clone the entire repository.
- Switch to the master branch.
- Run the command
./setup.sh <IP>
without including the protocol.
By following these instructions, you will be able to proceed with the setup process smoothly. We apologize for any inconvenience caused during this transition, and we appreciate your understanding. If you have any further questions or need assistance, please don't hesitate to reach out to us.
We would like to inform you that we are currently in the process of updating our Docker setup. While we work on these updates, we recommend the following steps:
1. Clone the entire repository. 2. Switch to the master branch. 3. Run the command `./setup.sh <IP>` without including the protocol.
By following these instructions, you will be able to proceed with the setup process smoothly. We apologize for any inconvenience caused during this transition, and we appreciate your understanding. If you have any further questions or need assistance, please don't hesitate to reach out to us.
It works, thank you! Keep up the good work!
@pablohashescobar thanks for the reply. After executed the following command, seems the build procedure is hanging, not sure is there any thing I missed
1. git clone [email protected]:makeplane/plane.git
2. cd plane
3. git checkout master
4. git pull origin master
5. sed -i -e 's/\r$//' setup.sh <-- seems this was caused by my laptop
6. ./setup.sh 127.0.0.1
7. docker compose up -d
the build message is as below
<...some build message...>
[+] Building 765.1s (37/55) <--- the time is increasing
=> => sha256:86d0319d8b940063f580bc12736ff23006d613759e1ef598fb5d0e91ac281a58 1.37kB / 1.37kB 0.0ss => => sha256:c41e409d7e257ef9d9499dec9084523938e2f33c6390fbb84f76fb8460312cc7 7.34kB / 7.34kB 0.0ss
=> => sha256:d462052b8b5e4c3d6738809617086300ae4bfc3b4e9076ecc08184d4db3dadc1 624.88kB / 624.88kB 1.0ss => => sha256:0e8b5d9565838546e95c0fb1e73c7a7e7fca844aa9356fc93acc10ccace039af 12.44MB / 12.44MB 4.1ss
=> => extracting sha256:a9eaa45ef418e883481a13c7d84fa9904f2ec56789c52a87ba5a9e6483f2b74f 0.1ss => => sha256:1b60d54f9e766e1b63d207b43cd1cdcb7423b30c00c4476b1c6f21e4a2beac3f 231B / 231B 2.6ss
=> => extracting sha256:d462052b8b5e4c3d6738809617086300ae4bfc3b4e9076ecc08184d4db3dadc1 0.2ss => => sha256:ad586c3c82b5c4706d5b098cfc5a4fd29302bb980f023b96dc5e234aa5c34de6 3.06MB / 3.06MB 4.8ss
=> => extracting sha256:0e8b5d9565838546e95c0fb1e73c7a7e7fca844aa9356fc93acc10ccace039af 1.1ss => => extracting sha256:1b60d54f9e766e1b63d207b43cd1cdcb7423b30c00c4476b1c6f21e4a2beac3f 0.0ss
=> => extracting sha256:ad586c3c82b5c4706d5b098cfc5a4fd29302bb980f023b96dc5e234aa5c34de6 0.3ss => [plane-api internal] load build context 0.0ss
=> => transferring context: 882.73kB 0.0ss => [plane-api 2/17] WORKDIR /code 0.2ss
=> [plane-api 3/17] RUN apk --update --no-cache add "libpq~=15" "libxslt~=1.1" "nodejs-current~=19" "xmlsec~=1.2" 7.6ss => [plane-web installer 2/14] RUN apk add --no-cache libc6-compat 2.2ss
=> [plane-web runner 2/12] WORKDIR /app 0.2ss
=> [plane-web runner 3/12] RUN addgroup --system --gid 1001 plane 0.2s
=> [plane-web runner 4/12] RUN adduser --system --uid 1001 captain 0.3s
=> [plane-web installer 3/14] RUN apk update 1.7s
=> [plane-api 4/17] COPY requirements.txt ./ 0.0s
=> [plane-api 5/17] COPY requirements ./requirements 0.0s
=> [plane-api 6/17] RUN apk add libffi-dev 2.4s
=> [plane-web installer 4/14] WORKDIR /app 0.0s
=> [plane-web installer 5/14] COPY .gitignore .gitignore 0.0s
=> [plane-web builder 5/7] RUN yarn global add turbo 15.0s
=> CANCELED [plane-api 7/17] RUN apk --update --no-cache --virtual .build-deps add "bash~=5.2" "g++~=12.2" "gcc~=12.2" "cargo~=1.64 187.4s
=> [plane-web builder 6/7] COPY . . 0.1s
=> [plane-web builder 7/7] RUN turbo prune --scope=app --docker 0.4s
=> [plane-web installer 6/14] COPY --from=builder /app/out/json/ . 0.0s
=> [plane-web installer 7/14] COPY --from=builder /app/out/yarn.lock ./yarn.lock 0.0s
=> [plane-web installer 8/14] RUN yarn install 91.1s
=> [plane-web installer 9/14] COPY --from=builder /app/out/full/ . 0.2s
=> [plane-web installer 10/14] COPY turbo.json turbo.json 0.0s
=> [plane-web installer 11/14] COPY replace-env-vars.sh /usr/local/bin/ 0.0s
=> [plane-web installer 12/14] RUN chmod +x /usr/local/bin/replace-env-vars.sh 0.2s
=> [plane-web installer 13/14] RUN yarn turbo run build --filter=app 81.6s
=> ERROR [plane-web installer 14/14] RUN /usr/local/bin/replace-env-vars.sh http://NEXT_PUBLIC_WEBAPP_URL_PLACEHOLDER http://localhost:8000 0.3s
Hi @klion26 can you please check by using the pre built images docker-compose-hub.yml
. Also you may have to export the environment variables using set -a; source .env; set +a;
@pablohashescobar very thanks for the detailed and patient replies, it works for me after using docker-compose-hub.yml
.