Closed renyuneyun closed 2 years ago
Thanks for reporting. I added it to bug issue
@renyuneyun This should be resolved with the test-version of mashlib@1.7.20-401 It shall solve all problems related to the sharing-pane in CSS. Can you report the findings.
@bourgeoa Thanks for the work! I tested it, but still encounter the 401 errors when opening sharing-panel and when modifying the sharing setting.
In case I did anything wrong, I would like to check my steps in using the newer version of mashlib:
/root/mashlib/
.git checkout origin/error401
dist/
directory: npm install --dev && npm run build
.community-server-recipe
(cloned previously; not described in the steps here), modify packages.json
to point to the mashlib cloned locally: "mashlib": "file:/root/mashlib"
.npm install && npm ci --production
npx community-server ARGUMENTS
.I would not use you way of installing the new mashlib. I'm not in front of my computer I would in recipe mashlib modify the version used mashlib@1.7.17 (I think) replacing with mashlib@1.7.20-401. Then everything else (nom ci ...) as documented.
Thanks @bourgeoa ! That works for me. And I no longer encounter 401 in both cases.
It's interesting to see the difference. I may need to better learn npm (etc) to find out what I did wrong.
I'm encountering this issue on CSS (Community Solid Server), but not on
solidcommunity.net
(which runs Node Solid Server, as far as I'm told).After setting up the server using mashlib recipe, and logging in to my user account over the mashlib, I navigated to my storage. Opening any folder works fine. When clicking on the "lock" button, it open the sharing setting pane initially. Coming back to the folder tree, and back to the "lock" button, it no longer opens the sharing setting pane. The same also happens when opening some other folders, clicking on the "lock" button; same is true (i.e. won't open) when moving back to the original folder.
After refreshing the webpage, I'm back to initial: can open the sharing setting panel initially, but not the second time.
When opening the sharing pane (including the "correctly opening" case), there is often a warning on the console:
This often happens, but not always. Not sure if this is related to the incorrect permission of my avatar file (which is a separate issue on its own).