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

Group folder menu entry is not showing the folders #2667

Open
Zodiac1978 opened this issue Dec 11, 2023 · 4 comments
Open

Group folder menu entry is not showing the folders #2667

Zodiac1978 opened this issue Dec 11, 2023 · 4 comments
Labels
0. Needs triage Issues that need to be triaged bug feature: files Files integration needs info needs review Needs confirmation this is still happening or relevant (or possible duplicate TBD)

Comments

@Zodiac1978
Copy link

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
@Zodiac1978 Zodiac1978 added 0. Needs triage Issues that need to be triaged bug labels Dec 11, 2023
@mischoe
Copy link

mischoe commented Dec 12, 2023

It shows up in the mobile app by the way ... Web exactly as named above

@sorbaugh sorbaugh added this to the Nextcloud 28.0.1 milestone Dec 13, 2023
@JoeMrCoffee
Copy link

I still see this with Nextcloud 28.0.6 and Group folders 16.0.7.

@joshtrichards
Copy link
Member

If you enable debug mode you may see some additional logging from the browser Files client when it tries to load the content for that section. It's possible that will provide a clue why this is occurring in your environments.

I'm unable to reproduce it myself.

@joshtrichards joshtrichards added feature: files Files integration needs review Needs confirmation this is still happening or relevant (or possible duplicate TBD) labels Sep 11, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Sep 12, 2024

Nevermind, reproduced on older 27 when one doesn't have access to any group folders. I read this wrong the first time around.

Duplicate of nextcloud/server#40099

I still see this with Nextcloud 28.0.6 and Group folders 16.0.7.

Hmm. In >27 the Group Folders left side isn't even there at the moment. That was just recently fixed (#3128 / #3138) [not yet released]

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 feature: files Files integration needs info needs review Needs confirmation this is still happening or relevant (or possible duplicate TBD)
Projects
Status: No status
Development

No branches or pull requests

5 participants