Upgrade from v3.6.6 to v4.0.5 | I'm trying to execute "php artisan migrate" I got error class not defined.
Hi, I'm trying to execute "php artisan migrate" I got error class not defined. "
[Symfony\Component\Debug\Exception\FatalThrowableError] Class 'Illuminate\Notifications\NotificationServiceProvider' not found"
Could you please help me?

Please provide answers to these questions before posting your bug report:
- Version of Snipe-IT you're running - 3.6.6
- What OS and web server you're running Snipe-IT on - Ubuntu 14 server & Apache2
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) - install.sh
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproduceable on the demo.
- Include any additional information you can find in
app/storage/logsand your webserver's logs. - Include what you've done so far in the installation, and if you got any error messages along the way.
- Indicate whether or not you've manually edited any data directly in the database
Remove the contents of the bootstrap/cache directory.
Then run:
composer dump
php artisan cache:clear
php artisan route:clear
php artisan view:clear
I removed the contents of the "bootstrap/cache" then run composer dump. But I couldn't run the following commands, getting the same error as previous has happened.
php artisan cache:clear
php artisan route:clear
php artisan view:clear

Did your composer install --no-dev --prefer-source give you any errors when you ran it?
I didn't get any errors.

Try deleting the contents of your vendor directory and re-running the composer install command
I deleted the contents of vendor directory and executed the composer install command. Then I'm trying to execute "php artisan migrate" I got error like this.
root@ashir:/var/www/snipeit# php artisan migrate PHP Fatal error: Class 'Illuminate\Foundation\Application' not found in /var/www/snipeit/bootstrap/app.php on line 14
The log you pasted makes it look like you're missing some php extensions.. look further up in that.
Could you please help me?