Hi.Events icon indicating copy to clipboard operation
Hi.Events copied to clipboard

🐛Docket Compose not working.

Open Pablitus opened this issue 2 years ago • 8 comments

[!NOTE] Please stick to the template and provide as much detail as possible to help us diagnose and fix the issue. Low effort bug reports will be closed.

Describe the bug Docket compose -d not finishing setup Expected behavior Full install Hi Envents

Screenshots 2024-11-04 11_18_17-172 16 16 172 - PuTTY

Hi.Events Version and platform Latest git repository. OS Alpine Linux 3.20 with Docker and Docker Compose

Pablitus avatar Nov 04 '24 14:11 Pablitus

Did you get this working? It looks like a temporary error related to one of the dependencies. It's not related to Hi.Events itself.

daveearley avatar Nov 07 '24 05:11 daveearley

No

Status: Downloaded newer image for node:alpine ---> bd8023897f38 Step 2/20 : WORKDIR /app/frontend ---> Running in 3c08d11f1e59 Removing intermediate container 3c08d11f1e59 ---> 0361114a767f Step 3/20 : RUN apk add --no-cache yarn ---> Running in 4056a8077817 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.20/main: Permission denied

Pablitus avatar Nov 07 '24 12:11 Pablitus

root@ntshievents:~/hi.events/docker/all-in-one# docker-compose up -d Building all-in-one Sending build context to Docker daemon 12.3MB Step 1/20 : FROM node:alpine AS node-frontend ---> bd8023897f38 Step 2/20 : WORKDIR /app/frontend ---> Using cache ---> 0361114a767f Step 3/20 : RUN apk add --no-cache yarn ---> Running in 4b40a89361ab fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.20/main: Permission denied fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.20/community: Permission denied ERROR: unable to select packages: yarn (no such package): required by: world[yarn] The command '/bin/sh -c apk add --no-cache yarn' returned a non-zero code: 1 ERROR: Service 'all-in-one' failed to build : Build failed

Pablitus avatar Nov 07 '24 12:11 Pablitus

Can you access this URL: dl-cdn.alpinelinux.org/alpine/v3.20/community in your browser?

daveearley avatar Nov 07 '24 14:11 daveearley

In my PC, yes...

In the server root@ntshievents:~# curl dl-cdn.alpinelinux.org/alpine/v3.20/community

301 Moved Permanently

301 Moved Permanently


nginx/1.27.1
root@ntshievents:~#

Pablitus avatar Nov 07 '24 15:11 Pablitus

Hi @Pablitus,

I'm going to close this as it appears to be an issue with you network, and not with Hi.Events.

I'll reopen if someone else encounters the issue.

daveearley avatar Nov 26 '24 05:11 daveearley

I'm running into the exact same issue. Even on my PC curl dl-cdn.alpinelinux.org/alpine/v3.22/community results in Error 301 Moved Permanently and the Dockerfile fails on RUN apk add --no-cache yarn

laurens-moonens avatar Oct 06 '25 14:10 laurens-moonens

Follow up: I was able to resolve it by disabling Ipv6 🤷‍♂️

laurens-moonens avatar Oct 06 '25 14:10 laurens-moonens