nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.4k stars 4.07k forks source link

[Bug]:Warning message in log ( defaultDaemonConfig) when navigating to "Applications" tab and submenu, Nextcloud 30.0.2 RC2 #49123

Open Cisco30 opened 6 days ago

Cisco30 commented 6 days ago

⚠️ This issue respects the following points: ⚠️

Bug description

Hi, A warning message is generated each time when browsing the "Applications" tab. This message is generated each time in the submenus of the "Applications" tab, and each time the web page is refreshed inside the tab.

Image

Steps to reproduce

1.Go to the “Applications” tab 2.check the Nextcloud error log 3.each time the tab is refreshed the error is added

Expected behavior

there should be no errors in the log when navigating to the "Applications" tab

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

"system": {
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.seeboxs.com",
        "www.cloud.seeboxs.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "30.0.2.1",
    "overwrite.cli.url": "https:\/\/cloud.seeboxs.com",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "default_phone_region": "FR",
    "htaccess.RewriteBase": "\/",
    "trashbin_retention_obligation": "auto, 30",
    "filelocking.enabled": "true",
    "knowledgebaseenabled": false,
    "activity_expire_days": 7,
    "skeletondirectory": "\/var\/www\/extra_nextcloud\/skeleton\/",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": "0",
        "timeout": "0.0"
    },
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "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": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "default_language": "fr",
    "default_locale": "fr_FR",
    "updater.release.channel": "stable",
    "maintenance_window_start": 1,
    "maintenance": false,
    "integrity.check.disabled": false,
    "enable_previews": true,
    "enabledPreviewProviders": {
        "1": "OC\\Preview\\BMP",
        "2": "OC\\Preview\\GIF",
        "3": "OC\\Preview\\JPEG",
        "4": "OC\\Preview\\Krita",
        "5": "OC\\Preview\\MarkDown",
        "6": "OC\\Preview\\MP3",
        "7": "OC\\Preview\\OpenDocument",
        "8": "OC\\Preview\\PNG",
        "9": "OC\\Preview\\TXT",
        "10": "OC\\Preview\\XBitmap",
        "11": "OC\\Preview\\Image",
        "12": "OC\\Preview\\HEIC",
        "13": "OC\\Preview\\TIFF",
        "14": "OC\\Preview\\Movie",
        "15": "OC\\Preview\\MP4",
        "16": "OC\\Preview\\PDF"
    },
    "preview_max_x": 1024,
    "preview_max_y": 1024,
    "preview_concurrency_all": 16,
    "preview_concurrency_new": 8,
    "preview_max_filesize_image": 200,
    "preview_max_memory": -1,
    "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
    "theme": "",
    "defaultapp": "",
    "loglevel": 2,
    "updatechecker": true,
    "has_internet_connection": true,
    "app_install_overwrite": [
        "twofactor_email",
        "otpmanager",
        "socialsharing_facebook",
        "maps"
    ],
    "forbidden_filename_characters": [
        "\\",
        "\/"
    ],
    "forbidden_filename_extensions": [
        ".filepart",
        ".part"

List of activated Apps

Enabled:

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"Ckoa6YfQRfpgWbHlXkuJ","level":2,"time":"2024-11-07T08:16:46+00:00","remoteAddr":"192.168.1.254","user":"Boubou","app":"no app in context","method":"GET","url":"/settings/apps","message":"Invalid defaultDaemonConfig data provided to provideInitialState by settings","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36","version":"30.0.2.1","data":[]}

Additional info

I am using: Debian 12 (up to date) MariaDB Server version: 11.4.4-MariaDB-deb12 PHP 8.2.24 (cli) Apache/2.4.62 (Debian)

Scoon1e commented 5 days ago

I get the same error without setting windows compatibility. For me it is the plugin "Passwords" what leads to this error. After Updating from 30.0.1 to 30.0.2 I was not able to access Passwords nor the administrative settings via Web-GUI.

After deactivating the plugin Passwords I have access again and can read the thrown error I have attached:

Image

leachimus commented 3 days ago

The app “app_api: 4.0.0” is responsible for this behavior. I have just deactivated all my apps and activated them individually, and this app is the culprit. After deactivation there are no more errors. I can't understand why this wasn't noticed before the release.

vanyolai commented 3 days ago

I get the same error without setting windows compatibility. For me it is the plugin "Passwords" what leads to this error. After Updating from 30.0.1 to 30.0.2 I was not able to access Passwords nor the administrative settings via Web-GUI.

After deactivating the plugin Passwords I have access again and can read the thrown error I have attached:

Image

I've got the same issue. I had to disable passwords app, until then I kept getting internal server error and could not open dashboard. Nextcloud: 30.0.2 Passwords: 2024.9.20

Pammetje commented 2 days ago

The app “app_api: 4.0.0” is responsible for this behavior. I have just deactivated all my apps and activated them individually, and this app is the culprit. After deactivation there are no more errors. I can't understand why this wasn't noticed before the release.

Also disabled app_api: 4.0.0” and the warnings are also gone on my system

Scoon1e commented 1 day ago

I've got an update for the app Passwords today. Now everything is working again.

Image

For me no need to deactivate the "app_api: 4.0.0".

Image

HRL62 commented 1 day ago

The app “app_api: 4.0.0” is responsible for this behavior. I have just deactivated all my apps and activated them individually, and this app is the culprit. After deactivation there are no more errors. I can't understand why this wasn't noticed before the release.

Also disabled app_api: 4.0.0” and the warnings are also gone on my system