1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Auto-update README

This commit is contained in:
yunohost-bot 2024-02-18 12:54:47 +00:00
parent 2625c41680
commit 779d373c06
2 changed files with 12 additions and 12 deletions

View file

@ -33,20 +33,20 @@ It is also possible to import your data from Instagram.
## Disclaimers / important information ## Disclaimers / important information
# Some useful commands to know to manage your instance ## Some useful commands to know to manage your instance
You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). The `php.VERSION` might be changed according to you current package version.
## Applying changes from the `.env` config file ### Applying changes from the `.env` config file
Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them.
Note: this will disconnect any logged-in account (including from the admin web UI). Note: this will disconnect any logged-in account (including from the admin web UI).
## Removing avatar cache to save space ### Removing avatar cache to save space
`php8.2 artisan avatar:storage-deep-clean` `php8.2 artisan avatar:storage-deep-clean`
Use it to prune old avatars that are outdated or no longer used. This might save some disk space. Use it to prune old avatars that are outdated or no longer used. This might save some disk space.
## Fix missing avatars or refetch them. ### Fix missing avatars or refetch them.
`php8.2 artisan avatar:storage` `php8.2 artisan avatar:storage`
It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored).
@ -54,7 +54,7 @@ It might also be usefull to migrate that cache (only, not the other existing med
Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU).
## When using S3 ### When using S3
- Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) - Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses)

View file

@ -34,20 +34,20 @@ Il est également possible d'importer ses données depuis Instagram.
## Avertissements / informations importantes ## Avertissements / informations importantes
# Some useful commands to know to manage your instance ## Some useful commands to know to manage your instance
You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). You need to run them from you pixelfed folder (usually `/var/www/pixelfed`). The `php.VERSION` might be changed according to you current package version.
## Applying changes from the `.env` config file ### Applying changes from the `.env` config file
Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them. Once you made some changes, you need to run `php8.2 artisan config:cache && php8.2 artisan cache:clear` to apply them.
Note: this will disconnect any logged-in account (including from the admin web UI). Note: this will disconnect any logged-in account (including from the admin web UI).
## Removing avatar cache to save space ### Removing avatar cache to save space
`php8.2 artisan avatar:storage-deep-clean` `php8.2 artisan avatar:storage-deep-clean`
Use it to prune old avatars that are outdated or no longer used. This might save some disk space. Use it to prune old avatars that are outdated or no longer used. This might save some disk space.
## Fix missing avatars or refetch them. ### Fix missing avatars or refetch them.
`php8.2 artisan avatar:storage` `php8.2 artisan avatar:storage`
It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored). It can be used to fetch remote avatars that are not loaded (or in case you deleted `/var/www/pixelfed/storage/app/public/cache/avatars` where they are stored).
@ -55,7 +55,7 @@ It might also be usefull to migrate that cache (only, not the other existing med
Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU). Be aware that this will generate a lot of "jobs" that will take time to be completed, and have a significant load on your server (especially bandwith and CPU).
## When using S3 ### When using S3
- Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses) - Delete non-used media that where not cleaned (it happens) : `php8.2 artisanmedia:gc` (Delete media uploads not attached to any active statuses)