实体服务器(Tim Berners-Lee 爵士和麻省理工学院的项目)没有加载正确的配置

Solid server (project by Sir Tim Berners-Lee and MIT) not loading correct configuration

我正在尝试旋转 Solid Server。我已按照 Solid 项目 (https://solid.inrupt.com/docs) 的说明设置服务器。但是,当服务为运行时,启动失败,抱怨路径未定义:

● solid.service - solid - Social Linked Data
Loaded: loaded (/lib/systemd/system/solid.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2018-10-01 21:47:49 UTC; 4s ago
 Docs: https://solid.inrupt.com/docs/
Process: 2519 ExecStart=/usr/bin/solid start -v (code=exited, status=0/SUCCESS)
Main PID: 2519 (code=exited, status=0/SUCCESS)

Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Config path: ./config
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Suffix Acl: .acl
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Suffix Meta: .meta
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Filesystem Root: /var/www/my.server.com/
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Allow WebID authentication: true
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Live-updates: true
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Multi-user: false
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Suppress default data browser app: undefined
Oct 01 21:47:49 Mars solid[2519]: Mon, 01 Oct 2018 21:47:49 GMT solid:settings Default data browser app file path: default
Oct 01 21:47:49 Mars solid[2519]: ERROR Path must be a string. Received undefined

从这个日志来看,solid 似乎仍在尝试从 ~/.config 路径读取配置,尽管当我 运行 solid init 命令时,我将位置更改为 /var/www/my.server.com/config/config.json.所以问题是我该如何解决这个问题?如果服务器没有加载当前配置或加载缓存配置,我该如何清除它?

如果能提供任何帮助,我将不胜感激。谢谢

我 运行 遇到了完全相同的问题(之后更多...)

为我解决的问题是将 config.json 移动到 /var/www/my.solid.server 而不是 config/ 子目录中。服务定义指向 'var/www/my.solid.server' 作为其工作目录,solid 可执行文件尝试在该文件夹中找到 config.json。

文档非常简单。希望他们继续发展这个好主意。希望对您有所帮助。