What is Nostr?
Mark
npub1nct…kuxk
2023-02-05 21:37:52

Mark on Nostr: Looking for a little help with nostream and postgress please. I had a relay working ...

Looking for a little help with nostream and postgress please. I had a relay working but not get this error and think it might be because I hit Ctrl + C in the terminal rather than running scripts/stop

Is anyone able to offer a little help please?

ubuntu@privaterelay:~/nostream/.nostr$ ../scripts/start
[+] Building 0.0s (5/15)
=> [internal] load .dockerignore 0.0s
=> => transferring context: 248B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 702B 0.0s
=> [internal] load metadata for docker.io/library/node:18-alpine3.16 0.0s
=> ERROR [internal] load build context 0.0s
=> => transferring context: 2.01MB 0.0s
=> [build 1/6] FROM docker.io/library/node:18-alpine3.16 0.0s
------
> [internal] load build context:
------
failed to solve: error from sender: open /home/ubuntu/nostream/scripts/.nostr/data: permission denied

ubuntu@privaterelay:~/nostream/.nostr$ ll
total 20
drwxrwxr-x 4 ubuntu ubuntu 4096 Feb 5 21:00 ./
drwxrwxr-x 14 ubuntu ubuntu 4096 Feb 5 21:24 ../
drwx------ 19 999 root 4096 Feb 5 19:13 data/
drwxr-xr-x 2 root root 4096 Feb 4 19:38 db-logs/
-rwxrwxr-x 1 ubuntu ubuntu 3431 Feb 5 21:00 settings.yaml*

I think the permissions are likely correct because if I change them then run clean followed by start, it sets them back. ARRRRGH!
Author Public Key
npub1nctdevxxuvth3sx6r0gutv4tmvhwy9syvpkr3gfd5atz67fl97kqyjkuxk