Failed updating Alpine packages repository indexes

Hello everyone,

I am new “in this world” so please be patient with me.

I just installed hassio using docker on the raspberry pi 4 and now I am trying to install node-red addon but I’m facing this error:

[cont-init.d] node-red.sh: executing... 
[11:22:25] INFO: Password is NOT in the Have I Been Pwned database! Nice!
[11:22:26] INFO: Password is NOT in the Have I Been Pwned database! Nice!
patching file nodes/ui_base.html
Hunk #1 succeeded at 1243 (offset 712 lines).
[cont-init.d] node-red.sh: exited 0.
[cont-init.d] user.sh: executing... 
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/armv7/APKINDEX.tar.gz
ERROR: http://dl-cdn.alpinelinux.org/alpine/v3.10/main: Permission denied        <----
WARNING: Ignoring APKINDEX.00740ba1.tar.gz: No such file or directory
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armv7/APKINDEX.tar.gz
v3.10.2-42-g95d37f7648 [http://dl-cdn.alpinelinux.org/alpine/v3.10/community]
v20190809-2856-g3edd1481b3 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20190809-2867-g27aea07b1a [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20190809-2865-g4ed652205f [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
1 errors; 18661 distinct packages available
[11:22:28] FATAL: Failed updating Alpine packages repository indexes
[cont-init.d] user.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------

I am using this config ( the same as the template from https://github.com/hassio-addons/addon-node-red/blob/v4.1.1/README.md ) :

{
  "credential_secret": "xxxxxx",
  "dark_mode": false,
  "http_node": {
    "username": "nodered",
    "password": "xxxxxxx"
  },
  "http_static": {
    "username": "nodered",
    "password": "xxxxxxx"
  },
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "require_ssl": false,
  "system_packages": [
    "ffmpeg"
  ],
  "npm_packages": ["node-red-admin"],
  "init_commands": [
    "echo 'This is a test'",
    "echo 'So is this...'"
  ]
}

I want to mention that I am not using any proxy, either any “hardcore” config.
Has anyone any idea how can I fix this error or any workaround?

Thank you,
Catalin

The real error is this:

It seems like permissions are messed up on the data directory

Hello,

Yes, but I don’t have any idea how to skip this step.
Seems nobody can install now the node-red as that file is not accessible.

Thanks.

I can certainly access that directory in my browser. Probably a temporary glitch.

Hello,

I reinstalled rpi OS and hassio and now seems the problem dissapeared.
Thank you all for the support.

B.R.
Catalin

As I said, probably just a temporary glitch on the alpinelinux server mirror. Reinstallation is a bit steep.

1 Like