Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: Permission denied #1510

Closed
vicjoe opened this issue Dec 12, 2022 · 1 comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request

Comments

@vicjoe
Copy link

vicjoe commented Dec 12, 2022

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

When start the container nextcloud_aio_nextcloud,
It is very slow for step "Installing imagemagick via apk..."
and finally failed for "Installing PHP build dependencies..."

So add a proxy for the domain "dl-cdn.alpinelinux.org"
then it will be very quick, however get the failure below

Installing imagemagick via apk...
Installing PHP build dependencies...
WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.16/main: Permission denied
ERROR: unable to select packages:
Could not install build-deps!
Installing Imagick via PECL...
error: 'imagick' does not exist

Describe the solution you'd like

Search on the internet, seems there is solution below
RUN sed 's/https/http/g' -i /etc/apk/repositories
RUN apk update
RUN apk add --no-cache bash

Can we also add this in the startup.sh file before installing the php extensions ?
or some other better solution ? Thanks
@szaimen

Describe alternatives you've considered

Additional context

@vicjoe vicjoe added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Dec 12, 2022
@szaimen
Copy link
Collaborator

szaimen commented Dec 12, 2022

This looks like a proxy issue on your side based on e.g. docker-library/openjdk#402 so you should rather fix this yourself. Also reducing the security is not something we will do.

@nextcloud nextcloud locked and limited conversation to collaborators Dec 12, 2022
@szaimen szaimen converted this issue into discussion #1511 Dec 12, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants