nextcloud / nextcloud/richdocuments

Admin Settings frozen after update

Open
#4,122 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: settings needs info
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
After upgrading to upgrading to Nextcloud 29.0.8 the admin settings for nextcloud office are no longer changable.

To Reproduce
Steps to reproduce the behavior:

  1. Update from 29.0.7 to .8 (and subsequently also update nextcloud office and collabora code server)
  2. Go to Admin settings
  3. go to nextcloud office
  4. Try to change any setting

Expected behavior
Settings should be changable

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Windows 10
  • Browser Firefox
  • Version 131
  • Device: desktop

Server details

Operating system:
CentOS 7

Web server:
Apache 2.4.62

Database:
MariaDB 10.6.19

PHP version:
8.2

Nextcloud version:
29.0.8

Version of the richdocuments app
8.4.7

Version of Collabora Online
24.4.802

Configuration of the richdocuments app

{
    "apps": {
        "richdocuments": {
            "disable_certificate_verification": "",
            "enabled": "yes",
            "installed_version": "8.4.7",
            "types": "prevent_group_restriction",
            "wopi_allowlist": "",
            "wopi_url": "https:\/\/***redacted***\/office\/"
        }
    }
}
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Content-Security-Policy: Ignorieren von "blob:" innerhalb script-src-elem: 'strict-dynamic' angegeben [richdocuments](https://***redacted***/settings/admin/richdocuments)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource (media-src) auf data: blockiert, da sie gegen folgende Direktive verstößt: "media-src 'self' blob:" [richdocuments](https://***redacted***/settings/admin/richdocuments)
Unified search initialized! [UnifiedSearch.vue:54](webpack:///nextcloud/core/src/views/UnifiedSearch.vue)
TypeError: document.getElementById(...) is null
    toggleTemplateSettings AdminSettings.vue:834
    beforeMount AdminSettings.vue:596
    VueJS 14
    <anonymous> admin.js:27
    <anonymous> admin.js:142
    <anonymous> admin.js:142
[vue.runtime.esm.js:3065:16](webpack:///richdocuments/node_modules/vue/dist/vue.runtime.esm.js)
XHRGET
https:/***redacted***/apps/richdocuments/settings/check
[HTTP/2 500  175ms]

Initializing unified search plugin-filters from talk [search.js:41:10](webpack:///talk/src/search.js)
session heartbeat polling started [session-heartbeat.js:103:9](webpack:///nextcloud/core/src/session-heartbeat.js)
Diese Seite verwendet die nicht standardisierte Eigenschaft "zoom". Stattdessen sollte calc() in den entsprechenden Eigenschaftswerten oder "transform" zusammen mit "transform-origin: 0 0" verwendet werden. [richdocuments](https://***redacted***/settings/admin/richdocuments)
Registering notifications container as a menu [NotificationsApp.vue:237](webpack:///notifications/src/NotificationsApp.vue)
Notifications permissions not yet requested [NotificationsApp.vue:497](webpack:///notifications/src/NotificationsApp.vue)
Has notify_push enabled, slowing polling to 15 minutes [NotificationsApp.vue:249](webpack:///notifications/src/NotificationsApp.vue)
Polling interval updated to 900000 [NotificationsApp.vue:443](webpack:///notifications/src/NotificationsApp.vue)
Started background fetcher as session_keepalive is enabled [NotificationsApp.vue:293](webpack:///notifications/src/NotificationsApp.vue)
Search providers 
Array(16) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ]
[UnifiedSearchModal.vue:275](webpack:///nextcloud/core/src/views/UnifiedSearchModal.vue)
Contacts 
Array(5) [ {…}, {…}, {…}, {…}, {…} ]
[UnifiedSearchModal.vue:279](webpack:///nextcloud/core/src/views/UnifiedSearchModal.vue)
Uncaught (in promise) TypeError: t.response.data.data is undefined
    checkSettings AdminSettings.vue:612
    beforeMount AdminSettings.vue:595
    VueJS 14
    <anonymous> admin.js:27
    <anonymous> admin.js:142
    <anonymous> admin.js:142
[AdminSettings.vue:612](webpack:///richdocuments/src/components/AdminSettings.vue)
Got notification data, restoring default polling interval.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upgrade from Nextcloud 29.0.7 to 29.0.8 with richdocuments 8.4.7, then inspect src/components/AdminSettings.vue around toggleTemplateSettings and checkSettings. Compare the failing /apps/richdocuments/settings/check request with the browser errors; done means the admin settings page loads without errors and settings can be changed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.