Skip to content

News app stopped working after update to 14.0.3 #11807

Closed

Description

@ku8az

Steps to reproduce

  1. Update News app to 14.0.3
  2. Update Nextcloud server from 14.0.1 to 14.0.3
  3. Open News app

Expected behaviour

News app should display with all feeds available.

Actual behaviour

Blank page instead of a News app page. Error 'Server error, for more information see nextcloud.log file' appears at the page top.

Server configuration

Operating system:
Ubuntu 18.04 (in LXC container on Turris Omnia server)
Web server:
Nginx 1.14.0
Database:
mariadb Ver 15.1 Distrib 10.1.34-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2
PHP version:
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Nextcloud version: (see Nextcloud admin page)
14.0.3
Updated from an older Nextcloud/ownCloud or fresh install:
In browser update from 14.0.1 to 14.0.3
Where did you install Nextcloud from:
Nexcloud
Signing status:

Signing status No errors have been found.

List of activated apps:

App list - activity: 2.7.0 - apporder: 0.5.0 - bookmarks: 0.13.1 - bruteforcesettings: 1.1.0 - calendar: 1.6.2 - camerarawpreviews: 0.5.6 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.6 - dav: 1.6.0 - drawio: 0.9.1 - federatedfilesharing: 1.4.0 - files: 1.9.0 - files_markdown: 2.0.4 - files_pdfviewer: 1.3.2 - files_rightclick: 0.8.4 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_versions: 1.7.1 - files_videoplayer: 1.3.0 - flowupload: 0.0.8 - gallery: 18.1.0 - groupfolders: 1.3.3 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - mail: 0.10.0 - music: 0.9.2 - news: 13.0.2 - nextcloud_announcements: 1.3.0 - notes: 2.4.2 - notifications: 2.2.1 - oauth2: 1.2.1 - password_policy: 1.4.0 - passwords: 2018.10.0 - provisioning_api: 1.4.0 - radio: 0.6.3 - ransomware_protection: 1.2.0 - serverinfo: 1.4.0 - socialsharing_email: 1.0.4 - spreed: 4.0.0 - tasks: 0.9.7 - twofactor_backupcodes: 1.3.1 - updatenotification: 1.4.1 - workflowengine: 1.4.0 Disabled: - accessibility - admin_audit - audioplayer - deck - encryption - federation - files_automatedtagging - files_external - files_inotify - firstrunwizard - gpxedit - gpxmotion - gpxpod - ocsms - ojsxc - scanner - sharebymail - support - survey_client - systemtags - theming - user_external - user_ldap - weather

Nextcloud configuration:

Config report { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "blacklisted_files": [ ".htaccess", "Thumbs.db", "thumbs.db" ], "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\Movie", "OC\\Preview\\PDF", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown" ], "preview_max_x": 1024, "preview_max_y": 768, "preview_max_scale_factor": 1, "trusted_domains": [ ***REMOVED SENSITIVE VALUE*** ], "version": "14.0.3.0", "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "dbtype": "mysql", "dbname": "***REMOVED SENSITIVE VALUE***", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbport": "3306", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0 }, "quota_include_external_storage": false, "maintenance": false, "updater.secret": "***REMOVED SENSITIVE VALUE***", "theme": "", "loglevel": 2 } }

Are you using external storage, if yes which one: local/smb/sftp/...
yes - local
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
Opera 56.0.3051.36
Operating system:
Windows 10

Logs

Web server error log

Web server error log 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/apps/news/ HTTP/2.0" 200 12205 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/core/js/oc.js?v=0fd7f794 HTTP/2.0" 200 5925 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 74 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/apps/apporder/getOrder HTTP/2.0" 200 183 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/apps/news/settings HTTP/2.0" 200 182 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:15 +0200] "GET /nextcloud/apps/news/feeds HTTP/2.0" 500 6456 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:16 +0200] "GET /nextcloud/apps/news/feeds/active HTTP/2.0" 500 6456 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36" 192.168.1.1 - - [12/Oct/2018:23:27:16 +0200] "GET /nextcloud/apps/news/folders HTTP/2.0" 200 14 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.36"

Nextcloud log (data/nextcloud.log)

Nextcloud log {"reqId":"5YylEu8jqdmWBiphiete","level":3,"time":"2018-10-12T21:08:09+00:00","remoteAddr":"192.168.1.1","user":"radek","app":"index","method":"GET","url":"\/nextcloud\/apps\/news\/feeds\/active","message":{"Exception":"TypeError","Message":"Argument 1 passed to OCA\\News\\Db\\Feed::setLastModified() must be of the type integer or null, string given, called in \/var\/www\/nextcloud\/lib\/public\/AppFramework\/Db\/Entity.php on line 70","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/public\/AppFramework\/Db\/Entity.php","line":70,"function":"setLastModified","class":"OCA\\News\\Db\\Feed","type":"->","args":["1539360904502759"]},{"function":"fromRow","class":"OCP\\AppFramework\\Db\\Entity","type":"::","args":[{"id":"6","user_id":"radek","last_modified":"1539360904502759","url_hash":"d26371888514048fbfae6251978231b4","url":"http:\/\/www.mojandroid.sk\/feed","location":"https:\/\/www.mojandroid.sk\/feed\/","title":"MojAndroid.sk","link":"https:\/\/www.mojandroid.sk\/","favicon_link":"https:\/\/www.mojandroid.sk\/wp-content\/uploads\/2018\/01\/cropped-favicon-white-bg-110x110.png","http_last_modified":"Fri, 12 Oct 2018 16:09:28 GMT","http_etag":"\"644024336e257e631bfbb2d920e381d2\"","added":"1538863529","articles_per_update":"10","update_error_count":"0","last_update_error":"","basic_auth_user":null,"basic_auth_password":null,"deleted_at":"0","folder_id":"0","prevent_update":"0","pinned":"0","full_text_enabled":"0","ordering":"0","update_mode":"0","unread_count":"0"}]},{"file":"\/var\/www\/nextcloud\/lib\/public\/AppFramework\/Db\/Mapper.php","line":329,"function":"call_user_func","args":["OCA\\News\\Db\\Feed::fromRow",{"id":"6","user_id":"radek","last_modified":"1539360904502759","url_hash":"d26371888514048fbfae6251978231b4","url":"http:\/\/www.mojandroid.sk\/feed","location":"https:\/\/www.mojandroid.sk\/feed\/","title":"MojAndroid.sk","link":"https:\/\/www.mojandroid.sk\/","favicon_link":"https:\/\/www.mojandroid.sk\/wp-content\/uploads\/2018\/01\/cropped-favicon-white-bg-110x110.png","http_last_modified":"Fri, 12 Oct 2018 16:09:28 GMT","http_etag":"\"644024336e257e631bfbb2d920e381d2\"","added":"1538863529","articles_per_update":"10","update_error_count":"0","last_update_error":"","basic_auth_user":null,"basic_auth_password":null,"deleted_at":"0","folder_id":"0","prevent_update":"0","pinned":"0","full_text_enabled":"0","ordering":"0","update_mode":"0","unread_count":"0"}]},{"file":"\/var\/www\/nextcloud\/lib\/public\/AppFramework\/Db\/Mapper.php","line":372,"function":"mapRowToEntity","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":[{"id":"6","user_id":"radek","last_modified":"1539360904502759","url_hash":"d26371888514048fbfae6251978231b4","url":"http:\/\/www.mojandroid.sk\/feed","location":"https:\/\/www.mojandroid.sk\/feed\/","title":"MojAndroid.sk","link":"https:\/\/www.mojandroid.sk\/","favicon_link":"https:\/\/www.mojandroid.sk\/wp-content\/uploads\/2018\/01\/cropped-favicon-white-bg-110x110.png","http_last_modified":"Fri, 12 Oct 2018 16:09:28 GMT","http_etag":"\"644024336e257e631bfbb2d920e381d2\"","added":"1538863529","articles_per_update":"10","update_error_count":"0","last_update_error":"","basic_auth_user":null,"basic_auth_password":null,"deleted_at":"0","folder_id":"0","prevent_update":"0","pinned":"0","full_text_enabled":"0","ordering":"0","update_mode":"0","unread_count":"0"}]},{"file":"\/var\/www\/nextcloud\/apps\/news\/lib\/Db\/FeedMapper.php","line":47,"function":"findEntity","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":["SELECT `feeds`.*, COUNT(`items`.`id`) AS `unread_count` FROM `*PREFIX*news_feeds` `feeds` LEFT JOIN `*PREFIX*news_items` `items` ON `feeds`.`id` = `items`.`feed_id` AND unread = ? WHERE `feeds`.`id` = ? AND `feeds`.`user_id` = ? GROUP BY `feeds`.`id`",[true,6,"radek"]]},{"file":"\/var\/www\/nextcloud\/apps\/news\/lib\/Service\/Service.php","line":60,"function":"find","class":"OCA\\News\\Db\\FeedMapper","type":"->","args":[6,"radek"]},{"file":"\/var\/www\/nextcloud\/apps\/news\/lib\/Controller\/FeedController.php","line":109,"function":"find","class":"OCA\\News\\Service\\Service","type":"->","args":[6,"radek"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":166,"function":"active","class":"OCA\\News\\Controller\\FeedController","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\News\\Controller\\FeedController"},"active"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":118,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\News\\Controller\\FeedController"},"active"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\News\\Controller\\FeedController","active",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"news.feed.active"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"news.feed.active"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Route\/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"news.feed.active"}]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":987,"function":"match","class":"OC\\Route\\Router","type":"->","args":["\/apps\/news\/feeds\/active"]},{"file":"\/var\/www\/nextcloud\/index.php","line":42,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"\/var\/www\/nextcloud\/apps\/news\/lib\/Db\/Feed.php","Line":438,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/69.0.3497.100 Safari\/537.36 OPR\/56.0.3051.36","version":"14.0.3.0"}

Browser log

Browser log

Activity

  1. changed the title [-]News stopped working after update to 14.0.3[/-] [+]News app stopped working after update to 14.0.3[/+] on Oct 12, 2018
  2. nextcloud-bot commented on Oct 12, 2018

    @nextcloud-bot
    Member

    GitMate.io thinks possibly related issues are #9815 (No update 13.0.3 possible), #4679 (Issues after update to 12.0), #4504 (Update to 11.0.3 failed), #11784 (14.0.3), and #4579 (Update to 11.0.3 failed (web updater) ).

  3. Grotax commented on Oct 12, 2018

    @Grotax
    Member

    Hey, this is a bug in the news app and not an server issue. nextcloud/news#350

    Can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions