| 30 Jan 2024 |
hexa | exactly | 00:44:24 |
hexa | more env vars to find | 00:44:32 |
hexa | but also the message, that it did not find the config | 00:44:42 |
hexa | absolute paths in the env var work | 00:45:10 |
Lily Foster | In reply to @hexa:lossy.network more env vars to find looks like it gets those dirs all from the config.js | 00:45:42 |
Lily Foster | ohh yeah it did fail to load config | 00:46:03 |
Lily Foster | i can't read. am tired | 00:46:08 |
hexa | ❯ CRYPTPAD_CONFIG=$(pwd)/config/config.js ./result/bin/cryptpad-server
/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/lib/log.js:102
throw err;
^
[Error: EROFS: read-only file system, mkdir '/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/data'] {
errno: -30,
code: 'EROFS',
syscall: 'mkdir',
path: '/nix/store/h0iylf7szzwl1yvpcxgs350w5ribv12a-cryptpad-5.6.0/lib/node_modules/cryptpad/data'
}
Node.js v20.11.0
| 00:46:14 |
hexa | it uses relative paths through the example config | 00:46:47 |
hexa | and relative always mean relative to the package, not to my cwd | 00:47:01 |
hexa | and no common base path o_O | 00:47:45 |
Lily Foster | what's in your config.js? | 00:48:00 |
hexa | https://github.com/cryptpad/cryptpad/blob/5.6.0/config/config.example.js | 00:48:21 |
hexa | all default for now | 00:48:24 |
Lily Foster | ohhhh i see what you're saying | 00:48:25 |
Lily Foster | yeah | 00:48:32 |
Lily Foster | that, uh, does sound silly | 00:48:40 |
hexa | ok, it is up, doesn't even log startup things | 00:52:05 |