CSS configuration file : Dead context link , starting CSS fails #1846
Replies: 1 comment
-
The fact that they can't be dereferenced is a known issue LinkedSoftwareDependencies/npm-extraction-server#9. But in practice that shouldn't matter though. If Components.js tries to dereference a context that generally is an indication something is wrong. That behaviour is probably going to be disabled in the future to make that more clear LinkedSoftwareDependencies/Components.js#119. Components.js should be able to find the relevant file in the project itself. These files are generated after the build script is executed (which happens automatically after installing dependencies). The context specifically should be in Since you are using the docker image, I'm not sure why this wouldn't have happened automatically though, as the build is part of the docker steps. Perhaps something went wrong with the image after the restart? As for the second error, I'm not sure what the cause is there. It might be a consequence of the previous error. |
Beta Was this translation helpful? Give feedback.
-
We were running a CSS v5 in docker on an AWS EC2 instance in a research project.
After need to restart / reploy the CSS on AWS, we get the error message when trying to start the CSS:
Error while parsing file "/config/solid-server-config.json": Failed to load remote context https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld: Not Found
We also noticed that a css configuration file created by the configuration generator (https://communitysolidserver.github.io/configuration-generator/v7/) also always contains a dead context link, regardless of the css version created for.
Inserting an additional subpath ("dist") in the context link for testing didn't solve the problem either.
https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/**dist**/components/context.jsonld.
We only get a different error message later on in the startup process:
Error while parsing file "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/config/app/main/default.json": stream.on is not a function. Maybe because the context link in this json file is also dead?
We would be grateful for some hints, advices.
Beta Was this translation helpful? Give feedback.
All reactions