I've been able to force Magento Installer (setup.php) to print the error to the screen. Before I was just getting a blank screen. Here is the error ....
Fatal error: Uncaught ReflectionException: Class Magento\Framework\App\ResourceConnection\Proxy does not exist in /var/www/html/Magento/vendor/magento/framework/Code/Reader/ClassReader.php:19 Stack trace: #0 /var/www/html/Magento/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Framewo...') #1 /var/www/html/Magento/vendor/magento/framework/ObjectManager/Definition/Runtime.php(49): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...') #2 /var/www/html/Magento/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(48): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Framewo...') #3 /var/www/html/Magento/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #4 /var/www/html/Magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\F in /var/www/html/Magento/vendor/magento/framework/Code/Reader/ClassReader.php on line 19
Hi @GrocExp,
There may be some issue with permissions on the server in generations of static files. And make sure that you have ". htaccass" file in pub/static folder.
Try the following command to setup proper permission to magento directory.
find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
After it run the following magento commands in the sequence.
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/
I hope it will help you!
Hello @GrocExp
DevDocs has this thing mentioned, I think this should help you.
https://devdocs.magento.com/guides/v2.3/install-gde/trouble/tshoot_wrong-mysql.html
Thank you for taking the time to provide a possible solution. I too guessed permissions are the issue. I followed your suggestion and recorded that implementation in this video link ...
https://youtu.be/W4GAbVgUtjk
The solution failed for the 1st time when attempting php magento setup:upgrade I got
Can't run this operation: deployment configuration is absent. Run 'magento setup:config:set --help' for options.
Most of the people all across the world are using either a laptop or mobile phones and it will get dirty and flooded with dust that you may see rarely. Therefore, we have something for you that will help you out to clean the monitor of your laptop in no time. The White Screen is the site that provides you with some full-screen colors, as you can see on this page, to spot the tiny dust particles and dirt that you can’t see with your eyes directly.
Hi @GrocExp,
Please try the following command and check it again:
chmod -R 0777 var/ pub/ generated/ rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/* php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento indexer:reindex chmod -R 0777 var/ pub/ generated/
Hope this can help you! Let me know if you need further assistance.
__________
If issue solved, Click Kudos & Accept as Solution.
Usually related to permissions; however, we don't ever use 777, except at the casinos.
Try re-setting your user/group first.
e.g.
sudo chown -R www-data:www-data /var/www/magento