nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
989 stars 240 forks source link

Cannot share newly-created calendars #3402

Closed jfmcbrayer closed 3 years ago

jfmcbrayer commented 3 years ago

Hi. I'm not sure if this is a front-end or back-end issue, but it relates to a feature that's only available through the web interface, so I'm posting it here. Please let me know if I should post this on the server repository issues.

For a while, I'm not sure how long, it's been impossible to share newly-created calendars in any way – the share icon does not appear next to the calendar on the list of calendars. We have a number of older calendars that are shared with other users on the same server, and the older calendars show the share icon, and we can add or remove share recipients.

This is a long-running Nextcloud server that has been upgraded sequentially through a large number of stable versions, and is now running 21.0.3, so I wonder if this is a data issue on my server.

Steps to reproduce

  1. Create a new calendar from the calendar app sidebar.
  2. Note that the share icon does not appear next to the newly created calendar in the sidebar.
  3. Check the '...' menu to see if it's there instead, note that it's not.

Expected behaviour

The share icon should appear next to newly created calendars.

Actual behaviour

Share icon does not appear next to newly created calendars.

Calendar app

Calendar app version: 2.3.1 (though it appeared in slightly previous versions before an upgrade)

CalDAV-clients used: DAVx5, Gnome Calendar

Client configuration

Browser: Firefox 90.0

Operating system: Fedora Linux 34, Windows 10

Server configuration

Operating system: Fedora Linux 34

Web server: Apache

Database: PostgreSQL

PHP version: 7.4.21

Nextcloud Version: 21.0.3

Updated from an older installed version or fresh install: Updated sequentially from old versions.

List of activated apps:

Enabled:
  - accessibility: 1.7.0
  - activity: 2.14.3
  - admin_audit: 1.11.0
  - bruteforcesettings: 2.2.0
  - calendar: 2.3.1
  - cloud_federation_api: 1.4.0
  - comments: 1.11.0
  - contacts: 4.0.1
  - contactsinteraction: 1.2.0
  - dashboard: 7.1.0
  - dav: 1.17.1
  - deck: 1.4.3
  - federatedfilesharing: 1.11.0
  - federation: 1.11.0
  - files: 1.16.0
  - files_markdown: 2.3.4
  - files_pdfviewer: 2.1.0
  - files_rightclick: 1.0.0
  - files_sharing: 1.13.1
  - files_texteditor: 2.14.0
  - files_trashbin: 1.11.0
  - files_versions: 1.14.0
  - files_videoplayer: 1.10.0
  - firstrunwizard: 2.10.0
  - keeweb: 0.6.5
  - logreader: 2.6.0
  - lookup_server_connector: 1.9.0
  - mail: 1.10.2
  - maps: 0.1.9
  - news: 16.0.1
  - nextcloud_announcements: 1.10.0
  - notifications: 2.9.0
  - oauth2: 1.9.0
  - password_policy: 1.11.0
  - photos: 1.3.0
  - privacy: 1.5.0
  - provisioning_api: 1.11.0
  - recommendations: 1.0.0
  - serverinfo: 1.11.0
  - settings: 1.3.0
  - sharebymail: 1.11.0
  - socialsharing_email: 2.2.0
  - support: 1.4.0
  - survey_client: 1.9.0
  - systemtags: 1.11.0
  - tasks: 0.14.1
  - text: 3.2.0
  - theming: 1.12.0
  - twofactor_backupcodes: 1.10.0
  - updatenotification: 1.11.0
  - user_status: 1.1.1
  - viewer: 1.5.0
  - weather_status: 1.1.0
  - workflowengine: 2.3.0
Disabled:
  - encryption
  - files_external
  - user_ldap
  - weather

Nextcloud configuration:

    "system": {
        "log_type": "owncloud",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "updatechecker": false,
        "check_for_working_htaccess": false,
        "asset-pipeline.enabled": false,
        "assetdirectory": "\/var\/lib\/nextcloud",
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "apps_paths": [
            {
                "path": "\/usr\/local\/share\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/lib\/nextcloud\/apps",
                "url": "\/apps-appstore",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "***REMOVED SENSITIVE VALUE"
        ],
        "overwrite.cli.url": "http:\/\/localhost\/nextcloud",
        "dbtype": "pgsql",
        "version": "21.0.3.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "theme": "",
        "loglevel": 0,
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "default_phone_region": "US",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "updater.release.channel": "stable",
        "app_install_overwrite": [
            "calendar",
            "files_reader"
        ],
        "data-fingerprint": "6e3460169b34cd1ddc7a6096e8969df6"
    },
    "apps": {
        "accessibility": {
            "enabled": "yes",
            "types": "",
            "installed_version": "1.7.0"
        },
        "activity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.14.3"
        },
        "admin_audit": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "audioplayer": {
            "ocsid": "174738",
            "installed_version": "2.0.2",
            "types": "",
            "enabled": "no"
        },
        "backgroundjob": {
            "lastjob": "37702"
        },
        "bruteforcesettings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.2.0"
        },
        "calendar": {
            "types": "",
            "installed_version": "2.3.1",
            "enabled": "yes"
        },
        "cloud_federation_api": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.4.0"
        },
        "comments": {
            "installed_version": "1.11.0",
            "types": "logging",
            "enabled": "yes"
        },
        "contacts": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "4.0.1"
        },
        "contactsinteraction": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "1.2.0"
        },
        "core": {
            "installedat": "1490665689.0192",
            "vendor": "nextcloud",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "public_files": "files_sharing\/public.php",
            "backgroundjobs_mode": "cron",
            "shareapi_enabled": "yes",
            "shareapi_allow_links": "yes",
            "public_documents": "documents\/public.php",
            "repairlegacystoragesdone": "yes",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "installed.bundles": "[\"CoreBundle\"]",
            "updater.secret.created": "1627944356",
            "lastupdatedat": "1628253325",
            "theming.variables": "32ef7dc01a3ffbcbbaf8fb9483f9bd03",
            "scss.variables": "08343dd3f787291558383b46e1b489fb",
            "shareapi_allow_group_sharing": "yes",
            "enterpriseLogoChecked": "yes",
            "lastupdateResult": "[]",
            "shareapi_exclude_groups": "no",
            "oc.integritycheck.checker": "[]",
            "shareapi_only_share_with_group_members": "no",
            "lastcron": "1628254803"
        },
        "dashboard": {
            "types": "",
            "enabled": "yes",
            "installed_version": "7.1.0"
        },
        "dav": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.17.1",
            "chunks_migrated": "1",
            "sendEventRemindersPush": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "regeneratedBirthdayCalendarsForYearFix": "yes"
        },
        "deck": {
            "types": "dav",
            "installed_version": "1.4.3",
            "enabled": "yes"
        },
        "documents": {
            "types": "",
            "installed_version": "0.16.0",
            "enabled": "no",
            "converter": "local"
        },
        "federatedfilesharing": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "federation": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "files": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.16.0",
            "cronjob_scan_files": "500"
        },
        "files_ebookreader": {
            "enabled": "no",
            "installed_version": "0.0.1",
            "types": ""
        },
        "files_markdown": {
            "installed_version": "2.3.4",
            "types": "",
            "enabled": "yes"
        },
        "files_pdfviewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.1.0"
        },
        "files_reader": {
            "types": "filesystem",
            "ocsid": "167127",
            "installed_version": "1.2.3",
            "enabled": "no"
        },
        "files_rightclick": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.0.0"
        },
        "files_sharing": {
            "installed_version": "1.13.1",
            "types": "filesystem",
            "enabled": "yes"
        },
        "files_texteditor": {
            "types": "",
            "installed_version": "2.14.0",
            "enabled": "yes"
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "types": "filesystem,dav",
            "installed_version": "1.14.0"
        },
        "files_videoplayer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.10.0"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "types": "logging",
            "installed_version": "2.10.0"
        },
        "gallery": {
            "types": "",
            "enabled": "no",
            "installed_version": "18.4.0"
        },
        "keeweb": {
            "installed_version": "0.6.5",
            "enabled": "yes",
            "types": ""
        },
        "logreader": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.6.0",
            "levels": "00111"
        },
        "lookup_server_connector": {
            "installed_version": "1.9.0",
            "types": "authentication",
            "enabled": "yes"
        },
        "mail": {
            "enabled": "yes",
            "types": "",
            "installed_version": "1.10.2"
        },
        "maps": {
            "types": "filesystem",
            "installed_version": "0.1.9",
            "enabled": "yes",
            "lastAddressLookup": "1626128124"
        },
        "news": {
            "installed_version": "16.0.1",
            "types": "",
            "enabled": "yes"
        },
        "nextcloud_announcements": {
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "installed_version": "1.10.0"
        },
        "notifications": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.9.0"
        },
        "oauth2": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "authentication"
        },
        "photos": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.3.0"
        },
        "privacy": {
            "installed_version": "1.5.0",
            "types": "",
            "enabled": "yes"
        },
        "provisioning_api": {
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "recommendations": {
            "installed_version": "1.0.0",
            "types": "",
            "enabled": "yes"
        },
        "serverinfo": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0",
            "cached_count_storages": "4",
            "cached_count_filecache": "86275"
        },
        "settings": {
            "installed_version": "1.3.0",
            "types": "",
            "enabled": "yes"
        },
        "sharebymail": {
            "installed_version": "1.11.0",
            "types": "filesystem",
            "enabled": "yes"
        },
        "socialsharing_email": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.2.0"
        },
        "support": {
            "enabled": "yes",
            "SwitchUpdaterServerHasRun": "yes",
            "types": "session",
            "installed_version": "1.4.0"
        },
        "survey_client": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0",
            "last_sent": "1623427304",
            "last_report": "{\"id\":\"ocplskbqlu7d\",\"items\":[[\"server\",\"version\",\"19.0.1.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"none\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"none\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"7.4.20\"],[\"php\",\"memory_limit\",1073741824],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"pgsql\"],[\"database\",\"version\",\"PostgreSQL 13.2 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0), 64-bit\"],[\"database\",\"size\",420925999],[\"apps\",\"workflowengine\",\"2.1.0\"],[\"apps\",\"serverinfo\",\"1.9.0\"],[\"apps\",\"gallery\",\"disabled\"],[\"apps\",\"files_texteditor\",\"2.11.0\"],[\"apps\",\"lookup_server_connector\",\"1.7.0\"],[\"apps\",\"files\",\"1.14.0\"],[\"apps\",\"documents\",\"disabled\"],[\"apps\",\"provisioning_api\",\"1.9.0\"],[\"apps\",\"tasks\",\"disabled\"],[\"apps\",\"twofactor_backupcodes\",\"1.8.0\"],[\"apps\",\"updatenotification\",\"1.9.0\"],[\"apps\",\"audioplayer\",\"disabled\"],[\"apps\",\"federation\",\"1.9.0\"],[\"apps\",\"files_pdfviewer\",\"1.8.0\"],[\"apps\",\"news\",\"14.1.11\"],[\"apps\",\"activity\",\"2.12.0\"],[\"apps\",\"dav\",\"1.15.0\"],[\"apps\",\"files_markdown\",\"2.3.0\"],[\"apps\",\"admin_audit\",\"1.9.0\"],[\"apps\",\"nextcloud_announcements\",\"1.8.0\"],[\"apps\",\"notifications\",\"2.7.0\"],[\"apps\",\"systemtags\",\"1.9.0\"],[\"apps\",\"keeweb\",\"disabled\"],[\"apps\",\"calendar\",\"2.0.3\"],[\"apps\",\"files_sharing\",\"1.11.0\"],[\"apps\",\"files_trashbin\",\"1.9.0\"],[\"apps\",\"files_versions\",\"1.12.0\"],[\"apps\",\"comments\",\"1.9.0\"],[\"apps\",\"theming\",\"1.10.0\"],[\"apps\",\"firstrunwizard\",\"2.8.0\"],[\"apps\",\"logreader\",\"2.4.0\"],[\"apps\",\"sharebymail\",\"1.9.0\"],[\"apps\",\"survey_client\",\"1.7.0\"],[\"apps\",\"contacts\",\"3.3.0\"],[\"apps\",\"socialsharing_email\",\"disabled\"],[\"apps\",\"password_policy\",\"1.9.1\"],[\"apps\",\"contactsinteraction\",\"1.0.0\"],[\"apps\",\"files_reader\",\"disabled\"],[\"apps\",\"files_ebookreader\",\"disabled\"],[\"apps\",\"accessibility\",\"1.5.0\"],[\"apps\",\"federatedfilesharing\",\"1.9.0\"],[\"apps\",\"files_rightclick\",\"0.16.0\"],[\"apps\",\"files_videoplayer\",\"1.8.0\"],[\"apps\",\"photos\",\"1.1.0\"],[\"apps\",\"deck\",\"1.0.5\"],[\"apps\",\"mail\",\"1.4.1\"],[\"apps\",\"bruteforcesettings\",\"1.6.0\"],[\"apps\",\"weather\",\"1.7.3\"],[\"apps\",\"maps\",\"0.1.6\"],[\"apps\",\"privacy\",\"1.3.0\"],[\"apps\",\"recommendations\",\"0.7.0\"],[\"apps\",\"settings\",\"1.1.0\"],[\"apps\",\"support\",\"1.2.1\"],[\"apps\",\"text\",\"3.0.1\"],[\"apps\",\"viewer\",\"1.3.0\"],[\"apps\",\"oauth2\",\"1.7.0\"],[\"apps\",\"cloud_federation_api\",\"1.2.0\"],[\"stats\",\"num_files\",72453],[\"stats\",\"num_users\",3],[\"stats\",\"num_storages\",4],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",3],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",0],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",38],[\"files_sharing\",\"num_shares_user\",25],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",13],[\"files_sharing\",\"num_shares_link_no_password\",13],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_3_17\",5],[\"files_sharing\",\"permissions_0_19\",18],[\"files_sharing\",\"permissions_3_1\",8],[\"files_sharing\",\"permissions_0_3\",4],[\"files_sharing\",\"permissions_0_31\",3],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}"
        },
        "systemtags": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "tasks": {
            "installed_version": "0.14.1",
            "enabled": "yes",
            "types": ""
        },
        "text": {
            "types": "dav",
            "installed_version": "3.2.0",
            "enabled": "yes"
        },
        "theming": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.12.0"
        },
        "twofactor_backupcodes": {
            "installed_version": "1.10.0",
            "types": "",
            "enabled": "yes"
        },
        "updatenotification": {
            "theming": "1.4.5",
            "core": "19.0.13.1",
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0",
            "weather": "1.7.5",
            "mail": "1.4.3",
            "files_rightclick": "0.15.1",
            "update_check_errors": "0",
            "files_reader": "1.2.3",
            "news": "14.2.2",
            "files_pdfviewer": "1.2.1",
            "deck": "1.2.8",
            "socialsharing_email": "1.0.4",
            "tasks": "0.9.7",
            "keeweb": "0.6.2",
            "files_texteditor": "2.13.0",
            "calendar": "2.0.5",
            "contacts": "3.5.1",
            "files_markdown": "2.3.2",
            "bruteforcesettings": "2.2.0"
        },
        "user_status": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.1.1"
        },
        "viewer": {
            "installed_version": "1.5.0",
            "types": "",
            "enabled": "yes"
        },
        "weather": {
            "installed_version": "1.7.5",
            "types": "",
            "enabled": "no"
        },
        "weather_status": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.1.0"
        },
        "workflowengine": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.3.0"
        }
    }
}

Logs

Logs available if needed; for now I feel like it would be more effort to remove personal information than is worthwhile.

tcitworld commented 3 years ago

Share icon does not appear next to newly created calendars.

Ad-blockers may block the share icon because it looks like social network share buttons, can you try disabling yours if you have one?

jfmcbrayer commented 3 years ago

uBlock Origin was showing nothing blocked, so I had assumed that it was not the cause. However, disabling it did fix the share button issue. I should probably file a bug on uBlock Origin.