1

I have migrated from from magento 1.9.2.3 to magento 2.3.3. previously my products in admin panel and frontend was not opening, there was some duplicate entries for product id, so i removed the duplicate entries in the database tables. Since then the products on frontend started opening but on the admin panel it is giving 500 error, on further checking the logs i found this in exception.log file.

[2020年01月11日 09:04:06] main.CRITICAL: Path "/home/xxxxx/public_html/var/view_preprocessed/pub/static/" cannot be used with directory "/home/xxxxx/public_html/var/view_preprocessed/pub/static/" {"exception":"[object] (Magento\Framework\Exception\ValidatorException(code: 0): Path "/home/xxxxxxxxxx/public_html/var/view_preprocessed/pub/static/" cannot be used with directory "/home/xxxxxxxx/public_html/var/view_preprocessed/pub/static/" at /home/xxxxxx/public_html/vendor/magento/framework/Filesystem/Directory/PathValidator.php:63)"} []

I have also deleted the folder var_preprocessed and run the php bin/magento static-content:deploy many times and cleared the cache but the problem did not resolve.

What can be the issue and how should I resolve this?

Please help.. Thanks in advance.

nikin
1,1529 silver badges19 bronze badges
asked Jan 11, 2020 at 9:28

1 Answer 1

0

Can you try to set permission

sudo chmod -R 2775 /var/www/html/var/

Simillar: https://github.com/magento/magento2/issues/20639

answered Jan 11, 2020 at 10:12
3
  • Hi , I ran this command but now it is saying that CatalogInventory_stock_status is missing from database. Commented Feb 3, 2020 at 13:53
  • But it is there in the database Commented Feb 3, 2020 at 13:53
  • Can you paste error? Try reindex also. Commented Feb 3, 2020 at 13:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.