Browser and Version: Chrome 93.0.4577.63
Client OS and Version: Ubuntu 20.04 LTS
Steps to reproduce
Look at the update notification
Expected result
Update notification text
Actual result
Nextcloud log
Nextcloud log
```
{"reqId":"xKoF0qcKoFkfbXxm4ozD","level":3,"time":"2021-09-05T07:50:13+00:00","remoteAddr":"192.168.10.1","user":"sgofferj","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":{"Exception":"Error","Message":"Array to string conversion at /var/www/html/lib/private/L10N/L10NString.php#79","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"Array to string conversion","/var/www/html/lib/private/L10N/L10NString.php",79,{"translations":{"{version} is available. Get more information on how to update.":"{version} is available. Get more information on how to update.","Channel updated":"Channel updated","Update notifications":"Update notifications","The update server could not be reached since %d days to check for new updates.":"The update server could not be reached since %d days to check for new updates.","Please check the Nextcloud and server log files for errors.":"Please check the Nextcloud and server log files for errors.","Update to %1$s is available.":"Update to %1$s is available.","Update for %1$s to version %2$s is available.":"Update for %1$s to version %2$s is available.","Update for {app} to version %s is available.":"Update for {app} to version %s is available.","Update notification":"Update notification","Displays update notifications for Nextcloud and provides the SSO for the updater.":"Displays update notifications for Nextcloud and provides the SSO for the updater.","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.":"The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.","View in store":"View in store","Open updater":"Open updater","Download now":"Download now","What's new?":"What's new?","The update check is not yet finished. Please refresh the page.":"The update check is not yet finished. Please refresh the page.","Your version is up to date.":"Your version is up to date.","A non-default update server is in use to be checked for updates:":"A non-default update server is in use to be checked for updates:","Update channel:":"Update channel:","You can always update to a newer version. But you can never downgrade to a more stable version.":"You can always update to a newer version, but you can never downgrade to a more stable version.","Notify members of the following groups about available updates:":"Notify members of the following groups about available updates:","The selected update channel makes dedicated notifications for the server obsolete.":"The selected update channel makes dedicated notifications for the server obsolete.","The selected update channel does not support updates of the server.":"The selected update channel does not support updates of the server.","A new version is available: {newVersionString}":"A new version is available: {newVersionString}","Checked on {lastCheckedDate}":"Checked on {lastCheckedDate}","Please make sure your config.php does not set appstoreenabled to false.":"Please make sure your config.php does not set appstoreenabled to false.","View changelog":"View changelog","Enterprise":"Enterprise","For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package.":"For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package.","Stable":"Stable","The most recent stable version. It is suited for regular use and will always update to the latest major version.":"The most recent stable version. It is suited for regular use and will always update to the latest major version.","Beta":"Beta","A pre-release version only for testing new features, not for production environments.":"A pre-release version only for testing new features, not for production environments.","Apps missing updates":"Apps missing updates","Apps with available updates":"Apps with available updates","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.":"Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.","Only notification for app updates are available.":"Only notification for app updates are available.","Checking apps for compatible updates":"Checking apps for compatible updates","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.":"Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.","All apps have an update for this version available":"All apps have an update for this version available","_%n app has no update for this version available_::_%n apps have no update for this version available_":["%n app has no update for this version available","%n apps have no update for this version available"]},"text":"Update for %1$s to version %2$s is available."}]},{"file":"/var/www/html/lib/private/L10N/L10NString.php","line":79,"function":"vsprintf","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/lib/private/L10N/L10N.php","line":110,"function":"__toString","class":"OC\\L10N\\L10NString","type":"->","args":[]},{"file":"/var/www/html/lib/private/L10N/LazyL10N.php","line":53,"function":"t","class":"OC\\L10N\\L10N","type":"->","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/apps/updatenotification/lib/Notification/Notifier.php","line":145,"function":"t","class":"OC\\L10N\\LazyL10N","type":"->","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/lib/private/Notification/Manager.php","line":299,"function":"prepare","class":"OCA\\UpdateNotification\\Notification\\Notifier","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"en_GB"]},{"file":"/var/www/html/apps/notifications/lib/Controller/EndpointController.php","line":106,"function":"prepare","class":"OC\\Notification\\Manager","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"en_GB"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->","args":["v2"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\EndpointController","listNotifications",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"apiVersion":"v2","_route":"ocs.notifications.Endpoint.listNotifications"}]},{"file":"/var/www/html/ocs/v1.php","line":63,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/var/www/html/ocs/v2.php","line":24,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36","version":"21.0.4.1"}
```
System Information
Server:
Client:
Steps to reproduce
Expected result
Update notification text
Actual result
Nextcloud log
Nextcloud log
``` {"reqId":"xKoF0qcKoFkfbXxm4ozD","level":3,"time":"2021-09-05T07:50:13+00:00","remoteAddr":"192.168.10.1","user":"sgofferj","app":"PHP","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications","message":{"Exception":"Error","Message":"Array to string conversion at /var/www/html/lib/private/L10N/L10NString.php#79","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[8,"Array to string conversion","/var/www/html/lib/private/L10N/L10NString.php",79,{"translations":{"{version} is available. Get more information on how to update.":"{version} is available. Get more information on how to update.","Channel updated":"Channel updated","Update notifications":"Update notifications","The update server could not be reached since %d days to check for new updates.":"The update server could not be reached since %d days to check for new updates.","Please check the Nextcloud and server log files for errors.":"Please check the Nextcloud and server log files for errors.","Update to %1$s is available.":"Update to %1$s is available.","Update for %1$s to version %2$s is available.":"Update for %1$s to version %2$s is available.","Update for {app} to version %s is available.":"Update for {app} to version %s is available.","Update notification":"Update notification","Displays update notifications for Nextcloud and provides the SSO for the updater.":"Displays update notifications for Nextcloud and provides the SSO for the updater.","The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.":"The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.","View in store":"View in store","Open updater":"Open updater","Download now":"Download now","What's new?":"What's new?","The update check is not yet finished. Please refresh the page.":"The update check is not yet finished. Please refresh the page.","Your version is up to date.":"Your version is up to date.","A non-default update server is in use to be checked for updates:":"A non-default update server is in use to be checked for updates:","Update channel:":"Update channel:","You can always update to a newer version. But you can never downgrade to a more stable version.":"You can always update to a newer version, but you can never downgrade to a more stable version.","Notify members of the following groups about available updates:":"Notify members of the following groups about available updates:","The selected update channel makes dedicated notifications for the server obsolete.":"The selected update channel makes dedicated notifications for the server obsolete.","The selected update channel does not support updates of the server.":"The selected update channel does not support updates of the server.","A new version is available: {newVersionString}":"A new version is available: {newVersionString}","Checked on {lastCheckedDate}":"Checked on {lastCheckedDate}","Please make sure your config.php does not set appstoreenabled to false.":"Please make sure your config.php does not set appstoreenabled to false.","View changelog":"View changelog","Enterprise":"Enterprise","For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package.":"For enterprise use. Provides always the latest patch level, but will not update to the next major release immediately. That update happens once Nextcloud GmbH has done additional hardening and testing for large-scale and mission-critical deployments. This channel is only available to customers and provides the Nextcloud Enterprise package.","Stable":"Stable","The most recent stable version. It is suited for regular use and will always update to the latest major version.":"The most recent stable version. It is suited for regular use and will always update to the latest major version.","Beta":"Beta","A pre-release version only for testing new features, not for production environments.":"A pre-release version only for testing new features, not for production environments.","Apps missing updates":"Apps missing updates","Apps with available updates":"Apps with available updates","Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.":"Note that after a new release it can take some time before it shows up here. We roll out new versions spread out over time to our users and sometimes skip a version when issues are found.","Only notification for app updates are available.":"Only notification for app updates are available.","Checking apps for compatible updates":"Checking apps for compatible updates","Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.":"Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.","All apps have an update for this version available":"All apps have an update for this version available","_%n app has no update for this version available_::_%n apps have no update for this version available_":["%n app has no update for this version available","%n apps have no update for this version available"]},"text":"Update for %1$s to version %2$s is available."}]},{"file":"/var/www/html/lib/private/L10N/L10NString.php","line":79,"function":"vsprintf","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/lib/private/L10N/L10N.php","line":110,"function":"__toString","class":"OC\\L10N\\L10NString","type":"->","args":[]},{"file":"/var/www/html/lib/private/L10N/LazyL10N.php","line":53,"function":"t","class":"OC\\L10N\\L10N","type":"->","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/apps/updatenotification/lib/Notification/Notifier.php","line":145,"function":"t","class":"OC\\L10N\\LazyL10N","type":"->","args":["Update for %1$s to version %2$s is available.",[["Passwords",{"@attributes":{"lang":"de"},"@value":"Passw\u00f6rter"}],"2021.9.20"]]},{"file":"/var/www/html/lib/private/Notification/Manager.php","line":299,"function":"prepare","class":"OCA\\UpdateNotification\\Notification\\Notifier","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"en_GB"]},{"file":"/var/www/html/apps/notifications/lib/Controller/EndpointController.php","line":106,"function":"prepare","class":"OC\\Notification\\Manager","type":"->","args":[{"__class__":"OC\\Notification\\Notification"},"en_GB"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"listNotifications","class":"OCA\\Notifications\\Controller\\EndpointController","type":"->","args":["v2"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Notifications\\Controller\\EndpointController"},"listNotifications"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Notifications\\Controller\\EndpointController","listNotifications",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"apiVersion":"v2","_route":"ocs.notifications.Endpoint.listNotifications"}]},{"file":"/var/www/html/ocs/v1.php","line":63,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/apps/notifications/api/v2/notifications"]},{"file":"/var/www/html/ocs/v2.php","line":24,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36","version":"21.0.4.1"} ```Browser log
Browser log
``` Empty ```