Enabling Composer Updates from System Health
The System Health page can run compatible Composer updates for you.
If the Run Compatible Composer Updates button is disabled, PHP does not currently have write access to the required application files and directories.
Run the appropriate command for your server, replacing /var/www/ticaga if Ticaga is installed elsewhere.
AlmaLinux
Apache typically runs as the apache user:
sudo mkdir -p \
/var/www/ticaga/storage/framework/cache/composer/cache \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament && \
sudo chown -R apache:apache \
/var/www/ticaga/composer.lock \
/var/www/ticaga/vendor \
/var/www/ticaga/storage/framework/cache/composer \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament && \
sudo chmod -R u+rwX \
/var/www/ticaga/composer.lock \
/var/www/ticaga/vendor \
/var/www/ticaga/storage/framework/cache/composer \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament
Ubuntu
Apache and PHP-FPM commonly run as the www-data user:
sudo mkdir -p \
/var/www/ticaga/storage/framework/cache/composer/cache \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament && \
sudo chown -R www-data:www-data \
/var/www/ticaga/composer.lock \
/var/www/ticaga/vendor \
/var/www/ticaga/storage/framework/cache/composer \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament && \
sudo chmod -R u+rwX \
/var/www/ticaga/composer.lock \
/var/www/ticaga/vendor \
/var/www/ticaga/storage/framework/cache/composer \
/var/www/ticaga/public/js/filament \
/var/www/ticaga/public/css/filament \
/var/www/ticaga/public/fonts/filament
After updating permissions, reload the System Health page. The update button should become available.
Running Updates Manually
To run the same type of Composer update from the command line, change to your Ticaga installation directory and run:
cd /var/www/ticaga
composer update --with-all-dependencies --no-dev --optimize-autoloader --no-interaction
Run this command as the application owner or deployment user, rather than with sudo, unless your server is specifically configured otherwise.
Security note: Allowing the web server user to write to
vendorandcomposer.lockenables web-based application dependency updates. Only enable this permission where that behavior is intended.