Shared Nextcloud environment - can members be limited to shared apps only?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 26 Spring (35.0.1)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 12 (12.15)
  • Web server and version (e.g, Apache 2.4.25):
    • nginx 1.22.1
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • 8.5.12
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • YunoHost (nextcloud_ynh package)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I’d like to share a Nextcloud environment with a collective, so that we have all our tools together, but I can’t figure out how to make the environment fully “shared-only”.

I want the people I invite to only use shared spaces, with no personal data of their own. The apps involved: Files, Talk, Calendar, Contacts, Collectives, Cospend, Notes, Polls, Forms, Tasks, Memories.

So far I’ve created a group, invited members with a 0 KB quota, and set up shared resources: a shared calendar, a shared Cospend project, a collective shared with the team. But this doesn’t prevent members from creating new items outside the shared space: they can create a new calendar, and more importantly a new collective. As a test, I filled a page in a new collective with ~2 MB of content, and it was created without any problem, despite the 0 KB quota (I assume Collectives pages are not counted against the personal quota).

So my question: is there a way to create a truly shared-only environment (no personal calendars, collectives, etc.), or should I simply tell members to only use the pre-created shared items? I’ve found these threads with no answers: Collectives: How to block creation of new collectives? and Hide “New Calendar” Options for specific Groups.

Steps to replicate it (hint: details matter!):

  1. Create a user (or invite a member) with a personal quota set to 0 KB, member of a group.

  2. Set up shared resources with that group: a group folder (Team folders app), a shared calendar, a shared address book, a collective shared with the team, a shared Cospend project.

  3. Log in as this member.

  4. In the Calendar app, create a new personal calendar: it works (no restriction).

  5. In Collectives, create a new personal collective: it also works.

  6. Edit a page in this new collective and add ~2 MB of content: it saves fine, despite the 0 KB quota.

Log entries

Not applicable i suppose: no errors in the logs, this is a configuration/design question, not a bug.

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

╭─root@example ~
╰─➤  cd /var/www/nextcloud && sudo -u nextcloud php occ config:list system
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.example.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "35.0.1.1",
        "overwrite.cli.url": "https:\/\/nextcloud.example.com\/",
        "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***",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "updatechecker": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "integrity.check.disabled": true,
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379",
            "timeout": "0.0",
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "hashing_default_password": true,
        "localstorage.allowsymlinks": true,
        "simpleSignUpLink.shown": false,
        "default_phone_region": "FR",
        "maintenance_window_start": 1,
        "mail_smtpmode": "smtp",
        "mail_smtpport": "25",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": true,
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "logout_url": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/eperl-amd64-glibc",
        "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
        "preview_max_x": 1024,
        "preview_max_y": 1024,
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie",
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\Krita",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PNG",
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap"
        ],
        "ncd_admin_settings": {
            "ncd_aria2_rpc_port": ""
        },
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "global_aria2_config": {
            "seed-ratio": "0.0",
            "save-session": "aria2.session",
            "input-file": "aria2.session",
            "max-concurrent-downloads": "100"
        },
        "loglevel": 2,
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "has_rebuilt_cache": true,
        "lost_password_link": "disabled",
        "app_install_overwrite": [],
        "memories.vips.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/vips-amd64"
    }
}
╭─root@example /var/www/nextcloud
╰─➤  

Apps

╭─root@example /var/www/nextcloud
╰─➤  sudo -u nextcloud php occ app:list                                                                                                                           130 ↵
Enabled:
  - app_api: 35.0.0
  - appstore: 2.0.0-dev.0
  - bookmarks: 17.0.2
  - bruteforcesettings: 8.0.0
  - calendar: 6.6.5
  - circles: 35.0.0
  - cloud_federation_api: 2.0.0-dev.0
  - collectives: 4.8.0
  - comments: 2.0.0-dev.0
  - contacts: 8.10.0
  - contactsinteraction: 2.0.0-dev.0
  - cospend: 4.3.0
  - dav: 2.0.0-dev.1
  - drawio: 4.3.11
  - external: 10.0.0
  - federatedfilesharing: 2.0.0-dev.1
  - federation: 2.0.0-dev.0
  - files: 3.0.0-dev.0
  - files_accesscontrol: 6.0.1
  - files_automatedtagging: 6.0.1
  - files_downloadlimit: 5.3.0
  - files_external: 2.0.0-dev.0
  - files_linkeditor: 1.1.27
  - files_lock: 35.0.0
  - files_pdfviewer: 8.0.0
  - files_reminders: 2.0.0-dev.0
  - files_retention: 6.0.0
  - files_sharing: 2.0.0-dev.1
  - files_trashbin: 2.0.0-dev.0
  - files_versions: 2.0.0-dev.0
  - firstrunwizard: 8.0.0
  - forms: 5.4.2
  - group_default_quota: 0.1.16
  - groupfolders: 23.0.1
  - guests: 4.10.1
  - htmlviewer: 35.0.0
  - logreader: 8.0.0
  - lookup_server_connector: 2.0.0-dev.0
  - memories: 11.1.4
  - nextcloud_announcements: 7.0.0
  - notes: 6.1.1
  - notifications: 8.0.0
  - oauth2: 2.0.0-dev.0
  - onlyoffice: 10.2.1
  - password_policy: 7.0.0
  - photos: 8.0.0
  - polls: 9.3.0
  - privacy: 7.0.0
  - profile: 2.0.0-dev.0
  - provisioning_api: 2.0.0-dev.0
  - recommendations: 8.0.0
  - registration: 3.1.1
  - related_resources: 6.0.0
  - richdocuments: 12.0.2
  - secrets: 3.0.6
  - serverinfo: 7.0.0
  - settings: 2.0.0-dev.0
  - sharebymail: 2.0.0-dev.0
  - sharing: 1.0.4
  - spreed: 25.0.8
  - support: 7.0.0
  - survey_client: 7.0.0
  - systemtags: 2.0.0-dev.0
  - tables: 2.4.0
  - tasks: 0.18.1
  - text: 9.0.0
  - theming: 3.0.0-dev.0
  - theming_customcss: 1.22.0
  - twofactor_backupcodes: 2.0.0-dev.0
  - twofactor_totp: 17.1.0
  - user_ldap: 2.0.0-dev.0
  - user_status: 2.0.0-dev.0
  - viewer: 8.0.0
  - weather_status: 2.0.0-dev.0
  - webhook_listeners: 2.0.0-dev.0
  - workflowengine: 3.0.0-dev.0
Disabled:
  - activity: 8.0.0 (installed 4.0.0)
  - admin_audit: 2.0.0-dev.0
  - agora: 1.7.15
  - analytics: 6.8.1 (installed 6.8.1)
  - appointments: 2.8.8 (installed 2.8.8)
  - assistant: 4.1.0 (installed 4.1.0)
  - brewmemo: 0.9.0 (installed 0.9.0)
  - codeinjector: 1.1.3 (installed 1.1.3)
  - dashboard: 8.0.0-dev.0 (installed 7.11.0)
  - deck: 1.19.1 (installed 1.19.1)
  - dokuwiki: 1.2.1 (installed 1.2.1)
  - encryption: 3.0.0-dev.0
  - libresign: 15.0.8 (installed 15.0.8)
  - mail: 5.12.4 (installed 5.12.4)
  - maps: 1.8.0 (installed 1.8.0)
  - ncdownloader: 1.0.23 (installed 1.0.23)
  - office: 1.1.0 (installed 1.1.0)
  - previewgenerator: 5.15.0 (installed 5.15.0)
  - recognize: 13.1.0 (installed 13.1.0)
  - riotchat: 0.21.0 (installed 0.21.0)
  - sharereview: 2.3.0 (installed 2.3.0)
  - side_menu: 6.2.0 (installed 6.2.0)
  - suspicious_login: 13.0.0
  - twofactor_nextcloud_notification: 9.0.0
  - updatenotification: 2.0.0-dev.0 (installed 1.21.0)
  - whiteboard: 2.1.2 (installed 2.1.2)
  - xwiki: 1.0.2 (installed 1.0.2)
╭─root@example /var/www/nextcloud
╰─➤