Giter VIP home page Giter VIP logo

ttrss_ynh's Introduction

Tiny Tiny RSS for YunoHost

Integration level Working status Maintenance status

Install Tiny Tiny RSS with YunoHost

Read this README is other languages.

This package allows you to install Tiny Tiny RSS quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Tiny Tiny RSS is a free and open source web-based news feed (RSS/Atom) reader and aggregator.

Features

  • feed aggregation/syndication,
  • OPML import/export,
  • multiple ways to share stuff: export RSS feeds, plugins for various social sites, sharing by URL, etc,
  • Plugins and themes,
  • podcasts,
  • flexible article filtering

Shipped version: 20231202~ynh3

Demo: https://demo.tt-rss.org/

Screenshots

Screenshot of Tiny Tiny RSS

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug
or
sudo yunohost app upgrade ttrss -u https://github.com/YunoHost-Apps/ttrss_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

ttrss_ynh's People

Contributors

alexaubin avatar anto1ne avatar ariasuni avatar beudbeud avatar ericgaspar avatar frju365 avatar jeromelebleu avatar jimbojoe avatar josue-t avatar julienmalik avatar kay0u avatar kloadut avatar l33tsheep avatar lmangani avatar m5oul avatar maniackcrudelis avatar npze avatar oniricorpe avatar opi avatar psycojoker avatar rafi594 avatar rndmh3ro avatar scith avatar titoko avatar yalh76 avatar yunohost-bot avatar zamentur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ttrss_ynh's Issues

Locked in FailSafe mode since upgrade to 20220606~ynh1

Describe the bug

TTRSS is locked in FailSafe mode since upgrade to 20220606~ynh1

Context

  • Hardware: Server at home
  • YunoHost version: 4.3.6.3
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: 20220606~ynh1

Steps to reproduce

  • After updating to 20220606~ynh1 via Webmin
  1. Go to 'https://my-domain/ttrss'

  2. ttrss opens in FailSafe Mode :

    Tiny Tiny RSS est en mode sans-échec. Tous les thèmes et les greffons sont désactivés. Vous devrez vous déconnecter et vous reconnecter pour désactiver ce mode.

  3. I cannot disconnect...

  4. Looking at sudo journalctl -u ttrss --since "2022-06-09 10:00" shows that all actions are performed by php7.3 before update, and by php8.0 after.

Expected behavior

I installed custom themes and activated plugins that don't work anymore.

Thank you !!

Can’t backup the app anymore

Describe the bug

TTRSS app can’t be backed up anymore using Yunohost web admin https://forum.yunohost.org/t/tiny-tiny-rss-rss-reader/3968/41?u=gavy

Context

  • Hardware: VPS bought online
  • YunoHost version: 4.3.6.2 (stable).
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using : 20220222~ynh1

Steps to reproduce

  1. Go to 'Backups menu'
  2. Click on 'Local'
  3. Create a backup including only the TTRSS app
  4. Backup is unsuccessful because of missing /etc/cron.d/ttrss file

Expected behavior

Backup is successful.

Logs

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

Seems to also affect Borg backups, for the same reason. (https://forum.yunohost.org/t/tiny-tiny-rss-rss-reader/3968/41?u=gavy)

SSO is not working anymore

Describe the bug

When logged in the YunoHost user portal and clicking on TTRSS tile, the app doesn’t recognize me. If I enter my username and password (the same used for YunoHost user portal), I logs me successfully.

Context

  • Hardware: VPS bought online
  • YunoHost version: 4.3.6.2 (stable).
  • I have access to my server: Through SSH | through the webadmin.
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using : 20220222~ynh1

Steps to reproduce

  1. Log in YunoHost user portal
  2. Click on the TTRSS tile
  3. TTRSS authentification screen is displayed
  4. Enter user credentials
  5. Login to TTRSS is successful

Expected behavior

When logged in YunoHost user portal, clicking on TTRSS tile should redirect to the app and log me at the same time using SSO.

Logs

I don’t know how to extract the corresponding logs

using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated

Hello
here's the message at the top of YunoHost's installation page

/!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.

Can't fetch anymore rss feed from local website

Hardware: Old laptop or computer
YunoHost version: 4.3.6.3
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Hello,
I have ttrss installed for many years now. I used to be able to get rss feed from a PluXML blog installed thanks to My WebApp hosted on the same yunohost server.
Recently, it has stop working and when I try to subscribe to the feed again, I get the following error : L’URL spécifiée n’a pas pu être téléchargée : URL hostname failed to resolve or resolved to a loopback address (127.0.0.1)

image

Matériel: Vieil ordinateur
Version de YunoHost: 4.3.6.3
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Description du problème

Bonsoir,
Ttrss est installé sur notre serveur Yunohost depuis de nombreuses années. J'avais l'habitude de pouvoir obtenir le flux rss d'un blog PluXML installé grâce à My WebApp hébergé sur le même serveur yunohost.
Récemment, cela a cessé de fonctionner et lorsque j'essaie de m'abonner à nouveau au flux, j'obtiens l'erreur suivante : L'URL spécifiée n'a pas pu être téléchargée : URL hostname failed to resolve or resolved to a loopback address (127.0.0.1).

image

No Login with App

No Login through app

I can't Login in the official App. I think it is, because you get redirected to the Login Page of Yuno...
It says, that it couldn't find the instance...
Also, I get this SSL error, but in another App, I get the same error but activated the "Accept all Certificates".
My instance, to see the SSL error

Context

  • Hardware: Regular Computer x64
  • YunoHost version: 4.2.6.1
  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Strange thing

When you got a tab open with one user and you open an other tab with an other user you get feed of the first user.
No need to correct it ;)

Public feed isn't accessable from the public net

Hello,
I've just been playing with the ttrrs package and it's awesome but I've found a bug/feature
The feature for shared public feeds isn't' publically accessible due to the nature of yunohost and the protection for services it offers.

you can find this setting under https://example.com/ttrss/prefs.php and then feeds> Published & shared articles

https://example.com/ttrss/public.php?op=rss&id=-2&view-mode=all_articles&key=mysecretkey

I've no idea how to debug this sorry.

 Versions

yunohost
    2.7.9 (stable)
yunohost-admin
    2.7.7 (stable)
moulinette
    2.7.7 (stable)
ssowat
    2.7.7 (stable) 

tinyrss Install time 10/2/2018

Public opml link requires authentification

When going to the 2nd tab ("Flux" in French version) of the configuration panel in TTRSS, you can get a public URL of your OPML. This can be used to share your RSS feeds or to backup them.

Unfortunately, in yunohost, this URL requires yunohost authentification and is thus not public.

After upgrading - update daemon not running

After updating ttrss yesterday, I don't get any updates from my feeds.
It just says "update daemon not running"

Using ttrss 17.4 on yunohost 2.7.5

If you need logs or something like that, I'm more than happy to provide them to you but I can't find the directory where they're in.

Update to 20220606~ynh1 FAILS

context:

  • raspi at home, latest stable ynh, up to date tt-rss app
  • no manual intervention on gpg keys config
  • update available 20220606~ynh1 from webadmin interface
  • pushed update app button

then it fails with this info:

Backing up ttrss before upgrading (may take a while)...
Stopping a systemd service...
Ensuring downward compatibility...
'/etc/cron.d/ttrss' wasn't deleted because it doesn't exist.
Making sure dedicated system user exists...
Upgrading source files...
Upgrading dependencies...
gpg: no valid OpenPGP data found.
W: GPG error: https://packages.sury.org/php buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
E: The repository 'https://packages.sury.org/php buster InRelease' is not signed.
[Error] Upgrade failed.
27063 W: GPG error: https://packages.sury.org/php buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
27065 E: The repository 'https://packages.sury.org/php buster InRelease' is not signed.
The app was restored to the way it was before the failed upgrade.

thank you for your work

Upgrade Issue

Hello,

I have a problem while I do the upgrade from the old version.

Here is the logs :

# yunohost app upgrade ttrss --verbose
Upgrading apps ttrss
Téléchargement...
Extraction...
Terminé
Vérification des paquets requis...
Exécution du script « /var/cache/yunohost/from_file/ttrss_ynh-028e5fb244a87d5a266f5a6a5fedfea5eaa05553/scripts/upgrade »...
+ source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/network ']'
++ . /usr/share/yunohost/helpers.d/network
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/package ']'
++ . /usr/share/yunohost/helpers.d/package
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/print ']'
++ . /usr/share/yunohost/helpers.d/print
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/string ']'
++ . /usr/share/yunohost/helpers.d/string
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/system ']'
++ . /usr/share/yunohost/helpers.d/system
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/user ']'
++ . /usr/share/yunohost/helpers.d/user
++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
++ . /usr/share/yunohost/helpers.d/utils
+ app=ttrss
++ ynh_app_setting_get ttrss domain
++ sudo yunohost app setting ttrss domain --output-as plain --quiet
+ domain=domain.tld
++ ynh_app_setting_get ttrss path
++ sudo yunohost app setting ttrss path --output-as plain --quiet
+ path_url=/ttrss/
++ ynh_app_setting_get ttrss final_path
++ sudo yunohost app setting ttrss final_path --output-as plain --quiet
+ final_path=
++ ynh_app_setting_get ttrss db_name
++ sudo yunohost app setting ttrss db_name --output-as plain --quiet
+ db_name=
+ '[' -z ']'
+ final_path=/var/www/ttrss
+ ynh_app_setting_set ttrss final_path /var/www/ttrss
+ sudo yunohost app setting ttrss final_path --value=/var/www/ttrss --quiet
+ '[' -z ']'
++ ynh_sanitize_dbid ttrss
++ dbid=ttrss
++ echo ttrss
+ db_name=ttrss
+ ynh_app_setting_set ttrss db_name ttrss
+ sudo yunohost app setting ttrss db_name --value=ttrss --quiet
+ ynh_secure_remove /etc/cron.d/ttrss
+ path_to_remove=/etc/cron.d/ttrss
+ forbidden_path='      /var/www        /home/yunohost.app'
+ [[    /var/www        /home/yunohost.app =~ /etc/cron\.d/ttrss ]]
+ [[ /etc/cron.d/ttrss =~ ^/[[:alnum:]]+$ ]]
+ [[ s = \/ ]]
+ '[' -e /etc/cron.d/ttrss ']'
+ sudo rm -R /etc/cron.d/ttrss
+ ynh_backup_before_upgrade
+ '[' '!' -e /etc/yunohost/apps/ttrss/scripts/backup ']'
+ backup_number=1
+ old_backup_number=2
+ app_bck=ttrss
+ sudo yunohost backup list
+ grep -q ttrss-pre-upgrade1
+ sudo yunohost backup create --ignore-system --apps ttrss --name ttrss-pre-upgrade1
Attention : Source path '/etc/cron.d/ttrss' does not exist
Attention : Impossible de sauvegarder l'application « ttrss »
Attention : Il n'y a rien à sauvegarder
+ '[' 22 -eq 0 ']'
Attention : Backup failed, the upgrade process was aborted.
+ ynh_die 'Backup failed, the upgrade process was aborted.'
+ echo 'Backup failed, the upgrade process was aborted.'
+ exit 1
Erreur : Impossible de mettre à jour ttrss
Erreur : Aucune application à mettre à jour
 # ls /etc/cron.d
amavisd-new  mdadm   php5  yunohost-openvpn

ttrss no longer listed in applications and trowing admin error but its installed

running on my onw pc.

I ran system update and updated yunohost but after that Tiny Tiny RSS no longer shows in applications in the admin interface, but the site works and shows up when you click it under domains.

The other weird issue is now when I search for updates or try to remove a domain and I think in some cases other things I am not yet aware of yet, I get this error:
Check for updates
YunoHost encountered an internal error
Really sorry about that.
You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:
Error: "500"

Action: "PUT" /yunohost/api/update/all

Error message:
Corrupted JSON read from /etc/yunohost/apps/ttrss/manifest.json (reason: Expecting value: line 1 column 1 (char 0))

im sure you need more information to help, I just don't know how to do it. Still learning, but if you tell me what to do ill try

I think this is the paste from the log
https://paste.yunohost.org/ugodakates

and this is what it says for the app
ttrss
Description
News feed reader and aggregator
Status
Running since about 21 hours ago
Start on boot
Enabled
Configuration
Unknown

While processing the action the server said:

Fetching available upgrades for system packages...
Updating application catalog...
The application catalog has been updated!

Public User ?

How do I turn one of my user subscriptions public ?
basically I want to be able to access the feeds from the wide internet without
having the SSO asking me to login.

Users should not be able to add new RSS feeds or mark them as read, but they could use the feed reader to consult the information presented.

is that possible ?

inside var/www/ttrss there config.php and inside there is :

define('SINGLE_USER_MODE', false);
// Operate in single user mode, disables all functionality related to
// multiple users and authentication. Enabling this assumes you have
// your tt-rss directory protected by other means (e.g. http auth).

is there any chance I can enable this to True and have all users use the same RSS subscriptions ?
that would be already a good solutions, since my users don't know how to use RSS.

update process failed with exit code 110

Describe the bug

Several feeds aren't updated beacuse it says : update process failed with exit code 110

Context

  • Hardware: Old laptop or computer

  • YunoHost version: 11

  • I have access to my server: Through SSH | through the webadmin | direct access via keyboard / screen | ...

  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

  • If upgrading, current package version: 20220626~ynh1

Steps to reproduce

Several feeds are displayed red and are saying update process failed with exit code 110 and I can't read last entries even though I know some blogs have been updated. If I test on the demo website of ttrss, https://srv.tt-rss.org/tt-rss, they work.

Expected behavior

Should display new entries of blogs.

More

I have one feed with an other error : Failed to connect to xxx port 443 : connection refused even though I can connect to this feed by https in my webbrowser and it also works on https://srv.tt-rss.org/tt-rss
And then, I still have the error with local feeds : #134

ttrss was very useful to me on yunohost till recently but after loosing the possibility to fetch from local feeds and now all these errors, it became almost useless...

Update ttrss upgrading model

Tiny tiny RSS now uses a rolling release model based on git master branch which is considered stable. The YunoHost package should be updated to get sources from a specific commit on the gitlab repository.

Broken images when "cache images locally" is selected

Has anyone else had this issue? I'm not sure where to begin to troubleshoot. Embedded images appear as broken links when ttrss tries to load them from cache instead of from feed website. Would be a nice feature to have working!

Impossible to install TTRSS

I got this error message when I tried to install Tiny-tiny RSS with the graphic installer and also by SSH

2022-03-08 22:58:56,750: DEBUG - 2022-03-08 22:58:56 ERROR 404: Not Found.'
2022-03-08 22:58:56,750: DEBUG - + ynh_die '--message=https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-08 22:58:56,750: DEBUG - 2022-03-08 22:58:56 ERROR 404: Not Found.'
2022-03-08 22:58:56,750: DEBUG - 2022-03-08 22:58:56 ERROR 404: Not Found.'
2022-03-08 22:58:56,768: DEBUG - 2022-03-08 22:58:56 ERROR 404: Not Found.'
2022-03-08 22:58:56,769: DEBUG - + ynh_exit_properly
2022-03-08 22:58:56,769: WARNING - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-08 22:58:56,769: WARNING - 2022-03-08 22:58:56 ERROR 404: Not Found.
2022-03-08 22:58:58,272: ERROR - Unable to install ttrss: An error occurred inside the app installation script

Broken feed update on jessie

On jessie, www-data has no available shell by default.

admin@ynh:~$ cat /etc/passwd | grep www-data
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
admin@ynh:~$ sudo su -c "cd /var/www/ttrss && /usr/bin/php /var/www/ttrss/update.php --feeds" www-data
This account is currently not available.

So the automated feeds update is broken

Unable to successfully run the script

Hello,

I tried to install ttrss by using the official app on the admin page and by using directly the reference to this repository but it failed at the database creation:

Here is the log:

+ set -e

+ domain=leladou.fr

+ path=/ttrss

+ app=/ttrss

+ sudo yunohost app checkurl leladou.fr/ttrss -a /ttrss

+ [[ ! 0 -eq 0 ]]

++ sed -n 's/\(.\{24\}\).*/\1/p'

++ tr -c -d A-Za-z0-9

++ dd if=/dev/urandom bs=1 count=200

+ deskey=idlhy8kDjrKYBfZiQ2SBYzTj

++ sed -n 's/\(.\{24\}\).*/\1/p'

++ tr -c -d A-Za-z0-9

++ dd if=/dev/urandom bs=1 count=200

+ db_pwd=Zu2ghwFojJjyLoaDi8K06qmn

+ db_user=/ttrss

++ readlink -e ../source/schema/TTRSS_schema_mysql.sql

+ sudo yunohost app initdb /ttrss -p Zu2ghwFojJjyLoaDi8K06qmn -s /var/cache/yunohost/ttrss/ttrss_ynh-6ed84b1f747636c5645195a9fb96fb3984bc00f6/ttrss_ynh-6ed84b1f747636c5645195a9fb96fb3984bc00f6/source/schema/TTRSS_schema_mysql.sql

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/ttrss' at line 1

Erreur : Impossible de créer la base de donnée MySQL

It looks like the script is trying to create a user /ttrss, maybe this is what is wrong ?
Or maybe the link to the file is not correct ? The SQL file seems to be empty.

Any help is appreciated !

Problem with admin users

HI,
I have detected two problems (which are one) in the install of ttrss on Yunohost :

  • the default admin user is still active after install (login: admin, password: password)
  • the admin user of yunohost does not have the admin rights in ttrss, which means it cannot perform an update of ttrss (I usually update my yunohost apps before the update is available through yunohost)

Thanks

LibXML Error with thefarside.com

I have a feed URL pointing to https://www.thefarside.com/

The af_comics plugin is enabled and should be able to parse the site to create a dynamic feed, however this feed is being highlighted as having update errors. Hovering over the feed name on the left reveals a pop-up stating
LibXML error 41 at line 21 (column 59): Specification mandate value for attribute crossorigin

I can confirm that the non-ynh version of tt-rss works correctly with this site.

Upgrade failed : ERROR: could not open HSTS store

Hello,

Trying to update from 20200916ynh5 to 20220222ynh2 , I got this error:

2022-03-05 14:29:27,122: DEBUG - + out='Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2022-03-05 14:29:27,123: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2022-03-05 14:29:27,123: DEBUG - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-05 14:29:27,124: DEBUG - 2022-03-05 14:29:27 erreur 404 : Not Found.'
2022-03-05 14:29:27,124: DEBUG - + ynh_die '--message=Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2022-03-05 14:29:27,124: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2022-03-05 14:29:27,125: DEBUG - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-05 14:29:27,125: DEBUG - 2022-03-05 14:29:27 erreur 404 : Not Found.'
2022-03-05 14:29:27,127: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2022-03-05 14:29:27,128: DEBUG - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-05 14:29:27,128: DEBUG - 2022-03-05 14:29:27 erreur 404 : Not Found.'
2022-03-05 14:29:27,149: WARNING - Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
2022-03-05 14:29:27,150: WARNING - ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
2022-03-05 14:29:27,151: WARNING - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-05 14:29:27,152: WARNING - 2022-03-05 14:29:27 erreur 404 : Not Found.
2022-03-05 14:29:27,153: DEBUG - ERROR: could not open HSTS store at '\''/root/.wget-hsts'\''. HSTS will be disabled.
2022-03-05 14:29:27,153: DEBUG - https://git.tt-rss.org/fox/tt-rss/archive/9a5c21630b5b7e2e3adb2e0334defbd9515aa833.tar.gz:
2022-03-05 14:29:27,153: DEBUG - 2022-03-05 14:29:27 erreur 404 : Not Found.'
2022-03-05 14:29:27,153: DEBUG - + ynh_exit_properly

Logs are here : https://paste.yunohost.org/raw/ozihopacun

How can I solve this error?

Can't install ldap branche

Hello,

I can't install the ldap branche, i have a 404 error :

Warning: https://git.tt-rss.org/fox/tt-rss/archive/a39557451604ba1ad4558f8283f1a13ca76ba5ba.tar.gz:
Warning: 2022-04-07 00:03:07 ERROR 404: Not Found.

Thanks for your help.

Glitchy layout

Hello,

Sometimes, te UI have a strange behaviour. I think a screenshot is enough self-explanatory.
Screenshot at 2019-10-10 15:27:10

Level 5 forced

>>>> INSTALL SCRIPT <<<<
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419 

set -eu replaced by ynh_abort_if_errors

>>>> REMOVE SCRIPT <<<<
✘ set -u is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419 

No set -u, but using of ynh_secure_remove

>>>> UPGRADE SCRIPT <<<<
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419 

set -eu replaced by ynh_abort_if_errors

>>>> BACKUP SCRIPT <<<<
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419 

set -eu is at the line 10.

>>>> RESTORE SCRIPT <<<<
✘ At line 42 'ynh_die' or 'exit' command is executed with system modification before.
 This system modification is an issue if a verification exit the script.
 You should move this verification before any system modification.
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419

No system modifications before the line 42.
set -eu is at the line 10.

UTF-8 problems with MySQL, not present in PostgreSQL

When using MySQL (as it is configured at installation in yunohost), tt-rss has problems with RSS titles containing emojis.
Here is a comparison between tt-rss using postgresql and using mysql (for the same feed)

image
image

Is it possible to make tt-rss use postgreSQL, at least during the installation ? (I have no idea of the impact it can have for already existing installations)

YunoHost 4.0.7 (stable) install error Exception while creating PDO object:could not find driver

hi, the installation made an error under Yunohost 4

DEBUG - + sudo -u ttrss php /var/www/ttrss/update.php --update-schema
DEBUG -

Exception while creating PDO object:could not find driver
+ ynh_exit_properly
DEBUG - + local exit_code=101sudo -u ttrss php /var/www/ttrss/update.php --update-schema
DEBUG -
Exception while creating PDO object:could not find driver
+ ynh_exit_properly
DEBUG - + local exit_code=101

all the log is here:
https://paste.yunohost.org/raw/ovenesarop

Thanks

Login display previous user data

Hi! Thanks for your great work on Yunohost and TTRSS. I found an issue where you can see and edit other peoples feeds if you connect after the previous user disconnected :

  1. Access TinyTinyRSS without being authenticated on the Yunohost server
  2. Authenticate with your login password as user "A". TTRSS loads and display user "A" feeds
  3. Disconnect from Yunohost (for instance using the Yunohost Icon at the bottom of the screen)
  4. Log in as Yunohost user "B"
  5. Access TTRSS : you will be connected as user "A" and see, edit and remove all his/her feeds.

I cannot login anymore with feedreader (and newsboat)

After the last update I cannot login anymore with feedreader.
With the upgrade my api_feedereader plugin was removed so I installed it again but when I try to login I get an error from feedreader saying there is an "api error".
In nginx access log I see only a message like

[11/Oct/2020:11:28:30 +0200] "POST /ttrss/api/ HTTP/1.1" 200 65 "-" "FeedReader 2.11.0"

I tried also newsboat and it gives me an "authentication failed" error and in nginx access log I see an error similar

[11/Oct/2020:11:12:35 +0200] "POST /ttrss//api/ HTTP/2.0" 200 54 "-" "newsboat/2.21.0 (Linux x86_64)"

Installing custom plugin(s)?

Hi, 👋

I was wondering how to install a custom plugin. The TTRSS Wiki just says:

Copy plugin folder to tt-rss/plugins.local and then activate it in the settings panel.

But where can I find that directory?

How to delete all rss feeds

Hello,

I wish to re-import an opml file with settings. How can I delete all rss files I currently have in TTrss before re-importing the backed up opml file?

Thank you.

Way of having a different password to authenticate on ttrss for android application

When trying to connect my ttrss install from yunohost on an android device, I was not too sure I wanted to use my main user password on a device that I might loose or is more easily hackable that some other devices I use to access my yunohost.

I would like to find a way to not use my main password for this "subset" of my yunohost.

There doesn't seem to be a sort of token authentication in ttrss (or I haven't found the plugin).

But there seems to be a auth_internal / auth_remote

Screenshot from 2020-07-01 11-43-28

I guess that auth_remote is used for the SSO used in yunohost (ldap auth etc.). So maybe I can have a different (less secure) password in the auth_internal that I could use in the android app.

The password tab is empty, maybe that's a feature ? :

Screenshot from 2020-07-01 11-48-41

Or maybe you would recommend having a send separate yunohost user which has only access to this application ?

Thanks in advance for helping me figure a way for this (by the way I've done something similar in nextcloud which seems to work quite well with an additional android user and shares with the "normal" user).

Unable to log in using TTRSS-Reader on Android

When attempting to log in using TTRSS-Reader for Android, the following error message appears:

Exception-Message: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $ No Exception-Cause available.

Upon digging on the documentation, I tested logging in directly through CURL to check if the API was working correctly, but instead of outputting JSON it was outputting Yunohost's login page instead, even when using my credentials:

curl -d '{"op":"login","user":"insertuserhere","password":"insertpasswordhere"}' -L https://rss.example.net/api/
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>YunoHost Portal</title>

  <!-- Responsive -->
  <meta name="format-detection" content="telephone=no" />
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1" />

  <!-- Do not index SSOWat pages -->
  <meta name="robots" content="noindex, nofollow">

  <!-- Stylesheets -->
  <link rel="stylesheet" href="assets/css/ynh_portal.css">
  <link rel="stylesheet" href="assets/themes/default/custom_portal.css">

  <!-- Icons -->
  <link rel="shortcut icon" href="assets/icons/favicon.ico">
  <link rel="apple-touch-icon" sizes="57x57" href="assets/icons/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="114x114" href="assets/icons/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="72x72" href="assets/icons/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="144x144" href="assets/icons/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="60x60" href="assets/icons/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="120x120" href="assets/icons/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="76x76" href="assets/icons/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="152x152" href="assets/icons/apple-touch-icon-152x152.png">
  <link rel="icon" type="image/png" href="assets/icons/favicon-196x196.png" sizes="196x196">
  <link rel="icon" type="image/png" href="assets/icons/favicon-160x160.png" sizes="160x160">
  <link rel="icon" type="image/png" href="assets/icons/favicon-96x96.png" sizes="96x96">
  <link rel="icon" type="image/png" href="assets/icons/favicon-16x16.png" sizes="16x16">
  <link rel="icon" type="image/png" href="assets/icons/favicon-32x32.png" sizes="32x32">
  <meta name="msapplication-TileColor" content="#41444f">
  <meta name="msapplication-TileImage" content="/mstile-144x144.png">
</head>
<body class="ynh-user-portal ">

  <div id="ynh-logo" class="ynh-logo">
    <span class="element-invisible">Yunohost</span>
  </div>

  <div class="content">


    <div class="wrapper messages info">Please log in to access to this content</div>
<div class="ynh-wrapper login">
<form class="login-form" name="input" action="" method="post">
  <div class="form-group">
    <label class="icon icon-user" for="user"><span class="element-invisible">Username</span></label>
    <input id="user" type="text" name="user" placeholder="Username" class="form-text" autofocus required>
  </div>
  <div class="form-group">
    <label class="icon icon-lock" for="password"><span class="element-invisible">Password</span></label>
    <input id="password" type="password" name="password" placeholder="Password" class="form-text" required>
  </div>
  <input type="submit" value="Log in" class="btn classic-btn large-btn">
</form>
</div>

  </div>

  <!-- Scripts -->
  <script src="assets/js/ynh_portal.js"></script>
  <script src="assets/themes/default/custom_portal.js"></script>
</body>
</html>

It looks like NGINX is not correctly recognizing the "/api" subdomain to be unmanaged by Yunohost. Is there anything I can do to configure it correctly from my side?

Script cannot doanload the archive file from git repo

As share on Matrix : https://matrix.to/#/!wHVnMtPcnHpqRVncZG:matrix.org/$15755650713178eOBpp:matrix.ds-guiraud.fr?via=matrix.org&via=matrix.ds-guiraud.fr&via=homecore.space

I have an error when I want to install Tiny RSS. I think it's because the structure of Git répo is change by the owner. The link to download should be like that :
https://git.tt-rss.org/fox/tt-rss/archive/1.15.3.tar.gz

error past message : https://paste.yunohost.org/raw/uhiconehop
Thanks for all the job already done 👍

ttrss_backend not activating since last update

Hi,

Since the last update, the ttrss_backend will not activate and the multi-process update script will not run.

After running sudo journalctl -u ttrss I see the below repeatedly.

Started ttrss_backend. error: This script requires PHP compiled with PCNTL module. ttrss.service: Service hold-off time over, scheduling restart. Stopped ttrss_backend.

Thanks

SSO login broken with 20220222~ynh1

Hi,

After upgrading from 20200916-ynh5 to 20220222-ynh1, SSO login is broken.

If user is already logged in Yunohost, TT-RSS page is shown, yet it should not be.
If user is not already logged iin Yunohost, yunohost auth page is shown, then TT-RSS auth page is shown.

This "double authentication" also breaks mobile apps.

Tested on Yunohost 4.3.6.2

Are there any manual migration actions needed ?

Regards.

Upgrade failed

Describe the bug

Upgrade failed

Context

  • Hardware: Desktop PC
  • YunoHost version: 4.3.6.2
  • I have access to my server: Full
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • If upgrading, current package version: 20220222~ynh1

Steps to reproduce

yunohost app upgrade

Expected behavior

Upgrade succeeds

Logs

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

Install fails

Context

  • Hardware: VM on Proxmox
  • YunoHost version: 4.3.6.3
  • I have access to my server: SSH & WebAdmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Trying to install package version 20220414~ynh1

Steps to reproduce

sudo yunohost app install ttrss

Same error with WebAdmin installation

Logs

2022-06-08 11:55:41,540: DEBUG - + src_filename=app.tar.gz
2022-06-08 11:55:41,540: DEBUG - + local local_src=/opt/yunohost-apps-src/ttrss/app.tar.gz
2022-06-08 11:55:41,540: DEBUG - + mkdir -p /var/cache/yunohost/download/ttrss/
2022-06-08 11:55:41,541: DEBUG - + src_filename=/var/cache/yunohost/download/ttrss/app.tar.gz
2022-06-08 11:55:41,541: DEBUG - + test -e /opt/yunohost-apps-src/ttrss/app.tar.gz
2022-06-08 11:55:41,541: DEBUG - + '[' -n https://git-gitea.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz ']'
2022-06-08 11:55:41,542: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/ttrss/app.tar.gz https://git-gitea.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz
2022-06-08 11:56:18,069: DEBUG - + out='https://dev.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz:
2022-06-08 11:56:18,070: DEBUG - 2022-06-08 11:56:18 erreur 522 : (pas de description).'
2022-06-08 11:56:18,070: DEBUG - + ynh_die '--message=https://dev.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz:
2022-06-08 11:56:18,070: DEBUG - 2022-06-08 11:56:18 erreur 522 : (pas de description).'
2022-06-08 11:56:18,071: DEBUG - 2022-06-08 11:56:18 erreur 522 : (pas de description).'
2022-06-08 11:56:18,082: DEBUG - 2022-06-08 11:56:18 erreur 522 : (pas de description).'
2022-06-08 11:56:18,083: DEBUG - + ynh_exit_properly
2022-06-08 11:56:18,083: WARNING - https://dev.tt-rss.org/fox/tt-rss/archive/2654b3c6be408113ede52180ae283afa72da5f3c.tar.gz:
2022-06-08 11:56:18,083: WARNING - 2022-06-08 11:56:18 erreur 522 : (pas de description).
2022-06-08 11:56:19,586: ERROR - Impossible d'installer ttrss : Une erreur est survenue dans le script d'installation de l'application


Full Log

Unable to install ttrss

Describe the bug

Unable to install ttrss TinyTiny-RSS

Context

  • Hardware: Old laptop or computer
  • YunoHost version: 4.2.4 (stable)
  • I have access to my server: Through SSH & through the webadmin & direct access via keyboard/screen

Steps to reproduce

sudo yunohost app install ttrss

OR

  1. *Go to '.../yunohost/admin/#/apps'
  2. *Click on 'Install' (.../yunohost/admin/#/apps/catalog)
  3. *Search 'rss'
  4. Clich "Install" button on "Tiny Tiny RSS"
  5. Error will apear

Logs

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

Error while fetching some feed

Hello,

I've detected that in the last ttrss version the version is not cleanly managed because the git repository directory is not installed. The consequence are:

  • Version unavailable in the configuration part
  • With some feed we get an error 503 probably because the version is probably passed in the feed.

So I purpose to manage ttrss with a git repository. It will probably avoid many issues.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.