Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

[BUG] Installation permission problem

Offen
#360 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@cameri arbeitet bereits daran.

Seit 31.1.2024.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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

Vorherrschende Sprache
TypeScript
Sterne
829
Forks
234
Ø Merge
2 T. 10 Std.
Gemergte PRs (30 T.)
24

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cameri/nostream

Alle Issues in cameri/nostream

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.