After NSS2CSS migration : Root no longer has a Link header with rel="type" to space:storage
@joachimvh After migration of https://solidcommunity.net from NSS2CSS Root no longer has a Link header with rel="type" to space:storage. see https://github.com/solid/solidcommunity.net/issues/78
When creating a new account the new pod shows a Root with a Link header with rel="type" to space:storage.
The issue should come from the migration.
-
I checked the profile and don't see any notable difference.
-
The migration was done with :
- creating a new server and let it running while migrating
-
file creatingthe user accounts inwww/.internal/accounts/dataandwww/.internal/accounts/index - pods where copied from NSS
The only difference I can see is in the root/.meta
- in first place does is it checked from the profile ?
- where does CSS takes the space:Storage Header from ?
- What solution can be implemented ?
- if I delete the
root/.metawill it be recreated ? - else can we simply add a triple :
<> a <http://www.w3.org/ns/pim/space#Storage>inroot/.meta
- if I delete the
- else can we simply add a triple :
<> a <http://www.w3.org/ns/pim/space#Storage>inroot/.meta
This should fix the issue yes. A resource with that triple in its metadata will receive the corresponding link header. New pods will have this as it is part of the template: https://github.com/CommunitySolidServer/CommunitySolidServer/blob/v7.1.6/templates/pod/base/.meta