Closed michielbdejong closed 1 year ago
I think this was because I hadn't rebuilt the NC docker image, it couldn't find the getSciencemeshHelper
function on the ShareAPIController, that's an issue I already fixed earlier this week.
Next error:
This version of Nextcloud requires at least PHP 8.0
You are currently running 7.4.3-4ubuntu2.17. Please update your PHP version.
Next error: Error creating the share: Sharing /einstein/files/asdf failed because the back end does not support sciencemesh shares
Could not resolve OCA\ScienceMesh\Sharing\ShareAPIHelper! Class "OCA\ScienceMesh\Sharing\ShareAPIHelper" does not exist
Could not resolve OCA\ScienceMesh\Sharing\ShareAPIHelper! Class "OCA\ScienceMesh\Sharing\ShareAPIHelper" does not exist
fixed with https://github.com/pondersource/nc-sciencemesh/commit/cad153f1531971951cf738359c47eb63b1447d7e
Apparently DI could not find OCA\ScienceMesh\Sharing\ShareAPIHelper
when it was in lib/ShareProvider/ShareAPIHelper.php
but it can find it if it's in lib/Sharing/ShareAPIHelper.php
.
Note the similarity between the file path of the code and the namespace path of the class.
After fixing #132 there still is a generic "failed to create share" error.