nextcloud / groupfolders

πŸ“πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Admin-configured folders shared by everyone in a group. https://github.com/nextcloud-releases/groupfolders
https://apps.nextcloud.com/apps/groupfolders
278 stars 85 forks source link

Permissions removed after update to Group Folder 14.0.5 #2571

Closed fabzgy closed 3 days ago

fabzgy commented 11 months ago

I was using my nextcloud yesterday (writing minutes of a meeting in Nextcloud Office) and suddenly the Brwoser told me that the file I am editing disappeared (or that I had insufficient rights). When I opened the Nextcloud file browser in Firefox all my folders on the parent level were still there but empty. Shared folders disappeared (some but not all). Then my Nextcloud client started to upload the files again.

I have no idea what happened. This has never happened to me in more then 6 years of using Nextcloud. When I login to another account who shared two folders with my personal account it say that "my personal account removed himself from the share". Since I made an Update of the Group Folders app and something happened with the shares I am reporting this here.

Operating system: Linux 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64

Webserver: nginx/1.21.4 (fpm-fcgi)

Database: mysql 10.5.22

PHP version: 8.2.8

Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, standard, posix, random, readline, Reflection, Phar, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, exif, gd, gmp, imagick, imap, intl, ldap, memcached, mysqli, pcntl, pdo_mysql, pdo_pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcache

Nextcloud version: 26.0.5 - 26.0.5.1

Group folders version: 14.0.5

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

Where did you install Nextcloud from: I don t know. Hosted by hetzner.

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: Firefox Operating system: Ubuntu

List of activated apps ``` Enabled: - activity: 2.18.0 - announcementcenter: 6.6.2 - appointments: 1.15.3 - bruteforcesettings: 2.6.0 - calendar: 4.5.0 - calendar_resource_management: 0.5.0 - circles: 26.0.0 - cloud_federation_api: 1.9.0 - cms_pico: 1.0.21 - comments: 1.16.0 - contacts: 5.4.1 - contactsinteraction: 1.7.0 - dashboard: 7.6.0 - dav: 1.25.0 - deck: 1.9.3 - drawio: 2.1.2 - external: 5.1.1 - federatedfilesharing: 1.16.0 - federation: 1.16.0 - files: 1.21.1 - files_external: 1.18.0 - files_pdfviewer: 2.7.0 - files_rightclick: 1.5.0 - files_sharing: 1.18.0 - files_trashbin: 1.16.0 - files_versions: 1.19.1 - firstrunwizard: 2.15.0 - forms: 3.3.1 - groupfolders: 14.0.5 - logreader: 2.11.0 - lookup_server_connector: 1.14.0 - mail: 3.4.0 - nextcloud_announcements: 1.15.0 - notes: 4.8.1 - notifications: 2.14.0 - notify_push: 0.6.3 - oauth2: 1.14.1 - password_policy: 1.16.0 - photos: 2.2.0 - polls: 5.3.2 - privacy: 1.10.0 - provisioning_api: 1.16.0 - recommendations: 1.5.0 - related_resources: 1.1.0 - richdocuments: 8.0.4 - serverinfo_hetzner: 1.18.0 - settings: 1.8.0 - sharebymail: 1.16.0 - spreed: 16.0.5 - support: 1.9.0 - survey_client: 1.14.0 - suspicious_login: 4.4.0 - systemtags: 1.16.0 - tasks: 0.15.0 - text: 3.7.2 - theming: 2.1.1 - twofactor_backupcodes: 1.15.0 - twofactor_totp: 8.0.0 - updatenotification: 1.16.0 - user_status: 1.6.0 - viewer: 1.10.0 - weather_status: 1.6.0 - workflowengine: 2.8.0 Disabled: - admin_audit - encryption - user_ldap ```
Configuration (config/config.php) ``` { "skeletondirectory": "\/var\/www\/html\/themes\/hetzner\/skeleton", "memcache.local": "\\OC\\Memcache\\APCu", "appstoreurl": "https:\/\/apps.your-storageshare.de", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "loglevel": 2, "log_type": "syslog", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "26.0.5.1", "overwrite.cli.url": "https:\/\/nx25441.your-storageshare.de", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "default_language": "de_DE", "default_locale": "de_DE", "default_phone_region": "DE", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "syslog_tag": "nextcloud-nx25441", "simpleSignUpLink.shown": false, "upgrade.disable-web": true, "updatechecker": false, "theme": "hetzner", "templatedirectory": "\/var\/www\/html\/core\/skeleton\/Templates\/", "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown", "OC\\Preview\\OpenDocument", "OC\\Preview\\Krita", "OC\\Preview\\HEIC" ], "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": "6379", "timeout": "1.5", "dbindex": "0" }, "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "memcache.distributed": "\\OC\\Memcache\\Redis", "maintenance": false, "app_install_overwrite": [ "documentserver_community", "cms_pico" ], "files_external_allow_create_new_local": false, "updater.server.url": "https:\/\/updates.your-storageshare.de", "updater.release.channel": "stable", "mail_sendmailmode": "smtp", "mail_smtpport": "465", "mail_smtpsecure": "ssl", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "bulkupload.enabled": false, "trusted_domains": [ "nx25441.your-storageshare.de", "nx.stadtmobil-suedbaden.de" ] } ```

Cron Configuration: Array ( [backgroundjobs_mode] => cron [lastcron] => 1695369484 )

External storages: yes

External storage configuration ``` No mounts configured ```

Encryption: no

User-backends:

Talk configuration:

STUN servers

TURN servers

Signaling servers (mode: default):

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0

When I want to check the logs it says: "Keine Server-Log-Dateien - Alles funktioniert gut" " No Server Log - everything is fine"

joshtrichards commented 11 months ago

Hi @fabzgy -

Your logging is going to syslog per your config. Can you provide the log entries from around the period when you updated the groupfolders app?

And also from a login session where you aren't able to access the folders in your root folder?

I was using my nextcloud yesterday (writing minutes of a meeting in Nextcloud Office) and suddenly the Brwoser told me that the file I am editing disappeared (or that I had insufficient rights).

How long after updating the groupfolders app did this occur?

When I opened the Nextcloud file browser in Firefox all my folders on the parent level were still there but empty.

Did you check to see if the contents of your users root folder are still in your datadirectory?

Innky-Joe commented 8 months ago

Untitled

I am running Group folders by Robin Appelman AGPL-licensed 16.0.1 on NC V.28 and add advanced permission rule not showing, can anyone help me out?

Related resources Anything shared with the same group of people will show up here

joshtrichards commented 3 days ago

Closing due to no follow-up info received after >12 months.