[Tiny-Tiny RSS] RSS reader

please, how can we solve borg backup problem?

https://paste.yunohost.org/raw/umapapakeg

thank you.


2022-03-01 00:06:29,633: WARNING - Source path '/etc/cron.d/ttrss' does not exist
2022-03-01 00:06:29,634: DEBUG - + echo /etc/cron.d/ttrss
2022-03-01 00:06:29,635: DEBUG - + grep --quiet /etc/fail2ban
2022-03-01 00:06:29,637: DEBUG - + return 1
2022-03-01 00:06:29,638: DEBUG - + ynh_exit_properly
2022-03-01 00:06:31,149: DEBUG - Could not run script: /var/cache/yunohost/app_tmp_work_dirs/app__mxrfvya/scripts/backup
2022-03-01 00:06:31,161: ERROR - Could not back up ttrss

I think there is an issue with the last version of TTRSS app : there is no cron anymore and thanks to that it is not possible to backup the app using the web admin of Yunohost. And I just noticed that SSO doesnā€™t seem to be working anymore for this appā€¦

I opened an issue.

1 Like

The solution is explained this comment on github

 touch /etc/cron.d/ttrss

And then try again the upgrade procedure

1 Like

yes, thank you. Read it on @Gavy 's github issue.

Thank you, already updated and borg worked fine this last night :smiley:

Hello everyone. This is a weird one: After one of the last updates I noticed that a part of my feeds wasnā€™t updating any more. All the feeds that point to an rss-bridge installation on the same machine show the error "URL hostname failed to resolve or resolved to a loopback address (127.0.0.1) ". The same error shows up on feeds from a bibliogram installation also on the same VPS as the tiny tiny rss app (in this case running in a docker container). Thanks in advance for any hints.

As stated in RSS Bridge with tt-rss - #9 by IllIllI - Support - Tiny Tiny RSS: Community the problem seems to be that the address of my main yunohost server resolves to localhost instead of itā€™s public ip. How can I fix this?

hi ā€¦ got strange errors on all my feeds ā€¦ but they update normally :
I use a raspberry pi 3B+ with an updated yuno: YunoHost 4.3.6.3 (stable)

All the other apps worksā€¦

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: ā€˜\xF0\x9F\x98\x82<bā€¦ā€™ for column ttrss.ttrss_entries.content at row 1
#0 /var/www/ttrss/classes/rssutils.php(1008): PDOStatement->execute()
#1 /var/www/ttrss/update.php(238): RSSUtils::update_rss_feed()
#2 {main}

Hi,
I want to use ā€œGenerated Feedsā€ feature Tiny Tiny RSS ā€“ Generated Feeds

for ā€œPublished Articlesā€
so I get this URL https://my.ynh.tld/ttrss/public.php?op=rss&id=-2&is_cat=0&q=&key=randomkeygenerated

tried to use it in another RSS feed reader and/or W3C Validator and it says:

It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldnā€™t find one. Please enter the address of your feed to validate.

Iā€™ve viewed source code for that ā€œpageā€ and it contains the usual xml of this feeds (I can not myselft validate it as valid feed source).

Iā€™ve searched on ttrss forum and the closest issue is Published articles feed fails W3C validation - Support - Tiny Tiny RSS: Community that has some auth issue (403) not related to mine.

So, please has anyone using this feature and what options should URL contain to create a ā€œvalidā€ source? thank you.

Hi @DerDorifer I was wondering if you found a fix for that? :slight_smile: thanks

I did, itā€™s not pretty though:

I edited the /etc/hosts file of my vps and added the (fixed) public ip of my server for the address of my rss-bridge. Works like a charm since then.

1 Like

i believe ttrss might have changed their code repository url, but the ynh installation hasnā€™t been updated thus the installation fails.

this is the new one and this is where i think ynh is currently trying to fetch the code from.

the Gitea repository has apparently been replaced by GitLab:
https://gitlab.tt-rss.org/tt-rss/tt-rss

oh, so my link was wrong as well. :sweat_smile:
should i open an issue in the ynh repository?

I have updated testing

2 Likes

Hello,

I created a new yunohost user today, but :

  • LDAP does not work
  • SSO Login/password are not recognized
  • Canā€™t use ā€œI forgot my passwordā€ option (login/email not found)

What is the log file to look at ?

In ttrss web interface at every update I need to login directly to web interface with user/password because sometimes the client does not work.
Did you try to login with user/password to web interface?

Hello,

Yes, tried on the ttrss interface.

Hi, thereā€™s an update with this warning:

We are moving from MariaDB to PostgreSQL database. There is no database migration for now. It advised to export your OPML, install TTRSS and import back the OPML file.

itā€™s about database migration, but I donā€™t know how to update:

  • should we do a normal upgrade and all these dependencies will be managed by YNH package?
  • should we backup OMPL, uninstall, reinstall new version and finally import OMPL file?

thank you.

Yes, export OPML and import back after the update. No need to install a new app
Note that after the update the login data (name & passw) are not working any more itā€™s back to initial setting (admin & password).

2 Likes

Iā€™ve updated today, it went fine butā€¦

lost ā€œpublishedā€, favs and saved articles. user profiles too.

So this info is not included in the OMPL file

I donā€™t know if it is related to the update or some php config, but it can not load plugins (in settings)

RequestError: Unable to load backend.php status: 500.

in tt-rss logs

about plugins/af_proxy_http/init.php:36

Declaration of Af_Proxy_Http::hook_enclosure_entry($enc) must be compatible with Plugin::hook_enclosure_entry($entry, $id, $rv)

Remote IP: xxxx.130
Request URI: /ttrss/backend.php
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0

OTOH, this might not be related, many (several) warnings in logs related to

Undefined variable $rv from plugins/close_button/init.php:31

like

Undefined variable $rv
1. plugins/close_button/init.php(31): ttrss_error_handler(Undefined variable $rv, plugins/close_button/init.php)
2. classes/PluginHost.php(353): hook_article_button([{"id":623,"date_entered":"2023-12-08 08:06:00","yyiw":"2023-49","guid":"{\"ver\":2,\"uid\":2,\"hash\":\"SHA1:5f58c80ce66d9935a726d15a4c9280967c4d5c34\"}","title":"Margaret Mitchell: \u201cLas personas a las que m\u00e1s perjudica la inteligencia artificial...)
3. classes/Feeds.php(307): chain_hooks_callback(hook_article_button, {Closure}, [{"id":623,"date_entered":"2023-12-08 08:06:00","yyiw":"2023-49","guid":"{\"ver\":2,\"uid\":2,\"hash\":\"SHA1:5f58c80ce66d9935a726d15a4c9280967c4d5c34\"}","title":"Margaret Mitchell: \u201cLas personas a las que m\u00e1s perjudica la inteligencia artificial...)
4. classes/Feeds.php(550): _format_headlines_list(ForceUpdate, all_articles, updated DESC, feed_dates)
5. backend.php(153): view()

Remote IP: xxxxxx.130
Request URI: /ttrss/backend.php
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0