Skip to content
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

Enabling groupfolders app crashes the nextcloud #2541

Closed
SwikritiT opened this issue Sep 5, 2023 · 2 comments
Closed

Enabling groupfolders app crashes the nextcloud #2541

SwikritiT opened this issue Sep 5, 2023 · 2 comments
Labels
0. Needs triage Issues that need to be triaged bug

Comments

@SwikritiT
Copy link

SwikritiT commented Sep 5, 2023

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Get the latest nextcloud server
  2. Get the latest groupfolders app
  3. enable the group folders app occ a:e groupfolders

Expected behaviour

The app gets enabled and the nextcloud server works fine

Actual behaviour

The cli says that the groupfolders app is enabled but upon visiting the nextcloud through browser the app crashes and logs shows something like this

{"reqId":"ZPcIqWkHXQoMwKYEoCgRVQAAAAY","level":3,"time":"2023-09-05T10:53:29+00:00","remoteAddr":"::1","user":"--","app":"PHP","method":"GET","url":"/nextcloud/master/","message":"Class OCA\\GroupFolders\\Helper\\LazyFolder contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\FileInfo::getParentId) at /home/swikriti/www/nextcloud/master/apps/groupfolders/lib/Helper/LazyFolder.php#32","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","version":"28.0.0.0","data":{"app":"PHP"}}

Server configuration

Operating system: Ubuntu 22.04.3 LTS

Web server: apache

Database: mysql

PHP version: 8.1.23

Nextcloud version: (see Nextcloud admin page) - 28.0.0 dev

Group folders version: 16.0.0-dev

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: github

Are you using external storage, if yes which one: none

Are you using encryption: no

Are you using an external user-backend, if yes which one: none

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log

{"reqId":"ZPcIqWkHXQoMwKYEoCgRVQAAAAY","level":3,"time":"2023-09-05T10:53:29+00:00","remoteAddr":"::1","user":"--","app":"PHP","method":"GET","url":"/nextcloud/master/","message":"Class OCA\\GroupFolders\\Helper\\LazyFolder contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (OCP\\Files\\FileInfo::getParentId) at /home/swikriti/www/nextcloud/master/apps/groupfolders/lib/Helper/LazyFolder.php#32","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36","version":"28.0.0.0","data":{"app":"PHP"}}

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@SwikritiT
Copy link
Author

I have made this PR which fixes the issue for me #2542, Please merge if it's relevant for this issue

@SwikritiT
Copy link
Author

fixed by #2543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug
Projects
None yet
Development

No branches or pull requests

1 participant