1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Updated Auto‐Updating wallabag's site‐depended config (markdown)

Holger 2024-11-04 13:56:37 +01:00
parent f794eb2f84
commit 9ec933b8db

@ -68,12 +68,16 @@ File `/etc/cron.hourly/update_ftr-configs` with content:
curl https://ftr.example.com/admin/update.php?key=1abcd1234 >/dev/null
```
### Tip: Clearing the cache of wallabag
### Tip 1: Clearing the cache of wallabag
Wallabag does not use a new config immediately after it has been updated. Because of caching, it could last about 10 minutes without any fetches before wallabag is re-reading the configs. That is no problem for the auto-updates. But if you want to write, edit or test your own configs, you won't wait 10 minutes after every change. You can clear the cache, with the following bash command. The given user 'www-data' is for Debian based systems, you may change this):
`sudo -u www-data php /path-to-wallabag/bin/console --env=prod cache:clear`
### Tip 2: Make backup of config
At the moment config files under `app/configs/` are not persistent. You should do a backup before upgrading your wallabag version. As service.yml will be overwritten, when upgrading wallabag, you need to restore the settings, you mad above.
### Dockerized wallabag
Someone with docker skills, please add some helpful things here, like how to bring the git folder into the container, edit the config or how to clear wallabag's cache.