cachet
cachet copied to clipboard
2.0.4 to 2.1.0 upgrade error
during composer install:
> php artisan clear-compiled
PHP Fatal error: Class 'CachetHQ\Cachet\Providers\AppServiceProvider' not found in /opt/cachet/bootstrap/cache/compiled.php on line 6923
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'CachetHQ\Cachet\Providers\AppServiceProvider' not found
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output: PHP Fatal error: Class 'CachetHQ\Cachet\Providers\AppServiceProvider'
not found in /opt/cachet/bootstrap/cache/compiled.php on line 6923
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
any idea how to fix?
You need to delete services.json, services.php, compiled.php from the bootstrap/cache folder, then run php artisan app:update.
OK thanks, after deleting all files from bootstrap/cache (config.php and compiled.php) the update went through.