Update: This guide was written for Open Shift Online 2, which reaches its end of life at the end of September 2017. I haven’t had the chance to look at the new platform i.e. v3 in detail to see how easy to migrate over TT-RSS. I’ll update this guide once I figure out what to do.
I put this guide online to offer some help to anyone who might be searching an updated walk-through to install Tiny Tiny RSS on OpenShift. However, this post is not intended to be a comprehensive guide to install Tiny Tiny RSS on OpenShift, nor does it provide solutions to problems that you may come across during the installation. Some of the steps I put below might seem clumsy and unnecessary; and, there are probably better ways of doing things (e.g. using terminal instead of FileZilla). Be that as it may, it works for me and hopefully it will work for you too. This is a collection of steps that I followed to set up my own tt-rss instance on OpenShift, which has been running for almost two years and kept updated regularly.
The steps are as follows:
- Open OpenShift online and create a
phpapplication, preferably version 5.4, as it is maintained by OpenShift and gets security updates
- Name your app e.g.
- After successfully creating the app, add
mysqlfrom available cartridges. TT-RSS suggests PostgreSQL for better performance but in my own setup MySQL performs faster and doesn’t increase in size as fast as PostgreSQL does (maybe because of this? Don’t know. The main point is you can choose either but don’t forget to delete your logs time to time due to the fact that autovacuum does not work on OpenShift)
git bashterminal and ssh to your application
- Go to your repo where you will be installing tt-rss:
- Download the latest tt-rss:
git clone https://tt-rss.org/git/tt-rss.git tt-rss
- Open your application URL by adding /tt-rss/ to the end, as this folder,
tt-rss, is where we installed tt-rss previously (if the url comes back 404, check if it is https - http should work)
- Enter admin, password, etc. To see host name, open git bash while logged in your app and check
- Once tt-rss is initialised, on config file make ‘self url path’
- Open your tt-rss. Default username is
admin, password is
- Import your old feeds and change settings as you see fit
- FileZilla into your app
While in FileZilla, go to app-root > repo > .openshift > cron > minutely and upload this script (file name: update-feeds)
$OPENSHIFT_REPO_DIR/tt-rss/update.php --feeds &> $OPENSHIFT_LOG_DIR/rss_update.log
Open your app with https in the url. If https doesn’t work even if after you changed it on config during first initial setup, FileZilla into your app, download config.php, change url to https, and then reupload your config. This will fix it.
Don’t forget to delete your logs (app-root > logs) time to time (e.g. 4 months) and check your app size to make sure to stay within the quota
rhc app-show ttrss --gears quota
To upgrade your tt-rss, simply open git bash and ssh to your app, and then:
git pull origin master
If something goes wrong, always consult here: https://tt-rss.org/fox/tt-rss/wikis/InstallationNotes
Happy RSS reading!