Recipes icon indicating copy to clipboard operation
Recipes copied to clipboard

After NSS2CSS migration : Root no longer has a Link header with rel="type" to space:storage

Open bourgeoa opened this issue 10 months ago • 1 comments

@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.

  1. I checked the profile and don't see any notable difference.

  2. The migration was done with :

  • creating a new server and let it running while migrating
  • file creating the user accounts in www/.internal/accounts/data and www/.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/.meta will it be recreated ?
    • else can we simply add a triple : <> a <http://www.w3.org/ns/pim/space#Storage> in root/.meta

bourgeoa avatar Mar 17 '25 12:03 bourgeoa

  • else can we simply add a triple : <> a <http://www.w3.org/ns/pim/space#Storage> in root/.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

joachimvh avatar Mar 17 '25 14:03 joachimvh