TinyTinyRSS' feeds are not automatically updated

Bitnami TinyTinyRSS’ latest version doesn’t update the feeds when adding them. This error appears when updating the feeds manually:

bitnami@bitnami-tinytinyrss-ebb1:/opt/bitnami/tinytinyrss$ php /opt/bitnami/tinytinyrss/update.php --feeds
[14:00:01/3848] Lock: update.lock
[14:00:01/3848] Scheduled 1 feeds to update...
[14:00:01/3848] Base feed: https://www.feedforall.com/blog-feed.xml
[14:00:01/3848] => An RSS Daily News Feed from FeedForAll - RSS Feed Creation. (ID: 3, U: admin [1]), last updated: 1970-01-01 00:00:00
sh: 1: /usr/bin/php: not found
[14:00:01/3848] <= 0.0026 (sec) exit code: 127
[14:00:01/3848] !! Last error:
[14:00:01/3848] Processed 1 feeds in 0.0125 (sec), 0.0125 (sec/feed avg)
[14:00:01/3848] Running housekeeping tasks for user 1...
[14:00:01/3848] Sending digests, batch of max 15 users, headline limit = 1000
[14:00:01/3848] All done.
[14:00:01/3848] Expired cache/export: removed 0 files.
[14:00:01/3848] Expired cache/feeds: removed 0 files.
[14:00:01/3848] Expired cache/images: removed 0 files.
[14:00:01/3848] Expired cache/upload: removed 0 files.
[14:00:01/3848] Removed 0 old lock files.
[14:00:01/3848] Removing old error log entries...
[14:00:01/3848] Purged 2 orphaned posts.

How to reproduce it:

Solution:

  • Edit the /opt/bitnami/tinytinyrss/classes/config.php file with this command
sed -i "s;/usr/bin/php;/opt/bitnami/php/bin/php;g" /opt/bitnami/tinytinyrss/classes/config.php