Title: [BUG] Installation permission problem · Issue #360 · cameri/nostream · GitHub
Open Graph Title: [BUG] Installation permission problem · Issue #360 · cameri/nostream
X Title: [BUG] Installation permission problem · Issue #360 · cameri/nostream
Description: 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" ...
Open Graph Description: 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 W...
X Description: 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/sta...
Opengraph URL: https://github.com/cameri/nostream/issues/360
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Installation permission problem","articleBody":"**Describe the bug**\r\nDuring the installation, when try to start realy after modification (second time) of configuration file (first run works fine) i've this error:\r\nnode@vmi1610975:~$ ./scripts/start\r\nWARN[0000] The \"NODELESS_WEBHOOK_SECRET\" variable is not set. Defaulting to a blank string. \r\nWARN[0000] The \"OPENNODE_API_KEY\" variable is not set. Defaulting to a blank string. \r\nWARN[0000] The \"ZEBEDEE_API_KEY\" variable is not set. Defaulting to a blank string. \r\nWARN[0000] The \"LNBITS_API_KEY\" variable is not set. Defaulting to a blank string. \r\nWARN[0000] The \"SECRET\" variable is not set. Defaulting to a blank string. \r\nWARN[0000] The \"NODELESS_API_KEY\" variable is not set. Defaulting to a blank string. \r\n[+] Building 0.2s (5/15) docker:default\r\n =\u003e [nostream internal] load build definition from Dockerfile 0.0s\r\n =\u003e =\u003e transferring dockerfile: 702B 0.0s\r\n =\u003e [nostream internal] load metadata for docker.io/library/node:18-alpine3.16 0.0s\r\n =\u003e [nostream internal] load .dockerignore 0.0s\r\n =\u003e =\u003e transferring context: 2B 0.0s\r\n =\u003e ERROR [nostream internal] load build context 0.1s\r\n =\u003e =\u003e transferring context: 5.35kB 0.0s\r\n =\u003e [nostream build 1/6] FROM docker.io/library/node:18-alpine3.16 0.0s\r\n------\r\n \u003e [nostream internal] load build context:\r\n------\r\nfailed to solve: error from sender: open /home/node/.nostr/data: permission denied\r\n\r\nThe permission of ./data:\r\ndrwxrwxr-x 4 node node 4096 Jan 31 10:58 .\r\ndrwxr-x--- 13 node node 4096 Jan 31 11:26 ..\r\ndrwx------ 19 systemd-coredump root 4096 Jan 31 10:53 data\r\ndrwxr-xr-x 2 root root 4096 Jan 31 10:52 db-logs\r\n-rwxrwxr-x 1 node node 4272 Jan 31 10:58 settings.yaml\r\n\r\nI 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\r\n\r\nservices:\r\n nostream:\r\n build: .\r\n container_name: nostream\r\n environment:\r\n SECRET: ${SECRET}\r\n RELAY_PORT: 8008\r\n # Master\r\n NOSTR_CONFIG_DIR: /home/node/.nostr\r\n\r\n\r\n\r\n - OS: [Ubuntu 22]\r\n - Platform: [docker]\r\n - Version: [25.0.1, build 29cf629]\r\n\r\nthanks Davide","author":{"url":"https://github.com/asyscom","@type":"Person","name":"asyscom"},"datePublished":"2024-01-31T10:30:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/360/nostream/issues/360"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e66fd347-83d2-ae4f-814e-29c0270b75c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86DA:2CD6FC:3920C2:4E193F:697CDFE9 |
| html-safe-nonce | 07d0bca933ead36b3dc51967e856abfbde94aa948478848e72d59994a7b3447d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkRBOjJDRDZGQzozOTIwQzI6NEUxOTNGOjY5N0NERkU5IiwidmlzaXRvcl9pZCI6IjY3MTMwOTA4MjgwOTQyMDE4MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0e8af629b9ccfdbb9dad1fc9f133f2f9ac891de412378ba9f4ec57f200bfaee5 |
| hovercard-subject-tag | issue:2109780864 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cameri/nostream/360/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c3c02ab10d68bd5b0b0dfbcb6ffa2cd6629bc92b0c39e4d43d0b5344b5bb657/cameri/nostream/issues/360 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c3c02ab10d68bd5b0b0dfbcb6ffa2cd6629bc92b0c39e4d43d0b5344b5bb657/cameri/nostream/issues/360 |
| og:image:alt | 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 W... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asyscom |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f20df5019a7f846ce01350c443b1b5209bcc8b08d1ff80f92fdef440a0c7c89 |
| turbo-cache-control | no-preview |
| go-import | github.com/cameri/nostream git https://github.com/cameri/nostream.git |
| octolytics-dimension-user_id | 378886 |
| octolytics-dimension-user_login | cameri |
| octolytics-dimension-repository_id | 482383845 |
| octolytics-dimension-repository_nwo | cameri/nostream |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 482383845 |
| octolytics-dimension-repository_network_root_nwo | cameri/nostream |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0f08fae6208283a46e6e5febf9878b9cdddfaa23 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width