# Error after upgrading to 30.0 : Driver exception

**URL:** <https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947>\
**Category:** ℹ️ Support\
**Tags:** github\_issue\_exists, nc30, nc29\
**Created:** [September 15, 2024, 6:44am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947 "2024-09-15T06:44:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pietricello](https://help.nextcloud.com/letter_avatar/pietricello/32/5_5575768a8748004e209b776fc1b2916d.png) [@Pietricello](https://help.nextcloud.com/u/Pietricello)\
**Post date:** [September 15, 2024, 6:44am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/1 "2024-09-15T06:44:14Z")

</div>

Nextcloud version _(eg, 29.0.5)_: `30.0.0`  
Operating system and version _(eg, Ubuntu 24.04)_: `Ubuntu 22.04 LTS`  
Apache or nginx version _(eg, Apache 2.4.25)_: `NGINX`  
PHP version _(eg, 8.3)_: `8.3`

The issue you are facing:

After upgrading from 29-0.7 to 30.0.0 i have a lot of this errors belong to core system marked as “Driver Exception: an exception occurred while executing a query…” as by attached log.  
I believed it was due calendar app. incompatibility.  
I ensured to uninstall/install again several times the calendar-app compatible with NC30.  
At now i fully disabled and uninstalled it but the errors are still ongoing.  
The WORST thing this stucks the whole web frontend. It’s close to impossible to look/copy the log as it stucks on that page with long/infinite wait time. Also trying to change page become impossible. i have just close te browser tab and open a new window. It “seems” does not affects overall functionalities but it’s now critical for described behaviour.  
I made a clean upgrade and ran the post installation occ commands.  
I also faced the whitheboard-app issue, now solved with the workaround.  
Any idea ?

Is this the first time you’ve seen this error? _(Y/N)_: Y

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

```json
{
  "reqId": "pyDeIhraMZ6wBpDVTEMx",
  "level": 3,
  "time": "2024-09-15T08:25:02+02:00",
  "remoteAddr": "",
  "user": "--",
  "app": "core",
  "method": "",
  "url": "--",
  "message": "Error while running background job OCA\\DAV\\BackgroundJob\\EventReminderJob (id: 27, arguments: null)",
  "userAgent": "--",
  "version": "30.0.0.14",
  "exception": {
    "Exception": "Doctrine\\DBAL\\Exception\\DriverException",
    "Message": "An exception occurred while executing a query: SQLSTATE[42803]: Grouping error: 7 ERROR: column \"cr.id\" must appear in the GROUP BY clause or be used in an aggregate function\nLINE 1: SELECT \"cr\".*, \"co\".\"calendardata\", \"c\".\"displayname\", \"c\".\"...\n ^",
    "Code": 7,
    "Trace": [
      {
        "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
        "line": 1943,
        "function": "convert",
        "class": "Doctrine\\DBAL\\Driver\\API\\PostgreSQL\\ExceptionConverter",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
        "line": 1885,
        "function": "handleDriverException",
        "class": "Doctrine\\DBAL\\Connection",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
        "line": 1106,
        "function": "convertExceptionDuringQuery",
        "class": "Doctrine\\DBAL\\Connection",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/DB/Connection.php",
        "line": 415,
        "function": "executeQuery",
        "class": "Doctrine\\DBAL\\Connection",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php",
        "line": 50,
        "function": "executeQuery",
        "class": "OC\\DB\\Connection",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
        "line": 272,
        "function": "executeQuery",
        "class": "OC\\DB\\ConnectionAdapter",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
        "line": 249,
        "function": "executeQuery",
        "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Backend.php",
        "line": 53,
        "function": "execute",
        "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php",
        "line": 104,
        "function": "getRemindersToProcess",
        "class": "OCA\\DAV\\CalDAV\\Reminder\\Backend",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php",
        "line": 50,
        "function": "processReminders",
        "class": "OCA\\DAV\\CalDAV\\Reminder\\ReminderService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
        "line": 61,
        "function": "run",
        "class": "OCA\\DAV\\BackgroundJob\\EventReminderJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
        "line": 83,
        "function": "start",
        "class": "OCP\\BackgroundJob\\Job",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
        "line": 73,
        "function": "start",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/cron.php",
        "line": 162,
        "function": "execute",
        "class": "OCP\\BackgroundJob\\TimedJob",
        "type": "->"
      }
    ],
    "File": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php",
    "Line": 87,
    "Previous": {
      "Exception": "Doctrine\\DBAL\\Driver\\PDO\\Exception",
      "Message": "SQLSTATE[42803]: Grouping error: 7 ERROR: column \"cr.id\" must appear in the GROUP BY clause or be used in an aggregate function\nLINE 1: SELECT \"cr\".*, \"co\".\"calendardata\", \"c\".\"displayname\", \"c\".\"...\n ^",
      "Code": 7,
      "Trace": [
        {
          "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
          "line": 132,
          "function": "new",
          "class": "Doctrine\\DBAL\\Driver\\PDO\\Exception",
          "type": "::"
        },
        {
          "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1099,
          "function": "execute",
          "class": "Doctrine\\DBAL\\Driver\\PDO\\Statement",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/DB/Connection.php",
          "line": 415,
          "function": "executeQuery",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php",
          "line": 50,
          "function": "executeQuery",
          "class": "OC\\DB\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
          "line": 272,
          "function": "executeQuery",
          "class": "OC\\DB\\ConnectionAdapter",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
          "line": 249,
          "function": "executeQuery",
          "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Backend.php",
          "line": 53,
          "function": "execute",
          "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php",
          "line": 104,
          "function": "getRemindersToProcess",
          "class": "OCA\\DAV\\CalDAV\\Reminder\\Backend",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php",
          "line": 50,
          "function": "processReminders",
          "class": "OCA\\DAV\\CalDAV\\Reminder\\ReminderService",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
          "line": 61,
          "function": "run",
          "class": "OCA\\DAV\\BackgroundJob\\EventReminderJob",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
          "line": 83,
          "function": "start",
          "class": "OCP\\BackgroundJob\\Job",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
          "line": 73,
          "function": "start",
          "class": "OCP\\BackgroundJob\\TimedJob",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/cron.php",
          "line": 162,
          "function": "execute",
          "class": "OCP\\BackgroundJob\\TimedJob",
          "type": "->"
        }
      ],
      "File": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php",
      "Line": 28,
      "Previous": {
        "Exception": "PDOException",
        "Message": "SQLSTATE[42803]: Grouping error: 7 ERROR: column \"cr.id\" must appear in the GROUP BY clause or be used in an aggregate function\nLINE 1: SELECT \"cr\".*, \"co\".\"calendardata\", \"c\".\"displayname\", \"c\".\"...\n ^",
        "Code": "42803",
        "Trace": [
          {
            "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
            "line": 130,
            "function": "execute",
            "class": "PDOStatement",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
            "line": 1099,
            "function": "execute",
            "class": "Doctrine\\DBAL\\Driver\\PDO\\Statement",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/private/DB/Connection.php",
            "line": 415,
            "function": "executeQuery",
            "class": "Doctrine\\DBAL\\Connection",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/private/DB/ConnectionAdapter.php",
            "line": 50,
            "function": "executeQuery",
            "class": "OC\\DB\\Connection",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
            "line": 272,
            "function": "executeQuery",
            "class": "OC\\DB\\ConnectionAdapter",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
            "line": 249,
            "function": "executeQuery",
            "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Backend.php",
            "line": 53,
            "function": "execute",
            "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/ReminderService.php",
            "line": 104,
            "function": "getRemindersToProcess",
            "class": "OCA\\DAV\\CalDAV\\Reminder\\Backend",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/apps/dav/lib/BackgroundJob/EventReminderJob.php",
            "line": 50,
            "function": "processReminders",
            "class": "OCA\\DAV\\CalDAV\\Reminder\\ReminderService",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/public/BackgroundJob/Job.php",
            "line": 61,
            "function": "run",
            "class": "OCA\\DAV\\BackgroundJob\\EventReminderJob",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
            "line": 83,
            "function": "start",
            "class": "OCP\\BackgroundJob\\Job",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php",
            "line": 73,
            "function": "start",
            "class": "OCP\\BackgroundJob\\TimedJob",
            "type": "->"
          },
          {
            "file": "/var/www/nextcloud/cron.php",
            "line": 162,
            "function": "execute",
            "class": "OCP\\BackgroundJob\\TimedJob",
            "type": "->"
          }
        ],
        "File": "/var/www/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
        "Line": 130
      }
    },
    "message": "Error while running background job OCA\\DAV\\BackgroundJob\\EventReminderJob (id: 27, arguments: null)",
    "exception": [],
    "CustomMessage": "Error while running background job OCA\\DAV\\BackgroundJob\\EventReminderJob (id: 27, arguments: null)"
  },
  "id": "66e67ea094ef8"
}

```

---

<div class="post-metadata">

**Author:** ![Bryan\_Baker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bryan_baker/32/64878_2.png) [@Bryan\_Baker](https://help.nextcloud.com/u/Bryan_Baker)\
**Post date:** [September 16, 2024, 1:52pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/2 "2024-09-16T13:52:24Z")

</div>

Same here, ever since 30 rc1.

---

<div class="post-metadata">

**Author:** ![Pietricello](https://help.nextcloud.com/letter_avatar/pietricello/32/5_5575768a8748004e209b776fc1b2916d.png) [@Pietricello](https://help.nextcloud.com/u/Pietricello)\
**Post date:** [September 17, 2024, 11:04am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/3 "2024-09-17T11:04:39Z")

</div>

it logged already 1137 errors in 2 days and i’m the only users. Administration page become fully unresponsive. I regret to upgrade to 30.0.0 , 29.0.7 was perfect for me. Is there a way to “safely” rollback ? I rather prefer something stable rather than new features.

---

<div class="post-metadata">

**Author:** ![hagbrain21](https://help.nextcloud.com/letter_avatar/hagbrain21/32/5_5575768a8748004e209b776fc1b2916d.png) [@hagbrain21](https://help.nextcloud.com/u/hagbrain21)\
**Post date:** [September 17, 2024, 3:49pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/4 "2024-09-17T15:49:34Z")

</div>

Same here. Nextcloud AIO fresh install with 30.0 .

DriverException An exception occurred while executing a query: SQLSTATE[42803]: Grouping error: 7 ERROR: column “cr.id” must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT “cr”.\*, “co”.“calendardata”, “c”.“displayname”, “c”."… ^  
Error while running background job OCA\DAV\BackgroundJob\EventReminderJob (id: 31, arguments: null)

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [September 17, 2024, 8:11pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/5 "2024-09-17T20:11:17Z")

</div>

seems to be a known bug [[Bug]: DriverException during BackgroundJob · Issue #47275 · nextcloud/server · GitHub](https://github.com/nextcloud/server/issues/47275) please follow/upvote it on Github

---

<div class="post-metadata">

**Author:** ![aledef](https://help.nextcloud.com/user_avatar/help.nextcloud.com/aledef/32/44259_2.png) [@aledef](https://help.nextcloud.com/u/aledef)\
**Post date:** [September 20, 2024, 8:15am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/6 "2024-09-20T08:15:02Z")

</div>

Same issue here after updating to 30.0.0  
I’m on the stable update channel and this is not the firs time I get big issues after updating, next time I’ll wait for XX.0.1 !

Calendar notifications are not working and I get hundreds of errors in the log like this one:  
“DriverException An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression [#1](https://github.com/nextcloud/server/issues/1) of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘xxxxxxx.cr.id’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql\_mode=only\_full\_group\_by”

My Nextcloud is on a shared hosting so I can’t edit /etc/mysql/my.cnf as suggested here: [https://github.com/nextcloud/server/issues/47275](https://github.com/nextcloud/server/issues/47275)

Any solution other than waiting for update?

---

<div class="post-metadata">

**Author:** ![Rodrigo\_Leao](https://help.nextcloud.com/user_avatar/help.nextcloud.com/rodrigo_leao/32/65039_2.png) [@Rodrigo\_Leao](https://help.nextcloud.com/u/Rodrigo_Leao)\
**Post date:** [September 20, 2024, 5:18pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/7 "2024-09-20T17:18:28Z")

</div>

same behavior here.

---

<div class="post-metadata">

**Author:** ![MedPlex](https://help.nextcloud.com/letter_avatar/medplex/32/5_5575768a8748004e209b776fc1b2916d.png) [@MedPlex](https://help.nextcloud.com/u/MedPlex)\
**Post date:** [September 22, 2024, 9:36am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/8 "2024-09-22T09:36:06Z")

</div>

I have the same problem.  
I installed Nextcloud via the AiO Docker reverse proxy image and had the bug immediately after installation.

Wanted to give Nextcloud another chance after many years and now this.

---

<div class="post-metadata">

**Author:** ![auceto](https://help.nextcloud.com/user_avatar/help.nextcloud.com/auceto/32/46153_2.png) [@auceto](https://help.nextcloud.com/u/auceto)\
**Post date:** [September 22, 2024, 3:56pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/9 "2024-09-22T15:56:59Z")

</div>

HI,  
same problem here with NC AIO installed from scratch.  
No reverse proxy and for me too, the bug are visible after installation

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [September 22, 2024, 9:55pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/10 "2024-09-22T21:55:40Z")

</div>

This is going to be fixed in Nextcloud 30.0.1. See [[stable30] fix: expand select and group by for calendar reminder backend by backportbot[bot] · Pull Request #48211 · nextcloud/server · GitHub](https://github.com/nextcloud/server/pull/48211)

---

<div class="post-metadata">

**Author:** ![Bryan\_Baker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bryan_baker/32/64878_2.png) [@Bryan\_Baker](https://help.nextcloud.com/u/Bryan_Baker)\
**Post date:** [September 23, 2024, 3:21pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/11 "2024-09-23T15:21:54Z")

</div>

Tested this on my system, no more errors! Thanks!

---

<div class="post-metadata">

**Author:** ![La-Fabrique-Info](https://help.nextcloud.com/user_avatar/help.nextcloud.com/la-fabrique-info/32/65125_2.png) [@La-Fabrique-Info](https://help.nextcloud.com/u/La-Fabrique-Info)\
**Post date:** [September 24, 2024, 8:53am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/12 "2024-09-24T08:53:00Z")

</div>

Could you please share, how you did apply the fixes, I’m kind of lost here…

Thx!

---

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [September 24, 2024, 9:17am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/13 "2024-09-24T09:17:50Z")

</div>

Hi @La-Fabrique-Info

> [@La-Fabrique-Info](#):
>
> how you did apply the fixes

How to apply a patch is [→ explained and described in the manual ←](https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html#patching-apps)

* * *

Much and good luck,  
ernolf

---

<div class="post-metadata">

**Author:** ![aledef](https://help.nextcloud.com/user_avatar/help.nextcloud.com/aledef/32/44259_2.png) [@aledef](https://help.nextcloud.com/u/aledef)\
**Post date:** [September 24, 2024, 9:53am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/14 "2024-09-24T09:53:36Z")

</div>

I’ve followed the instructions here:  
[https://docs.nextcloud.com/server/latest/admin\_manual/issues/applying\_patch.html#patching-apps](https://docs.nextcloud.com/server/latest/admin_manual/issues/applying_patch.html#patching-apps)

And here is the patch:  
[https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/48211.patch](https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/48211.patch)

It looks like two files are to be patched, as described here:

> <https://github.com/nextcloud/server/pull/48211/files/2f2394cfa995bba08cdc9f1f945875a437110a9e>
>
> Backport of PR #47399

The two files are:

1. apps/dav/lib/CalDAV/Reminder/Backend.php
2. apps/dav/tests/unit/CalDAV/Reminder/BackendTest.php

The second one doesn’t exist on my install ( actually the whole apps/dav/tests directory does not exist ) , so what is it’s purpose?  
Should I patch only the first one?

---

<div class="post-metadata">

**Author:** ![La-Fabrique-Info](https://help.nextcloud.com/user_avatar/help.nextcloud.com/la-fabrique-info/32/65125_2.png) [@La-Fabrique-Info](https://help.nextcloud.com/u/La-Fabrique-Info)\
**Post date:** [September 24, 2024, 11:34am UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/15 "2024-09-24T11:34:34Z")

</div>

Ok never had to apply some patch before… Every day is a day for learning something 😁, Thanks for you answers.

Same as @aledef here, the folder `apps/dav/tests` does not exists at all.  
I’ve install NC AIO with docker, and using V 30.0.0.

---

<div class="post-metadata">

**Author:** ![Pietricello](https://help.nextcloud.com/letter_avatar/pietricello/32/5_5575768a8748004e209b776fc1b2916d.png) [@Pietricello](https://help.nextcloud.com/u/Pietricello)\
**Post date:** [September 24, 2024, 2:30pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/16 "2024-09-24T14:30:37Z")

</div>

Seems patch solved the issue. Regarding about “test” guess is just because is a development patch used also with a test environment. Here what i did:

1. navigate to root NC folder (check for status.php to ensure you’re in the right place)
2. sudo [https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/48211.patch](https://patch-diff.githubusercontent.com/raw/nextcloud/server/pull/48211.patch)
3. patch -p 1 \< 48211.patch

At this point it will prompt how to proceed as the /test directory does not exists (this is my case a standard NC installation). Just ignore (press enter) it will ask if you wanna skip those files, do that.

That’s all. I did like that and since 40 minutes i do not log that error anymore. If you wanna be 100% sure do not worsen things just make a backup of the original file (sudo cp Backend.php Backend\_original.php from the appropriate indicated path) in case you can rollback and wait for an official patch/update.

---

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [September 24, 2024, 2:54pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/17 "2024-09-24T14:54:31Z")

</div>

> [@La-Fabrique-Info](#):
>
> I’ve install NC AIO with docker

In an All-In-One Docker container, you cannot simply apply patches as described in the manual. AIO is designed in such a way that the user does not need to know or understand anything, but can also hardly customize anything beyond the standard. All errors are fixed by the developers and you have to wait for the new container.

* * *

ernolf

---

<div class="post-metadata">

**Author:** ![Bryan\_Baker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bryan_baker/32/64878_2.png) [@Bryan\_Baker](https://help.nextcloud.com/u/Bryan_Baker)\
**Post date:** [September 26, 2024, 3:22pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/18 "2024-09-26T15:22:54Z")

</div>

Running AIO here. I just manually edited the Backend.php file per the Git revisions. It was a pretty simple change. So, sudo nano /var/www/nextcloud/apps/dav/lib/CalDAV/Reminder/Backend.php and then cut/paste the changes. Done.

---

<div class="post-metadata">

**Author:** ![ernolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ernolf/32/77874_2.png) [@ernolf](https://help.nextcloud.com/u/ernolf)\
**Post date:** [September 26, 2024, 3:42pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/19 "2024-09-26T15:42:23Z")

</div>

> [@Bryan\_Baker](#):
>
> and then cut/paste the changes. Done.

Yes. Of course that is possible. And? Are those changes persistent between reboots?

* * *

ernolf

---

<div class="post-metadata">

**Author:** ![szaimen](https://help.nextcloud.com/user_avatar/help.nextcloud.com/szaimen/32/63019_2.png) [@szaimen](https://help.nextcloud.com/u/szaimen)\
**Post date:** [September 26, 2024, 4:03pm UTC](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947/20 "2024-09-26T16:03:54Z")

</div>

> [@ernolf](#):
>
> Are those changes persistent between reboots?

Yes, should be until the next Nextcloud update

[Next page](https://help.nextcloud.com/t/error-after-upgrading-to-30-0-driver-exception/203947.md?page=2)
