[RESOLVED] Strange repeating errors in log: "Column not found"

  • Nextcloud Server version:
    • 32.0.3
  • Operating system and version:
    • Debian 13
  • Web server and version:
    • nginx 1.26.3
  • Reverse proxy and version:
    • nginx 1.26.3
  • PHP version:
    • 8.4
  • Installation method:
    • Bare Metal

There are strange repeating error in log: “Column not found”:

[core] Error:

DbalException An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘deleted_by’ in ‘SELECT trash_id, name, deleted_time, original_location, collective_id, file_id, deleted_by FROM oc_collectives_page_trash

Error while running background job OCA\Collectives\BackgroundJob\ExpirePageTrash (id: 94761, arguments: null)
from ? by – at 5 sty 2026, 16:58:43

I have checked there is no column “deleted_by” in the table “oc_collectives_page_trash”.

When I run:

sudo -u www-data php occ db:add-missing-columns

there is no message but just:

Done.

I have found there is no row in the table “oc_collectives_page_trash”.

Should I manually add this column to the table?

Or, better, should I remove “Collectives” app and install it again?

Currently reported as bug with workaround:

Thank you, @Mornsgrans.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.