/usr/share/nginx/atom
Clear the application cache
Restart PHP-FPM
This command depends on the version of PHP you have installed (which you can always check using php -version)
PHP 7.0: sudo systemctl restart php7.0-fpm
PHP 7.2: sudo systemctl restart php7.2-fpm
If you have memcached installed, it is good to clear that cache as well. This command should not have any ill effects if you don't have memcached installed, so you can always try it out:
sudo systemctl restart memcached
Repopulate the search index
php symfony search:populate
See: https://www.accesstomemory.org/docs/latest/admin-manual/maintenance/populate-search-index/
Note: If you have a lot of records, this task can take a long time to run, and will make records temporarily unavailable in the user interface as they are reindexed. Best to run this after business hours. However, you can also use some of the task options to reduce the time it takes by limiting how it runs - for example, using the --update option will not make existing records unavailable as the task progresses (it will progressively replace the index rather than deleting it first). The --exclude-types option can be used to target just certain entity types, rather than all of them, and the --slug option can be used just to target specific records, taking the slug as input. See the documentation for further details and options.
Rebuild the nested set:
php symfony propel:build-nested-set
See: https://www.accesstomemory.org/docs/latest/admin-manual/maintenance/cli-tools/
Generate slugs
php symfony propel:generate-slugs
See: https://www.accesstomemory.org/docs/latest/admin-manual/maintenance/cli-tools/#generate-slugs
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/93ba399e-5f35-47e6-b178-1cd6b7af206an%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZKKH521Hd%2BvF64m%3D6-TwNSJJanM0d9ugYfCK9CfCK0Yyg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAJ6fBBfEkVtArZKYT5d9s6mh4CuSBUpzmWHMNu6uo3hqQUKz8w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZKTsX2w3Vt8dznVrKu6trydoZU9HNPpCer5y-9HKy256g%40mail.gmail.com.