Label is available on files but missing from Basic Settings

Nextcloud Server version (e.g., 29.x.x):

    • Nextcloud Hub 26 Spring (34.0.3)
  • Operating system and version (e.g., Ubuntu 24.04):

    • Ubuntu 24 LTS
  • Web server and version (e.g, Apache 2.4.25):

    • Apache 2.4
  • Reverse proxy and version _(e.g. nginx 1.27.2)

    • Not present
  • PHP version (e.g, 8.3):

    • 8.5
  • Is this the first time you’ve seen this error? (Yes / No):

    • yes
  • When did this problem seem to first start?

    • I dont know, since some upgrade I suppose
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)

    • script maybe
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)

    • I'm not using that

Hi,

I noticed a problem with the labels that can be created and assigned to shared files.

In Settings → Basic settings, I have created 6 labels. Five of them are displayed correctly in the labels management section, so I can edit or delete them as expected.

However, one label is completely missing from that list. It is not displayed at all, so there is no way for me to edit or delete it.

The strange part is that the label itself still exists and works correctly: I can assign it to files and it appears normally when managing the files. It is only missing from the page where labels are managed.

I need to change the name of this label, but since it is not listed in the settings, I have no way to do that.

Has anyone experienced something similar? Is there a way to recover or remove a label that is still available for files but no longer appears in the label management section?

Thanks!

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

Brave 1.93.138

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "nextcloud.domain.ext"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "34.0.3.2",
        "enable_push_notifications": false,
        "overwrite.cli.url": "https:\/\/nextcloud.domain.ext\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "simpleSignUpLink.shown": false,
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "filesystem_check_changes": 1,
        "maintenance_window_start": 1,
        "trashbin_retention_obligation": "7,8",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "app_install_overwrite": [
            "passwords",
            "theming_customcss"
        ],
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ]
    }
}

Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 7.0.0
  - appstore: 1.0.0
  - bruteforcesettings: 7.0.0
  - calendar: 6.5.4
  - circles: 34.0.0
  - cloud_federation_api: 1.18.0
  - comments: 1.24.0
  - contacts: 8.7.6
  - contactsinteraction: 1.15.0
  - dashboard: 7.14.0
  - dav: 1.40.0
  - federatedfilesharing: 1.24.0
  - federation: 1.24.0
  - files: 2.6.0
  - files_automatedtagging: 5.0.0
  - files_downloadlimit: 5.2.0
  - files_lock: 34.0.1
  - files_pdfviewer: 7.0.0-dev.0
  - files_reminders: 1.7.0
  - files_retention: 5.0.0
  - files_sharing: 1.26.0
  - files_trashbin: 1.24.0
  - files_versions: 1.27.0
  - firstrunwizard: 7.0.0-dev.0
  - logreader: 7.0.0
  - lookup_server_connector: 1.22.0
  - mail: 5.11.2
  - nextcloud_announcements: 6.0.0
  - notes: 6.0.2
  - notifications: 7.0.0-dev.1
  - oauth2: 1.22.0
  - office: 1.0.0
  - password_policy: 6.0.0-dev.0
  - passwords: 2026.7.20
  - photos: 7.0.0
  - privacy: 6.0.0-dev.1
  - profile: 1.3.0
  - provisioning_api: 1.24.0
  - recommendations: 7.0.0
  - related_resources: 5.0.0-dev.0
  - richdocuments: 11.1.0
  - richdocumentscode: 26.4.104
  - serverinfo: 6.0.0
  - settings: 1.17.0
  - sharebymail: 1.24.0
  - spreed: 24.0.4
  - support: 6.0.0
  - survey_client: 6.0.0-dev.0
  - suspicious_login: 12.0.0-dev.0
  - systemtags: 1.24.0
  - text: 8.0.0
  - theming: 2.9.0
  - theming_customcss: 1.21.0
  - twofactor_backupcodes: 1.23.0
  - twofactor_totp: 16.0.0
  - twofactor_webauthn: 2.7.0
  - updatenotification: 1.24.0
  - user_status: 1.14.0
  - viewer: 7.0.0-dev.0
  - weather_status: 1.14.0
  - webhook_listeners: 1.6.0
  - workflowengine: 2.16.0
Disabled:
  - admin_audit: 1.24.0
  - app_api: 34.0.0 (installed 32.0.0)
  - encryption: 2.22.0
  - files_external: 1.26.0
  - twofactor_nextcloud_notification: 8.0.0 (installed 3.10.0)
  - user_ldap: 1.25.0

Screenshot:

On files this is the popup showed when you press manage labels where you can select a label to be added. You can see I selected the label that is invisible in the basic settings page “Shared - Condiviso 7 gg”.

If I go on the basic settings page this is what I can see:

I tried to select a row and move with keyboard arrow but I can confirm only 5 labels are showed instead of 6

Any help will be appreciated.
Would be nice if you can identify a bug and report will be fixed or any workaround to rename the “Shared - Condiviso 7 gg”
Thank you!

Hi @pippin,

what you refer to as “labels” are actually called “tags.” You can manage tags not only via the UI, but there are also extensive options for handling them using occ:

Here the available occ commands for the “tag” namespace:

  tag:add               Add new tag
  tag:delete            delete a tag
  tag:edit              edit tag attributes
  tag:files:add         Add a system-tag to a file or folder
  tag:files:delete      Delete a system-tag from a file or folder
  tag:files:delete-all  Delete all system-tags from a file or folder
  tag:list              list tags

h.t.h.


ernolf

Thank you very much, sing the SSH command as helped me to resolve.

Would be interesting understand why the UI never show all tags in my case. The tag ID was 1, this tag still be not visible in the UI.

Should I report this issue to the GitHub?

As this for me is just a discussion I reported the issue here so I can follow the progression.