-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.0 upgrade breaks occ #395
Comments
I can confirm this bug for groupfolders 3.0.0 with NC 15.0.7 and php 7.0 on Ubuntu 16.04. Otherwise, no further problems seem to occur with groupfolders on a first check. |
Same for me. Need to run a files:scan, but I am unable to do so - due to the exact same error. NC 15.0.7, PHP |
Same on attempting maintenance mode via occ command, setup similar to Nils160988 I noticed the following line in the logs on upgrading to 3.0.0 & disabling:
|
I can confirm this bug for groupfolders 3.0.0 with NC 15.0.7.0 and PHP 7.0.33 on a Debian 9 server. occ seems to get broken completely by this app version i.e. including the maintenance command. You may take a look at Groupfolder 3.0.0. breaks occ for a workaround procedure and for a downgrade to the 2.0.4 version. |
Since this seems to be a severe error because it breaks nextcloud itself, it might be a possibility to stop the delivery of version 3.0.0 for Nextcloud 15 until there is a fix. |
Thanks for reporting. We have removed the 14/15 compatibility for the 3.0.0 release of the app store. If you have already upgraded you should follow the instructions in https://help.nextcloud.com/t/groupfolder-3-0-0-breaks-occ/52212 to restore the old version. |
Manual fixing isn't a good solution as you have thousands of broken systems out there already. |
nextcloud/apps/groupfolders/lib/Command/ACL.php That fixed for me. |
@juliushaertl make this ^ (if this is a correct fix) into a 3.0.1 and fix this issue for all the people affected properly? ./lib/private/Files/Storage/DAV.php: protected function parsePermissions($permissionsString) { May be this can be folded into one implementation, too. |
Hi, I think I changed the line to the alternative list($mask, $permissions) = $this->parsePermissions($permissionStrings); Alternatively you should check, if you call your occ scripts with a php version lower than 7.1, which I was doing. Changing the calling php version to 7.1 also solved the parsing error. Kind regards, Tobias |
Thanks and the contribution looks very reasonable to me. |
indeed. In my php7.0 environment the fix of nuvitong helps. |
Hi, also in Centos 7 with NC 15.0.7 same problem. |
Thanks again and the a.m. hotfix by @nuvitong seems to avoid the main hassle. However, be warned there may be other issues in the groupfolders 3.0.0 code and a return to the 2.0.4 version should be a safe solution. You may have a look into the Comparing changes of groupfolders 3.0.0 against master view in GitHub for further consideration. |
3.0.1 has been released for NC14/15 to fix this issue |
The text was updated successfully, but these errors were encountered: