zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Tiny Tiny Rss Update

March 19, 2013 by Igor Drobot 1 Comment

RSS

Two days after I installed Tiny Tiny RSS (ttrss) v1.7.2 was released a new version of it 1.7.4. Thats great!

To be able to install Update from preferences are some fixes in config.php required. Maybe its only my problem!?; but my updater was not active.

1
define('PLUGINS', 'auth_remote, auth_internal, note');

define('PLUGINS', 'auth_remote, auth_internal, note');

Add a Updater plugin:

1
define('PLUGINS', 'auth_remote, auth_internal, note, updater');

define('PLUGINS', 'auth_remote, auth_internal, note, updater');

Reload your preferences page (first tab), and you will see update section:
TTRSS Update

This methode still not work for me. After clicking on update I was able a see only a empty field =(
So I decided to stop wasting my time with debugging and started with command line Update. Which was more successful :-)

Very simple

1
su -m www-data -c "/usr/bin/php -e update.php -update_self"

su -m www-data -c "/usr/bin/php -e update.php -update_self"

[12:35:59/15352] Warning: self-updating is experimental. Use at your own risk.
[12:35:59/15352] Please backup your tt-rss directory before continuing. Your database will not be modified.
[12:35:59/15352] Type ‘yes’ to continue.
yes
[12:36:00/15352] Work directory: /var/www/ttrss
[12:36:00/15352] Checking for tar…
[12:36:00/15352] Checking for gunzip…
[12:36:00/15352] Checking for latest version…
[12:36:00/15352] Target version: 1.7.4
[12:36:00/15352] Downloading checksums…
[12:36:03/15352] Downloading distribution tarball…
[12:36:03/15352] Verifying tarball checksum…
[12:36:03/15352] Saving download to /tmp/tt-rssqD69Aw
[12:36:03/15352] Renaming tt-rss directory to tt-rss-oldIlI8ZG
[12:36:03/15352] Extracting tarball…
[12:36:03/15352] Renaming target directory…
[12:36:03/15352] Copying config.php…
[12:36:03/15352] Cleaning up…
[12:36:03/15352] Fixing permissions…
[12:36:03/15352] -> cache
[12:36:03/15352] -> cache/export
[12:36:03/15352] -> cache/images
[12:36:03/15352] -> cache/simplepie
[12:36:03/15352] -> feed-icons
[12:36:03/15352] -> lock
[12:36:03/15352] Upgrade completed.
[12:36:03/15352] Your old tt-rss directory is saved at /var/www/tt-rss-oldIlI8ZG. Please migrate locally modified files (if any) and remove it.
[12:36:03/15352] You might need to re-enter current directory in shell to see new files.

After web login your database will be updated to the new structure.

The only one problem all feed icons are disappeared, so don’t forget to make a backup before you go on;)
Feed Icons

1
cp ../reader-Backup/feed-icons/* feed-icons/

cp ../reader-Backup/feed-icons/* feed-icons/

UPDATE 23.03.2013
ttrss

Today was released another ttrsss update to v1.7.5.

Tweaked combined mode UI appearance
Fix SQL error when image cache is enabled
Better default sorting of starred and published feeds
Initial load time improved
Attempt to run under safe mode
Support gzipped feeds if CURL is not present
Added auth_ldap plugin
Improved support for embedded content like videos
Add ability to collapse articles in combined/unexpanded mode
theme_image() is removed, plugins using it need to be updated
update.php option syntax changed to use two dashes e.g. -feeds -> –feeds
update.php: add support for logging to file
update_daemon2.php: add –help and a few other options
Several translations updated
Other bugfixes
Added embed_original plugin
Remove deprecated mobile/ in favor of mobile client by Matthieu Boinet
Add basic password recovery

Same problem, was not able to install Update from Preferences.
Update process

After command line update, a recieved a error message that SMTP_PORT was not defined in my config.php

Fix in config.php:

1
2
3
4
[...]
define('SMTP_HOST', '');
define('SMTP_PORT', '');
[...]

[...] define('SMTP_HOST', ''); define('SMTP_PORT', ''); [...]

Ttrss get a favicon in this version: Favicon

Update command has changed:

1
2
3
4
from
su -m www-data -c "/usr/bin/php update.php -daemon &"
# to
su -m www-data -c "/usr/bin/php update.php --daemon &"

from su -m www-data -c "/usr/bin/php update.php -daemon &" # to su -m www-data -c "/usr/bin/php update.php --daemon &"

UPDATE 04.04.2013
Tiny Tiny RSS was successfully updated to v1.7.8.

This time was used a auto updated from preferences:

Update process

Update process

Finish Update

Database Update

UPDATE 14.05.2013
Update to target version: 1.7.9 – Changelog
Migrating feed icons…
Done; 113 files copied
Upgrade completed.

Very nice! After some config.php fixes it still works after update :-)

“FEED_CRYPT_KEY should be exactly 24 characters in length.”
“FEED_CRYPT_KEY requires mcrypt functions which are not found.”
“Required configuration file parameter SMTP_SERVER is not defined in config.php. You might need to copy it from config.php-dist.”
“Required configuration file parameter FEED_CRYPT_KEY is not defined in config.php. You might need to copy it from config.php-dist.”

TTRSS-Update

TTRSS DB-Update

Some CSS stuff in new version is really terrible like 14px font size and title size, was changed by me to lovely 12px.

UPDATE 03.07.2013 to Tiny Tiny RSS v1.8
Target version 1.8 see Changelog
TTRSS v.1.8

Feed-Icons migration works perfect: TTRSS v.1.8



Manual config fixes required after upgrade:

TTRSS v.1.9

Database Update process

TTRSS v.1.8
TTRSS v.1.8

UPDATE 05.10.2013 to Tiny Tiny RSS v1.10
Changelog
Improve compatibility with feeds containing invalid UTF-8 entities
Fix category filters set to Uncategorized applying to all feeds
Other bugfixes

Update 1.10

Your Tiny Tiny RSS database needs update to the latest version: 121 to 123.

DB-Update

UPDATE 03.01.2014 to Tiny Tiny RSS v1.11
version1.11
Required configuration file parameter DETECT_ARTICLE_LANGUAGE is not defined in config.php.
You might need to copy it from config.php-dist.

So after a diff add folowing to config.php:

1
2
3
4
5
define('DETECT_ARTICLE_LANGUAGE', true);
// Detect article language when updating feeds, presently this is only
// used for hyphenation. This may increase amount of CPU time used by 
// update processes, disable if necessary (i.e. you are being billed
// for CPU time).

define('DETECT_ARTICLE_LANGUAGE', true); // Detect article language when updating feeds, presently this is only // used for hyphenation. This may increase amount of CPU time used by // update processes, disable if necessary (i.e. you are being billed // for CPU time).

As usually the same problem with my lovely CSS, I think I should spend some time to fix this behavior for the rest of time

Filed Under: HTTP, Linux, Networking Tagged With: own control, RSS, Tiny Tiny RSS, TTRSS

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Trackbacks

  1. Tiny Tiny RSS reading stats says:
    October 29, 2019 at 22:01

    […] wrote since 2013 a lot [1][2] about self hosted Tiny Tiny RSS Feed reader and this one is still alive and rung pretty smoothly […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok