Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[BUG] Installation permission problem

Aberta
#360 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@cameri já está trabalhando nisso.

Desde 31/1/2024.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

bug

Describe the bug
During the installation, when try to start realy after modification (second time) of configuration file (first run works fine) i've this error:
node@vmi1610975:~$ ./scripts/start
WARN[0000] The "NODELESS_WEBHOOK_SECRET" variable is not set. Defaulting to a blank string.
WARN[0000] The "OPENNODE_API_KEY" variable is not set. Defaulting to a blank string.
WARN[0000] The "ZEBEDEE_API_KEY" variable is not set. Defaulting to a blank string.
WARN[0000] The "LNBITS_API_KEY" variable is not set. Defaulting to a blank string.
WARN[0000] The "SECRET" variable is not set. Defaulting to a blank string.
WARN[0000] The "NODELESS_API_KEY" variable is not set. Defaulting to a blank string.
[+] Building 0.2s (5/15) docker:default
=> [nostream internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 702B 0.0s
=> [nostream internal] load metadata for docker.io/library/node:18-alpine3.16 0.0s
=> [nostream internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> ERROR [nostream internal] load build context 0.1s
=> => transferring context: 5.35kB 0.0s
=> [nostream build 1/6] FROM docker.io/library/node:18-alpine3.16 0.0s

[nostream internal] load build context:


failed to solve: error from sender: open /home/node/.nostr/data: permission denied

The permission of ./data:
drwxrwxr-x 4 node node 4096 Jan 31 10:58 .
drwxr-x--- 13 node node 4096 Jan 31 11:26 ..
drwx------ 19 systemd-coredump root 4096 Jan 31 10:53 data
drwxr-xr-x 2 root root 4096 Jan 31 10:52 db-logs
-rwxrwxr-x 1 node node 4272 Jan 31 10:58 settings.yaml

I noticed that in guide the user to create should be nostream while in docker-compose file the path is /home/node, here a piece of code example from docker-compose.yaml

services:
nostream:
build: .
container_name: nostream
environment:
SECRET: ${SECRET}
RELAY_PORT: 8008
# Master
NOSTR_CONFIG_DIR: /home/node/.nostr

  • OS: [Ubuntu 22]
  • Platform: [docker]
  • Version: [25.0.1, build 29cf629]

thanks Davide

Linguagem predominante
TypeScript
Estrelas
829
Forks
234
Merge médio
2d 10h
PRs com merge (30d)
24

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cameri/nostream

Todas as issues de cameri/nostream

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.