yunohost-apps / ttrss_ynh Goto Github PK
View Code? Open in Web Editor NEWTiny Tiny RSS package for YunoHost
Home Page: https://tt-rss.org/
License: GNU General Public License v3.0
Tiny Tiny RSS package for YunoHost
Home Page: https://tt-rss.org/
License: GNU General Public License v3.0
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 :
Is one of these methods implemented? I can't get automatic updates to work at all.
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?
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
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!
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
Hi,
That's not a big deal but after last upgrade, I lost my custom theme
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)
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)
.
sudo yunohost app install ttrss
Same error with WebAdmin installation
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
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.
the Wiki link on the readme is dead, the new one is https://git.tt-rss.org/git/tt-rss/wiki
HI,
I have detected two problems (which are one) in the install of ttrss on Yunohost :
Thanks
Hi, I've been trying to install this plugin to work around the GDPR issues with Tumblr feeds in Europe but I can't get it going due to missing plugin hook HOOK_FEED_BASIC_INFO
. It looks like the hook was added into their repo about a year ago.
Any ideas on how to resolve this? The package is otherwise great, thanks!
I get an error inside the upgrade script - can´t update
ERROR - Could not upgrade ttrss: An error occurred inside the app upgrade script
https://paste.yunohost.org/raw/exavucogiq
What could i try?
thanks for help
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
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)
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)
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
Backup is successful.
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)
context:
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
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?
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.
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 is locked in FailSafe mode since upgrade to 20220606~ynh1
Go to 'https://my-domain/ttrss'
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.
I cannot disconnect...
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.
I installed custom themes and activated plugins that don't work anymore.
Thank you !!
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:
So I purpose to manage ttrss with a git repository. It will probably avoid many issues.
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.
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
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.
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.
When logged in YunoHost user portal, clicking on TTRSS tile should redirect to the app and log me at the same time using SSO.
I don’t know how to extract the corresponding logs
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
Exception while creating PDO object:could not find driver+ ynh_exit_properly
all the log is here:
https://paste.yunohost.org/raw/ovenesarop
Thanks
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)"
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
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.
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!
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.
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
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 ? :
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).
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 ;)
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?
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.
Unable to install ttrss TinyTiny-RSS
sudo yunohost app install ttrss
OR
See https://dev.yunohost.org/issues/279 for history.
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.
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 !
Hello!
this issue is cropping up for me:
https://forum.yunohost.org/t/tt-rss-cant-connect-anymore-via-any-client/9445
I've tried two different clients.
Upgrade failed
yunohost app upgrade
Upgrade succeeds
Several feeds aren't updated beacuse it says : update process failed with exit code 110
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
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.
Should display new entries of blogs.
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...
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.
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
www-data shall not own each and every installed files.
>>>> 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.