diff --git a/README.md b/README.md index 4e73d2339f7..bca53d2ff96 100644 --- a/README.md +++ b/README.md @@ -251,7 +251,7 @@ Browse http://localhost:3000/ [![Deploy to Cloudron](https://cloudron.io/img/button.svg)](https://www.cloudron.io/store/com.rssbridgeapp.cloudronapp.html) [![Run on PikaPods](https://www.pikapods.com/static/run-button.svg)](https://www.pikapods.com/pods?run=rssbridge) -The Heroku quick deploy currently does not work. It might possibly work if you fork this repo and +The Heroku quick deploy currently does not work. It might work if you fork this repo and modify the `repository` in `scalingo.json`. See https://github.com/RSS-Bridge/rss-bridge/issues/2688 Learn more in @@ -259,6 +259,20 @@ Learn more in ## How-to +### How to remove all cache items + +As current user: + + bin/cache-clear + +As user rss-bridge: + + sudo -u rss-bridge bin/cache-clear + +As root: + + sudo bin/cache-clear + ### How to fix "PHP Fatal error: Uncaught Exception: The FileCache path is not writable" ```shell @@ -277,13 +291,13 @@ rm -rf /var/www/rss-bridge/cache/ && mkdir /var/www/rss-bridge/cache/ ### How to fix "attempt to write a readonly database" (sqlite) -The sqlite cache file is not writeable. +The sqlite files (db, wal and shm) are not writeable. - chown -v rss-bridge:rss-bridge cache/cache.sqlite + chown -v rss-bridge:rss-bridge cache/* ### How to fix "Unable to prepare statement: 1, no such table: storage" (sqlite) - rm cache/cache.sqlite + rm cache/* ### How to create a new bridge from scratch