nextcloud / nextcloud/groupfolders

Group folder menu entry is not showing the folders

Open
#2,667 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: files needs info needs review
Dominant language
PHP
Stars
343
Forks
106
Avg merge
2d 3h
Merged PRs (30d)
34

Description

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

I've installed the "Group folders" app in complete new Nextcloud install and the folder is showing in "all files" fine, but the new menu entry "Group folders" is showing an error.

Expected behaviour

I saw it on another install that only the group folders are showing up correctly there.

Actual behaviour

It shows this error (in German):

No file - no files or folders were deleted
Bildschirmfoto 2023-12-06 um 09 38 39

Server configuration

Operating system:
Linux 5.15.0-89-generic x86_64

Web server:
Apache

Database:
MariaDB 10.6.12

PHP version:
8.2

Nextcloud version: (see Nextcloud admin page)
27.1.4

Group folders version:
15.3.1

Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install (27.1.3)

Where did you install Nextcloud from:
Official website

Are you using external storage, if yes which one: local/s3/smb/sftp/...
No

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/Saml/...
No

Client configuration

Browser:
not relevant (tried different one, like FF, Chrome, etc.)

Operating system:
not relevant (I'm on a Mac ...)

Logs

There was only one bug in the bugs:
opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/cloud.fitplus-club.de/lib/private/TempManager.php#191

But this was fixed in the meantime (added the folder).

Nextcloud log (data/nextcloud.log)
Nextcloud log
{"reqId":"ZV3fMwQJSkA6R7qxXb3KggAAmh0","level":2,"time":"2023-11-22T11:00:16+00:00","remoteAddr":"77.1.62.162","user":"--","app":"core","method":"POST","url":"/index.php","message":"Session token is invalid because it does not exist","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","exception":{"Exception":"OC\\Authentication\\Exceptions\\InvalidTokenException","Message":"Token does not exist: token does not exist","Code":0,"Trace":[{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/User/Session.php","line":782,"function":"getToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/User/Session.php","line":352,"function":"validateToken","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Setup.php","line":437,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/base.php","line":1001,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Authentication/Token/PublicKeyTokenProvider.php","Line":177,"Previous":{"Exception":"OCP\\AppFramework\\Db\\DoesNotExistException","Message":"token does not exist","Code":0,"Trace":[{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Authentication/Token/PublicKeyTokenProvider.php","line":168,"function":"getToken","class":"OC\\Authentication\\Token\\PublicKeyTokenMapper","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/User/Session.php","line":782,"function":"getToken","class":"OC\\Authentication\\Token\\PublicKeyTokenProvider","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/User/Session.php","line":352,"function":"validateToken","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Setup.php","line":437,"function":"login","class":"OC\\User\\Session","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/core/Controller/SetupController.php","line":69,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/base.php","line":1001,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Authentication/Token/PublicKeyTokenMapper.php","Line":89},"message":"Session token is invalid because it does not exist","user":"fitplus nextcloud","exception":{},"CustomMessage":"Session token is invalid because it does not exist"}}
{"reqId":"ZV3fSgQJSkA6R7qxXb3K8wAAgiI","level":3,"time":"2023-11-22T11:00:26+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3fSgQJSkA6R7qxXb3K9gAAnxI","level":3,"time":"2023-11-22T11:00:26+00:00","remoteAddr":"77.1.62.162","user":"fitplus nextcloud","app":"index","method":"GET","url":"/index.php/apps/theming/favicon?v=115a7e0d","message":"Could not create folder \"/appdata_ocodzgcdndgo/theming/global\"","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/appdata_ocodzgcdndgo/theming/global\"","Code":0,"Trace":[{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Files/AppData/AppData.php","line":147,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->","args":["global"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/apps/theming/lib/ImageManager.php","line":383,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["global"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/apps/theming/lib/ImageManager.php","line":118,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->","args":[]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/apps/theming/lib/Controller/IconController.php","line":118,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->","args":["favicon",false]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->","args":["core"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\Theming\\Controller\\IconController"],"getFavicon"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Theming\\Controller\\IconController","getFavicon",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["core","theming.Icon.getFavicon"]]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/theming/favicon"]},{"file":"/www/htdocs/w014dbdc/portal.fitplus-club.de/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/Files/Node/Folder.php","Line":162,"CustomMessage":"--"}}
{"reqId":"ZV3fpgQJSkA6R7qxXb3PDQAApzY","level":3,"time":"2023-11-22T11:01:58+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3fwwQJSkA6R7qxXb3QfAAAoyk","level":3,"time":"2023-11-22T11:02:27+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3fyAQJSkA6R7qxXb3Q2AAAmRs","level":3,"time":"2023-11-22T11:02:32+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3f1AQJSkA6R7qxXb3RdwAAoSo","level":3,"time":"2023-11-22T11:02:44+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3f3QQJSkA6R7qxXb3RqAAAoiQ","level":3,"time":"2023-11-22T11:02:53+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3gAQQJSkA6R7qxXb3S_QAAozo","level":3,"time":"2023-11-22T11:03:29+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3gHwQJSkA6R7qxXb3TswAAiBI","level":3,"time":"2023-11-22T11:04:00+00:00","remoteAddr":"77.1.62.162","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3gOQQJSkA6R7qxXb3UWAAAoQ0","level":3,"time":"2023-11-22T11:04:25+00:00","remoteAddr":"137.132.211.132","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/118.0.0.0 Safari/537.36","version":"27.1.3.2","data":{"app":"PHP"}}
{"reqId":"ZV3gOQQJSkA6R7qxXb3UWgAAggs","level":3,"time":"2023-11-22T11:04:25+00:00","remoteAddr":"137.132.211.132","user":"--","app":"PHP","method":"GET","url":"/cron.php","message":"opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w014dbdc/portal.fitplus-club.de/lib/private/TempManager.php#191","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/118.0.0.0 Safari/537.36","version":"27.1.3.2","data":{"app":"PHP"}}

Comment was too long (850KB), so I truncated it here ...

Browser log
Browser log
JQMIGRATE: Migrate is installed, version 3.4.1 [jquery-migrate.min.js:2:980](webpack:///nextcloud/node_modules/jquery-migrate/dist/jquery-migrate.min.js)
Proxying an event bus of version 3.1.0 with 1.3.0 [index.es.js:2337:14](webpack:///nextcloud/node_modules/@nextcloud/axios/node_modules/@nextcloud/event-bus/dist/index.es.js)
session heartbeat polling started [session-heartbeat.js:103:9](webpack:///nextcloud/core/src/session-heartbeat.js)
Proxying an event bus of version 3.1.0 with 1.3.0 [index.es.js:2337:14](webpack:///notifications/node_modules/@nextcloud/notify_push/node_modules/@nextcloud/auth/node_modules/@nextcloud/event-bus/dist/index.es.js)
Registering notifications container as a menu [NotificationsApp.vue:219](webpack:///notifications/src/NotificationsApp.vue)
Notifications permissions denied [NotificationsApp.vue:459](webpack:///notifications/src/NotificationsApp.vue)
Polling interval updated to 30000 [NotificationsApp.vue:416](webpack:///notifications/src/NotificationsApp.vue)
Started background fetcher as session_keepalive is enabled [NotificationsApp.vue:275](webpack:///notifications/src/NotificationsApp.vue)
Got notification data, restoring default polling interval. [NotificationsApp.vue:376](webpack:///notifications/src/NotificationsApp.vue)
fetch

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Group folders menu error and start by reviewing data/nextcloud.log, including the reported lib/private/TempManager.php#191 entry. Determine whether the menu can load and display the configured group folders without the “No file - no files or folders were deleted” error; the issue does not identify an app source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.