← Back to wiki index

Installation Guide

Installing Tiny Tiny RSS for the first time

As of 2020, the recommended way to deploy tt-rss is via Docker. Unless you have very specific needs which require direct installation on the host, consider using docker-compose setup described below:

Installing in a Docker container

Official dockerized setup uses docker-compose. There are two variants available:

1. Dynamic: tt-rss is automatically updated on container (re)start

Use this if you want to always run latest tt-rss code.

Installation guide (dynamic)

2. Static: uses pre-built images provided via Docker Hub

This seems to be a more commonly used pattern for Docker containers: images (including tt-rss source code) are built automatically and then pushed to Docker Hub.

Use this if you want manual control over tt-rss updates or an ability to revert to an older prebuilt image.

Installation guide (static)


Before you begin, you’ll need to verify the following:

Host installation overview

git clone https://git.tt-rss.org/fox/tt-rss.git tt-rss

Alternatively, you can clone the repository on your local machine and upload files to the server using FTP or any other means available to you.

Don’t forget to read UpdatingFeeds otherwise your feeds won’t update automatically.

See also: SecuringCacheDirectories

Take a look at available plugins

There are many plugins written for tt-rss. You can see the list here: Plugins.


Upgrading Tiny Tiny RSS

It is highly recommended to temporarily disable any third party themes and user CSS customizations before upgrading. Don’t forget to empty your browser cache if you experience weird bugs right after upgrading.

Note that you should upgrade to the latest version available, installing intermediate releases sequentially is not needed.

Upgrading with Git

Update base tt-rss code

Change to tt-rss directory on your server and run git pull origin master.

Merge new config.php directives and/or update the database

After the files have been upgraded to newer versions, open tt-rss. It may complain about missing directives in config.php. If that happens, you will need to either merge new stuff from config.php-dist to your config.php or remove config.php and rerun the installer.

DO NOT INITIALIZE DATABASE when upgrading. This will remove all your tt-rss data.

Afterwards, you may be redirected to the database updater. Log in with admin credentials and follow instructions.

Finishing that, you should be able to use tt-rss normally by logging in with your normal account.

Post-upgrade tasks

  1. You might need to clear your browser cache if you experience CSS or script-related issues, older scripts might have stuck in it.
  2. Do not copy cache directories from your old tt-rss version, it is unnecessary and potentially creates problems if you don’t preserve file modification times.
  3. If you are using an accelerator like php-apc you might need to restart apache if older cached versions of PHP files got stuck in cache (this happens rarely, but is a possibility).

Generated at Tue 28 Jul 2020 03:30:48 AM UTC