node-solid-server icon indicating copy to clipboard operation
node-solid-server copied to clipboard

update running NSS version of a Solid sever

Open bourgeoa opened this issue 6 years ago • 6 comments

@jaxoncreed

Actually there is now way to see the real running version on solid.community or dev.inrupt.net and inrupt.net displays NSS 5.1.4 When creating a clean new server the NSS version is displayed

Could it be related to the migration process from one version to the next where : data/solidServerName/index.html is not updated (solidServerName being solid.community or inrupt.net .....)

bourgeoa avatar Nov 07 '19 10:11 bourgeoa

curl -i https://solidweb.org e.g. tells the version.

after an update I edit data/solidServerName/index.html manually, cause there seems to be no automation.

see https://github.com/ewingson/solidweb.org/blob/master/src/index.html

ewingson avatar Aug 19 '21 07:08 ewingson

can you please assign this task to me so that I can work on it

Karankhatik avatar Apr 17 '23 21:04 Karankhatik

@Karankhatik I created a new branch nss-version and assigned the issue to you I'm looking for help to maintain NSS.

git fetch origin
git checkout nss-version

bourgeoa avatar Apr 17 '23 21:04 bourgeoa

I set up it on my local and i am unable to find this data/solidServerName/index.html can you please provide me more detail about current dir structure.

Karankhatik avatar Apr 18 '23 03:04 Karankhatik

https://github.com/nodeSolidServer/node-solid-server/blob/main/default-templates/server/index.html This is the file used as a model when creating a new server.

On a running server the server root index.html is not updated when installing a new NSS version.

bourgeoa avatar Apr 18 '23 04:04 bourgeoa

On a running server the server version is accessible via X-Powered-By

$ curl -I https://bourgeoa.solidcommunity.net/chats/ HTTP/1.1 200 OK X-Powered-By: solid-server/5.7.7 Vary: Accept, Authorization, Origin Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: Authorization, User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate, MS-Author-Via, X-Powered-By Allow: OPTIONS, HEAD, GET, PATCH, POST, PUT, DELETE Link: <.acl>; rel="acl", <.meta>; rel="describedBy", http://www.w3.org/ns/ldp#Container; rel="type", http://www.w3.org/ns/ldp#BasicContainer; rel="type" WAC-Allow: user="read",public="read" MS-Author-Via: SPARQL Updates-Via: wss://bourgeoa.solidcommunity.net Content-Type: application/octet-stream; charset=utf-8 Content-Length: 2 ETag: W/"2-nOO9QiTIwXgNtWtBJezz8kv3SLc" Date: Tue, 18 Apr 2023 21:40:15 GMT Connection: keep-alive Keep-Alive: timeout=5

bourgeoa avatar Apr 19 '23 08:04 bourgeoa