nextcloud / news-updater

:newspaper: Fast, parallel feed updater for the News app; written in Python
GNU General Public License v3.0
107 stars 24 forks source link

updater stoped working #37

Open rabauke opened 3 years ago

rabauke commented 3 years ago

Today news-updater suddenly stopped updating my feeds. Somehow the data base got corrupted. I was able to fix this by uninstalling the news app, running occ maintenance:repair several times and reimporting the feeds from an opml file after reinstallation of the news app.

I am unable to investigate all details. However, was happened was apparently that some of my feeds disparaged today (get redirected to a error 400 html page):

<outline title="Wiley: Optik &amp; Photonik: Table of Contents" text="Wiley: Optik &amp; Photonik: Table of Contents" type="rss" xmlUrl="https://onlinelibrary.wiley.com/action/showFeed?jc=21911975&amp;type=etoc&amp;feed=rss" htmlUrl="https://onlinelibrary.wiley.com/loi/21911975?af=R"/>
<outline title="Wiley: Microscopy Research and Technique: Table of Contents" text="Wiley: Microscopy Research and Technique: Table of Contents" type="rss" xmlUrl="https://onlinelibrary.wiley.com/feed/10970029/most-recent" htmlUrl="https://onlinelibrary.wiley.com/journal/10970029?af=R"/>
<outline title="Wiley: Journal of Microscopy: Table of Contents" text="Wiley: Journal of Microscopy: Table of Contents" type="rss" xmlUrl="https://onlinelibrary.wiley.com/feed/13652818/most-recent" htmlUrl="https://onlinelibrary.wiley.com/journal/13652818?af=R"/>

When parsing the html code a feed-xml some errors occurred, which stopped news-updater working. Possibly, news-updater needs some better error handling.

This issue has been observed withe version 10.0.1.