[BUG] Installation permission problem
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
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
- Inclui um Dockerfile ou arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de cameri/nostream
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 45/100
Mantenedores costumam responder em até 1 dia
-
feat(nip77): advertise NIP-77 in NIP-11 and expose its settings in the admin consoleTalvez já em andamento @Priyanshubhartistm assumiu hoje. Abertaenhancement
cameri/nostream#819 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
feat(nip77): NEG-OPEN/NEG-MSG/NEG-CLOSE wire protocol for the PostgreSQL backendTalvez já em andamento @Priyanshubhartistm assumiu hoje. Abertaenhancement
cameri/nostream#817 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
[Admin Console] Ops visibility panels (mirror, workers, NIP-05, storage)Talvez já em andamento @Ferryx349 assumiu hoje. AbertaAdmin Console enhancement
cameri/nostream#816 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de cameri/nostream
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
microsoft/playwright#43327 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
microsoft/TypeScript#64758 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
opensearch-project/OpenSearch-Dashboards#12937 ·
Mantenedores costumam responder em até 2 dias
-
Liveness marks block-included attesters live in the block's epoch instead of the attestation's epochAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
status: needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
a2ui-project/a2ui#3158 ·
Mantenedores costumam responder em até 2 dias