Tiny Tiny RSS

Upgrade

Id

Reference

License

1

https://wiki.archlinux.org/title/Tiny_Tiny_RSS#Pacman_hook

GNU Free Documentation License 1.3 or later 1

Run as user

root

Updating to a major TT-RSS version requires a database migration. This happens for example when you upgrade from Debian 10 (TT-RSS 18) to Debian 11 (TT-RSS 21)

  1. make a backup of the database

  2. update TT-RSS

    sudo -u www-data -- /usr/bin/php /usr/share/tt-rss/www/update.php --update-schema=force-yes
    

Torification

Id

Reference

License

2

https://blog.franco.net.eu.org/notes/tt-rss-torification.html

CC BY-SA 4.0 2

Run as user

root

TT-RSS can download all feeds through TOR.

Importante

Some websites actively block TOR exit node addresses. In this case you will need to configure an RSS bridge/proxy which can be simply a script that downloads the RSS XML file through clearnet. This file must then be served on a system that is accessible to your TT-RSS instance.

  1. install TOR and Privoxy

    apt-get install tor privoxy
    
  2. Check that TOR is running

    systemctl status tor@default.service
    
  3. configure Privoxy. Add this content to the configuration file

    /etc/privoxy/config
    1forward-socks5t    /   127.0.0.1:9050   .
    2listen-address    127.0.0.1:8123
    3
    4# [ ... ]
    

    Nota

    You can add more forwarding rules to ignore routing the traffic through TOR for specific domains. Have a look at the /etc/privoxy/config file provided by the package which is well documented.

  4. append the following at the end of TT-RSS's configuration file

    /etc/tt-rss/config.php
    1    // [ ... ]
    2
    3    define('HTTP_PROXY', '127.0.0.1:8123');
    4    define('_HTTP_PROXY', '127.0.0.1:8123');
    5    define('_CURL_HTTP_PROXY', '127.0.0.1:8123');
    6    define('SELF_USER_AGENT', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0');
    

    These variables should cover recent TT-RSS versions.

  5. restart the services

    systemctl restart tt-rss privoxy ${webserver}
    

Footnotes

1

Copyright (c) ArchWiki contributors

2

Copyright (c) 2021 Franco Masotti