calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Web UI dashboard "upcoming events" widget only shows personal calendar

Open snagglewest opened this issue 2 years ago • 13 comments

Steps to reproduce

update from 27.0.1 to 27.1.2 Calendar widget is empty

Expected behavior

Web UI dashboard "upcoming events" widget should show upcoming events

Actual behaviour

Calendar widget is empty except for personal calendar. Any linked calendars or newly created calendar events are not shown

Calendar app version

4.5.2

CalDAV-clients used

No response

Browser

Chrome, Edge & Firefox

Client operating system

Windows 10 & 11, Ubuntu 22.04, mint 21.2

Server operating system

Ubuntu 22.04

Web server

Apache

Database engine version

MySQL

PHP engine version

PHP 8.1

Nextcloud version

27.1.3

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

Enabled:
  - admin_audit: 1.17.0
  - bruteforcesettings: 2.7.0
  - calendar: 4.5.2
  - cfg_share_links: 4.2.0
  - cloud_federation_api: 1.10.0
  - comments: 1.17.0
  - contacts: 5.4.2
  - dashboard: 7.7.0
  - dav: 1.27.0
  - external: 5.2.1
  - externalportal: 1.2.0
  - federatedfilesharing: 1.17.0
  - files: 1.22.0
  - files_external: 1.19.0
  - files_pdfviewer: 2.8.0
  - files_reminders: 1.0.0
  - files_rightclick: 1.6.0
  - files_sharing: 1.19.0
  - files_texteditor: 2.15.1
  - files_trashbin: 1.17.0
  - files_versions: 1.20.0
  - firstrunwizard: 2.16.0
  - logreader: 2.12.0
  - lookup_server_connector: 1.15.0
  - nextcloud_announcements: 1.16.0
  - notifications: 2.15.0
  - oauth2: 1.15.1
  - password_policy: 1.17.0
  - passwords: 2023.10.30
  - previewgenerator: 5.3.0
  - provisioning_api: 1.17.0
  - ransomware_protection: 1.14.0
  - related_resources: 1.2.0
  - richdocuments: 8.2.2
  - richdocumentscode: 23.5.503
  - serverinfo: 1.17.0
  - settings: 1.9.0
  - sharebymail: 1.17.0
  - side_menu: 3.10.3
  - support: 1.10.0
  - suspicious_login: 5.0.0
  - systemtags: 1.17.0
  - text: 3.8.0
  - theming: 2.2.0
  - theming_customcss: 1.14.0
  - twofactor_backupcodes: 1.16.0
  - updatenotification: 1.17.0
  - user_status: 1.7.0
  - viewer: 2.1.0
  - weather_status: 1.7.0
  - workflowengine: 2.9.0
Disabled:
  - activity: 2.19.0 (installed 2.15.0)
  - circles: 27.0.1 (installed 22.0.0)
  - contactsinteraction: 1.8.0 (installed 1.2.0)
  - encryption: 2.15.0
  - federation: 1.17.0 (installed 1.11.0)
  - photos: 2.3.0 (installed 1.6.0)
  - privacy: 1.11.0 (installed 1.6.0)
  - recommendations: 1.6.0 (installed 1.1.0)
  - spreed: 17.1.2 (installed 17.1.2)
  - survey_client: 1.15.0 (installed 1.10.0)
  - twofactor_totp: 9.0.0
  - user_ldap: 1.17.0

Nextcloud configuration

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.***REMOVED SENSITIVE VALUE***",
        ],
        "0": "apache_disable_rewrite_ip=0",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/cloud.***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "htaccess.RewriteBase": "\/",
        "dbtype": "mysql",
        "version": "27.1.3.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "remember_login_cookie_lifetime": 31536000,
        "session_lifetime": 86400,
        "session_keepalive": true,
        "auto_logout": false,
        "default_language": "en",
        "force_language": "en",
        "default_locale": "en_US",
        "force_locale": "en_US",
        "default_phone_region": "US",
        "auth.bruteforce.protection.enabled": true,
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "logfilemode": 416,
        "loglevel": 1,
        "log_rotate_size": 104857600,
        "logtimezone": "America\/New_York",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "enable_previews": true,
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "maintenance": false,
        "theme": "",
        "allow_local_remote_servers": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "dbindex": 0,
            "password": "***REMOVED SENSITIVE VALUE***",
            "timeout": 1.5
        },
        "updater.release.channel": "stable",
        "app_install_overwrite": [
            "files_texteditor",
            "extract",
            "richdocumentscode",
            "ransomware_protection",
            "documentserver_community",
            "files_downloadactivity"
        ],
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "jpeg_quality": "60"
    }
}

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

The title says it all. It's been reported and marked as fixed but it still persists.

https://github.com/nextcloud/calendar/issues/5477 https://help.nextcloud.com/t/web-ui-dashboard-upcoming-events-widget-only-shows-personal-calendar/173084

snagglewest avatar Nov 06 '23 13:11 snagglewest

@st3iny

miaulalala avatar Nov 07 '23 17:11 miaulalala

I faced that after version 4.4.5 for me there is also an issue not showing birthday calendar on dashboard.

reiner1959-coder avatar Nov 08 '23 07:11 reiner1959-coder

With the exception of the users personal calendar, no calendar events show in the web UI dashboard widget. That includes user created calendars, the birthday calendar and external calendar subscriptions. My users used the feature every single day so it's a big deal for us. It just baffles me that this hasn't gained any traction.

snagglewest avatar Nov 09 '23 02:11 snagglewest

No traction at all:

https://github.com/nextcloud/calendar/issues/5495 https://help.nextcloud.com/t/dashboard-upcoming-events-show-x-years-ago/170313

sihui62 avatar Nov 09 '23 16:11 sihui62

Same here. Before it was showing all calender events. Now it's only showing my trash-calendar.

Can it be configured some how?

SKB-CGN avatar Nov 11 '23 10:11 SKB-CGN

Not a real fix but you can get the widget working again by reverting to V4.4.5. These directions (Ubuntu 20.04/Apache2) work but you'll probably won't survive a NC upgrade. At least my users are happy again until a real fix comes along.


1. Disable the calendar app in admin settings

2. move to app directory
cd /var/www/html/nextcloud/apps

3. rename calendar directory to old or delete it completely
# sudo mv calendar calendar-old

4. download version 4.4.5 of calendar
# sudo wget -q https://github.com/nextcloud-releases/calendar/releases/download/v4.4.5/calendar-v4.4.5.tar.gz

5. Extract new version of calendar
# sudo tar xvf calendar-v4.4.5.tar.gz

6. change directory owner & group to www-data www-data (or whatever owner:group you use)
# sudo chown -R www-data:www-data calendar

7. re-enable the calendar app in admin settings

snagglewest avatar Nov 30 '23 18:11 snagglewest

@snagglewes Thank you !!! https://github.com/nextcloud/calendar/issues/5477 is now fixed for me

ralfbgithub avatar Dec 14 '23 16:12 ralfbgithub

Still not fixed after upgrading to NC 27.1.5 & calendar 4.6.0

On the bright side the downgrade to calendar 4.4.5 kludge still works.

Just keep in mind that upgrading NC automatically upgrades calendar to 4.6.0 and the problem is back. If you're following the above downgrade instructions delete the old calendar folder rather than renaming it and keeping it. NC will complain about the old folder if it's still in the app directory when you upgrade NC.

snagglewest avatar Dec 16 '23 00:12 snagglewest

Thanks, @snagglewest this also worked for me.

Apologies if this has been noted, but I am unable to see events from subscribed calendars when downgrading. However, I can see these events from my mobile. Not ideal, but it's good enough for me.

drunktankpink avatar Jan 09 '24 19:01 drunktankpink

The widget is also not showing tasks anymore if you've set your calendar to show tasks within it.

Noticed this with 4.6.4 (released today), reverting to version 4.4.5 fixed this as well.

I'm really surprised about the state that the widget is in right now.

scharmach avatar Jan 19 '24 10:01 scharmach

For those, who are running Nextcloud as LXC Container or with nginx:

  1. Disable the calendar app in admin settings

  2. move to app directory cd /usr/share/webapps/nextcloud/apps-appstore

  3. rename calendar directory to old or delete it completely mv calendar calendar-old

  4. download version 4.4.5 of calendar wget -q https://github.com/nextcloud-releases/calendar/releases/download/v4.4.5/calendar-v4.4.5.tar.gz

  5. Extract new version of calendar tar xvf calendar-v4.4.5.tar.gz

  6. (optional) change directory owner & group to www-data www-data (or whatever owner:group you use) chown -R www-data:www-data calendar

  7. re-enable the calendar app in admin settings

BaerHub avatar Apr 11 '24 07:04 BaerHub

still not fixed in NC 29.0.0

DeBaschdi avatar Apr 25 '24 03:04 DeBaschdi

can confirm, still NOT FIXED

BaerHub avatar Apr 25 '24 07:04 BaerHub

Thanks for your bug report :+1:

I've worked on two patches, which are also scheduled for the upcoming releases of Nextcloud 28 (2024-05-23) and Nextcloud 29 (2024-05-23), to address some issues regarding the upcoming events widget.

  1. Bring back events from subscribed calendars: https://github.com/nextcloud/server/pull/44752

  2. Fix an issue with reoccurrence: https://github.com/nextcloud/server/pull/45222

I've added a link to the second issue to close this bug report when the patch is merged.

I hope, but cannot say for sure, if those patches already enough. Please log a fresh issue if your issue is still there with Nextcloud 28.0.6 or Nextcloud 29.0.1.

It's often helpful to let us know if the problem exists with your personal calendar, a shared calendar (by you or to you), or a calendar subscription. Moreover, exporting an ICS file is often helpful.

Thank you and stay tuned!

kesselb avatar May 07 '24 20:05 kesselb

Thank you, Daniel.

I'll keep my fingers crossed ;-)

ralfbgithub avatar May 08 '24 10:05 ralfbgithub

@scharmach I'm afraid the missing tasks are not fixed by https://github.com/nextcloud/server/pull/44752 and https://github.com/nextcloud/server/pull/45222. I logged a new issue: https://github.com/nextcloud/server/issues/45333.

kesselb avatar May 15 '24 18:05 kesselb

Please log a fresh issue if your issue is still there with Nextcloud 28.0.6 or Nextcloud 29.0.1.

I missed the merge window for 28.0.6 and 29.0.1. They are scheduled now for 28.0.7 and ~29.0.2~ 29.0.3.

kesselb avatar May 24 '24 14:05 kesselb

Calendar widget is working again with 28.0.7 for me Thx :-)

ralfbgithub avatar Jun 29 '24 17:06 ralfbgithub

same here, its finally working! Thanks guys!

BaerHub avatar Jun 29 '24 18:06 BaerHub

Working in 29.0.3, thx

DeBaschdi avatar Jul 01 '24 11:07 DeBaschdi