Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 20:52
    @RubenVerborgh banned @mikeadams1
ch1ch0gz
@ch1ch0gz
currently I get a "No ACL document found for root container" when trying to log in...
Jeff Zucker
@jeff-zucker
does /var/www/css/.acl exist? If not, copy one there from the templates/root folder of CSS
ch1ch0gz
@ch1ch0gz
it does exists and I also tried copying from the template
Joachim Van Herwegen
@joachimvh
@ch1ch0gz did you use the config from the first comment or the third comment in the gist? Because there was an issue with the one in the first comment (that causes that specific error)
the way that config is written the acl resources would be stored in the sparql endpoint, not the file system. The file system is only used for some internal data management of the server
13 replies
Matthias Evering
@ewingson
@joachimvh can you have a look at https://gist.github.com/ewingson/ec12d9a85744428d8d68816408287ae3 (the CSS config section) ? in particular if a config location starts with / ? is that seen from the CSS directory or the file system root ? @jeff-zucker gave me the hint to store the config outside of the CSS location, because otherwise it wouldn't survive a potential update... do you think that config would work ? (will go into production when we have production mashlib) .... thanx
7 replies
Theo
@joeitu

Hello,

As part of my CS master thesis, I will work on the deployment of a CSS instance at CERN.

With Maria, we established two main features to work on: the integration of a UI and the integration of an SSO login.

To make my thesis valid toward my university, I must: ① "make something new" like writing a new piece of software ② be able to measure its success ( for eg. through tests or interviews)

I would like to ask the CSS developers two things: First, do you have some pointers on what I could work on regrading the UI and/or the SSO integration that could meet my university requirement. Secondly, considering the 3.5 month timeframe that I have, do you believe both (SSO and UI) are doable or should I focus only on one of them ?

6 replies
Ángel Araya
@angel.araya:matrix.org
[m]

Hi! While writing a custom configuration I'm getting this:

ErrorResourcesContext: Could not find (valid) component types for config "urn:solid-server:default:ResourceStore" among its types, or a requireName

In my config I have this:

    {
      "@id": "urn:solid-server:default:ResourceStore",
      "@type": "DataAccessorBasedStore",
      "DataAccessorBasedStore:_accessor": {
        "@id": "urn:solid-server:default:SqlDataAccessor"
      },
      "DataAccessorBasedStore:_identifierStrategy": {
        "@id": "urn:solid-server:default:IdentifierStrategy"
      },
      "DataAccessorBasedStore:_auxiliaryStrategy": {
        "@id": "urn:solid-server:default:AuxiliaryStrategy"
      }
    },
    {
      "@id": "urn:solid-server:default:SqlDataAccessor",
      "@type": "SqlDataAccessor",
      "SqlDataAccessor:_identifierStrategy": {
        "@id": "urn:solid-server:default:IdentifierStrategy"
      },
      "SqlDataAccessor:_database": {
        "@id": "urn:solid-server:default:Database"
      },
      "SqlDataAccessor:_schema": "public"
    },

The IdentifierStrategy and AuxiliaryStrategy are the default ones. Any ideas? To me it looks like it has all that's needed to create a ResourceStore.

Joachim Van Herwegen
@joachimvh
looks fine at a first glance
maybe this config file isn't being imported in the main config?
Ángel Araya
@angel.araya:matrix.org
[m]
It's actually in the main config file. Another thing to I should mention is that this project has CSS as a dependency and imports the default configuration files from node_modules/@solid/community-server/config. I defined my project as a module following the documentation for componentsjs.
Joachim Van Herwegen
@joachimvh
@angel.araya:matrix.org It's hard to tell from just the example above, but the Components.js error seems to indicate that it's not finding your resource store. Perhaps this can help, it's another project that has a configuration that uses CSS as a dependency and also has a config with custom stores: https://github.com/KNowledgeOnWebScale/solid-calendar-store/
1 reply
Theo
@joeitu

Hello @RubenVerborgh @joachimvh

As said earlier I'm doing a Computer Science master thesis on the integration of CSS at CERN. Especially, I'll be working on the integration of CERN's SSO with CSS.

For that purpose, and as Ruben informed me, I'll have to implement a new identification interaction. If I understand well, the email identification interaction is the only one that exists for now, and to be able to login with CERN SSO, an OpenID interaction needs to be implemented.
This would suit me well as it would fulfill one of my thesis requirements: code something new.

Could you confirm that this is not implemented in the current CSS yet?

2 replies
Matthias Evering
@ewingson

in NSS we have /var/www/servername/data/user/index.html for pod root

and /var/www/servername/index.html for server root.

in CSS we have /usr/lib/node_modules/@solid/community-server/templates/root/index.html

that generates the server root in /var/www/servername/index.html

where is the template for the user pod root in CSS ?
will changes only apply for new users ?
will we take the new authN for both servers ?
things to keep an eye on...

is it the goal to make SolidOS standard on both ?

5 replies
sorry for the poor markdown
Ruben Verborgh
@RubenVerborgh
There will be no standard UI; instead, people can choose the UI to start the server with
Examples of such choices here: https://github.com/solid/community-server-recipes
Jeff Zucker
@jeff-zucker
After git clone of 1.1.0 main, npm ci produces :
error TS2688: Cannot find type definition file for 'node-fetch'.
The file is in the program because:
 Entry point for implicit type library 'node-fetch'
Jeff Zucker
@jeff-zucker
^^ Submitted an issue solid/community-server#979
Jeff Zucker
@jeff-zucker
If anyone would like to try the beta of the mashlib against CSS, get an account on solidweb.me and then go to the address below and use its go bar to go to your solidweb account and login. https://jeff-zucker.solidcommunity.net:8443/browse.html
aveltens
@aveltens:matrix.org
[m]
works! great!
jaxoncreed
@jaxoncreed
Quick question: Is there any way to create new classes to plug into CSS without forking the library and adding them there? I see in https://github.com/solid/community-server-recipes that its posible to set up new configurations without modifying the main repo, but these examples don’t show using classes outside of the main library. Is there a way to do this? If so, where can I find an example?
Justin Bingham
@justinwb
@jaxoncreed we just went through the same thing - if you ping @angel.araya:matrix.org he can show you how we went about it
jaxoncreed
@jaxoncreed
Thanks
Ángel Araya
@angel.araya:matrix.org
[m]

@angel.araya:matrix.org It's hard to tell from just the example above, but the Components.js error seems to indicate that it's not finding your resource store. Perhaps this can help, it's another project that has a configuration that uses CSS as a dependency and also has a config with custom stores: https://github.com/KNowledgeOnWebScale/solid-calendar-store/

jaxoncreed (jaxoncreed) I based most of my work in this working example. But let me know if your get stuck anywhere, it might be something I also ran into.

Ruben Verborgh
@RubenVerborgh
@jaxoncreed Also an example in https://github.com/RubenVerborgh/solid-hue
Ruben Verborgh
@RubenVerborgh
Enjoy v2.0.0 of the Community Solid Server — https://github.com/solid/community-server/releases/tag/v2.0.0
Justin Bingham
@justinwb
:clap:
Ruben Verborgh
@RubenVerborgh
Thanks all for your support!
Pete Edwards
@edwardsph
Congratulations - great work!
Ruben Taelman
@rubensworks
Nice work! :rocket:
Justin Bingham
@justinwb

The Solid Editorial Team would like to increase communication with and receive feedback from community members and organizations who are actively implementing Solid compliant server or client technologies, with an aim to:

  • Learn which features or issues are high / low priority, and where applicable, adjust timelines or editorial priorities. This could impact the order in which features are integrated into Solid specifications
  • Surface, discuss, and track open questions or concerns
  • Learn the best way to structure subsequent sessions, and other mechanisms for feedback (e.g. surveys)

Date: Thursday, October 21st, 2021
Duration: 1 Hour
Start Time: UTC: 2PM / EDT (Boston): 10AM / BST (London): 3PM / CEST (Brussels): 4PM / JST (Tokyo): 11PM
URL: https://global.gotomeeting.com/join/654935701

This session is open to the public, and we welcome everyone to attend this session. In an effort to maintain a focus on implementation feedback, only individuals actively engaged in Solid compliant server or client implementation work will be queued to speak by the moderator.

To actively participate, an implementer must:

  1. Be a member of the Solid Community Group

  2. RSVP in advance to feedback@solidproject.org. Must be able to cite active implementation work. Legitimate citations include links to Github repositories, links to product descriptions on websites, or otherwise credible explanation of active work efforts.

Implementers are requested to submit questions, issues, or topics in advance to feedback@solidproject.org, ideally as part of the RSVP. Given the allotted time, space on the agenda will be limited.

Minutes will be recorded, and posted to https://github.com/solid/specification/tree/main/meetings.

Also see https://forum.solidproject.org/t/solid-implementer-feedback-session/4754.

1 reply
Justin Bingham
@justinwb
Please note - for the implementer session posted above - we’re changing the meeting to use https://meet.jit.si/solid-implementer-feedback rather than the posted gotomeeting URL.
Matthias Evering
@ewingson
@RubenVerborgh @joachimvh a) how do I update CSS on the shell ? I tried npm upgrade -g @solid/community-server but became no "success"-logging. that leads me to part b) how do I find the installed version of CSS ? curl -i https://solidweb.me gives no info. do we have a -v option ?
my guess if the upgrade doesn't work would be a npm install in the hope that it overwrites the actual, but want this to make sure works and discuss with you before
Matthias Evering
@ewingson
//of course I meant "got", not "became", but that's cause it's not my mother tongue ;-)
Joachim Van Herwegen
@joachimvh
@ewingson I actually don't have a lot of experience with global npm packages but from what I read you have to use npm update -g ...
good point that the server doesn't expose its version, we might want to update our x-powered-by header in the future to include the version number
Ruben Verborgh
@RubenVerborgh
I can confirm it's npm update -g @solid/community-server
We have a version command indeed:
$ community-solid-server --version
2.0.0
We purposely do not expose a version number over HTTP for security reasons
Matthias Evering
@ewingson
thanx
Matthias Evering
@ewingson

@joachimvh @RubenVerborgh @bourgeoa @timbl @jeff-zucker @aveltens:matrix.org @SharonStrats @theRealImy
cross-post in node-solid-server and community-server

I got NSS 5.6.9-beta with old index.html and CSS 1.1.0 running on solidweb.org and solidweb.me.
unfortunately I have messed up node installations when introducing nvm.
but... both systems are up and running.
if I got time and leisure (in the sense of the german word "Muße") I will build the root machine from scratch and bring everything on the actual level (after getting okay from you), so potential 5.6.11 and 2.0.0 including nvm from the very beginning.

back-up'ing the users and save them should be no problem.

have a good weekend and stay tuned. ewingson

aveltens
@aveltens:matrix.org
[m]
Thanks for your efforts. I do not have any important data there but it is very useful for testing
Matthias Evering
@ewingson
saving and restoring will work. I did that once before.
Tim Berners-Lee
@timbl
Are the two server s running on the same filestore?
@ewingson ^ ? That would be an interesting test of switching between them
Matthias Evering
@ewingson
you mean they use the same kb in the codebase ? no completely indepentent, they just share the same root machine. I got /var/www/solidweb.org and /var/www/solidweb.me setup. so different webroots, different certs, one NSS and one CSS, just the same IP.