sudo systemctl restart php8.2-fpm sudo systemctl restart apache2 php artisan config:clear php artisan route:clear php artisan view:clear php artisan event:clear php artisan config:cache php artisan route:cache php artisan queue:restart php artisan migrate or php artisan app:migrate-safe chmod -R 777 /var/www/html/kiyohr/v2_version/ CACHE_PREFIX=kiyokart_prod_v1 php artisan hrms:reset-permissions #live chmod -R 777 /var/www/html/kiyohr/v2_version/ chown -R www-data:www-data /var/www/html/kiyohr/v2_version/ find /var/www/html/kiyohr/v2_version/ -type d -exec chmod 755 {} \; find /var/www/html/kiyohr/v2_version/ -type f -exec chmod 644 {} \; chmod -R 775 /var/www/html/kiyohr/v2_version/storage chmod -R 775 /var/www/html/kiyohr/v2_version/bootstrap/cache chmod 600 /var/www/html/kiyohr/v2_version/.env chmod 755 /var/www/html/kiyohr/v2_version/artisan php artisan migrate php artisan db:seed --class=RolePermissionSeeder php artisan hrms:reset-permissions php artisan config:clear php artisan route:clear sudo systemctl restart php8.2-fpm sudo systemctl restart apache2