Stack trace:
#0 {main}
thrown in /var/www/controlpanel/artisan on line 18
PHP Warning: require(/var/www/controlpanel/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/controlpanel/artisan on line 18
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/controlpanel/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/controlpanel/artisan:18
Stack trace:
#0 {main}
thrown in /var/www/controlpanel/artisan on line 18
#Database Error
1 messages · Page 1 of 1 (latest)
It looks like you are missing some important files in /vendor.
Please run composer install --no-dev --optimize-autoloader
In StreamHandler.php line 146:
The stream or file "/var/www/controlpanel/storage/logs/laravel.log" could n
ot be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/var/ww
w/controlpanel/storage/logs/laravel.log" could not be opened in append mode
: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/var/ww
w/controlpanel/storage/logs/laravel.log" could not be opened in append mode
: Failed to open stream: Permission denied
The exception occurred while attempting to log: Settings Error: Could not l
oad settings from database. The Installation probably is not done yet.
Context: {"exception":{}}
Context: {"exception":{}}
Your panel does not have the right permissions, try giving it some :)
sudo chmod -R 755 /var/www/controlpanel
and
sudo chown -R www-data:www-data /var/www/controlpanel
If you're using the installer, make sure to go back to the beginning and start the installer from step 1