Howto Edit Note Categories?

Support intro

I have a problem. I entered a note category with an upper-case beginning and all other categories are lower-case. I need to edit the category I created, but cannot find anywhere in nextcloud to do it.

How do I edit the name of a note category?

It seems like such a simple thing, but how? Surely I don’t have to hack the MariaDB/MySQL tables directory – do I?

You cannot just enter the same category with the correct case because the notes category will automatically select the spelling with the original case. As a hack/work-around you can enter the same category with the case correct and append a sub-category to it and the case of the parent will be updated But there should be a more direct way to do this.


Archlinux: 6.6.1-arch1-1
Apache / 2.4.58 (Unix)
OpenSSL / 3.1.4
PHP / 8.1.25
MariaDB / 11.1.2

nextcloud 27.1.3
notes 4.8.1

Steps to replicate it:

  1. Edit a note
  2. Choose Details and enter a New category name
  3. Now, after it registers, go try and change the New category correct a misspelling or capitalization issue.

Setup & Warning (overview)

All checks passed.

The output of your Nextcloud log in Admin > Logging:

Not Applicable - somewhere in the daisy-chain of configs APCu module is loaded twice and the second generates the already loaded warning. I just haven’t had time to chase down exactly where. The Web-App standard install on Archlinux with config isolation and multiple different configs and ini files involved makes this a bit of a challenge.

There are no other errors logged.

{"reqId":"hSQMccqftrZUDPq3l5sh","level":3,"time":"2023-11-10T00:56:17+00:00","remoteAddr":"","user":"david","app":"PHP","method":"GET","url":"/nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications","message":"Module \"apcu\" is already loaded at Unknown#0","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"","data":{"app":"PHP"},"id":"654d7fca01f9f"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/httpd/access: - - [09/Nov/2023:19:01:24 -0600] "GET /nextcloud/apps/logreader/poll?lastReqId=hSQMccqftrZUDPq3l5sh HTTP/1.1" 200 22 - - [09/Nov/2023:19:01:44 -0600] "GET /nextcloud/apps/logreader/poll?lastReqId=hSQMccqftrZUDPq3l5sh HTTP/1.1" 200 22 - - [09/Nov/2023:19:02:13 -0600] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - - - [09/Nov/2023:19:02:04 -0600] "GET /nextcloud/apps/logreader/poll?lastReqId=hSQMccqftrZUDPq3l5sh HTTP/1.1" 200 22 - - [09/Nov/2023:19:02:43 -0600] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - - - [09/Nov/2023:19:02:24 -0600] "GET /nextcloud/apps/logreader/poll?lastReqId=hSQMccqftrZUDPq3l5sh HTTP/1.1" 200 22 - - [09/Nov/2023:19:02:44 -0600] "GET /nextcloud/apps/logreader/poll?lastReqId=hSQMccqftrZUDPq3l5sh HTTP/1.1" 200 22 - - [09/Nov/2023:19:03:13 -0600] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 -

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.