cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve deployment version of static files from the file system

SOLVED

Unable to retrieve deployment version of static files from the file system

Hi, After a I installed the clean version of Magento 2.3, I installed a plugin to integrate with my country delivery and I get this error. 

Could anyone help me?

 

[2020-08-26 04:30:51] main.CRITICAL: Unable to retrieve deployment version of static files from the file system. {"report_id":"71e3f6c7a25696c7b07465a3dd28f13e5f5227374c1b4cf4d5fb34761112b300","exception":"[object] (UnexpectedValueException(code: 0): Unable to retrieve deployment version of static files from the file system. 

at /var/www/magento/vendor/magento/framework/App/View/Deployment/Version.php:88)"} []

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Unable to retrieve deployment version of static files from the file system

@Wallace Rettich Please run the below commands and check if the issue resolved.

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php biin/magento cache:flush

Feel free to ask any questions.

 

Thanks

View solution in original post

11 REPLIES 11

Re: Unable to retrieve deployment version of static files from the file system

@Wallace Rettich Please run the below commands and check if the issue resolved.

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php biin/magento cache:flush

Feel free to ask any questions.

 

Thanks

Re: Unable to retrieve deployment version of static files from the file system

Thanks @rahul Gupta, my store came back but I lost all my style. How can I restore the style of my store.

 

Take a look please

https://shop.topfield.com.br/

Re: Unable to retrieve deployment version of static files from the file system

@Wallace Rettich just run the below command and it will work fine.

 

php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

Thanks

Re: Unable to retrieve deployment version of static files from the file system

Hi @Rahul Gupta 

I did, and still not loading the style of store.

 

Take a look

Screen Shot 2020-08-29 at 12.16.17.png

Re: Unable to retrieve deployment version of static files from the file system

@Wallace Rettich Do the following thing.

 

1.Go to pub/static folder and there you find the txt file for version delete it.

 Then run the previous commands again.

 

Thanks

Re: Unable to retrieve deployment version of static files from the file system

Hi @rahul Gupta thanks for your help!!

But still not working. I deleted the file and ran the followings commands

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php biin/magento cache:flush

Didnt work again. And I deleted again and ran 

php bin/magento setup:static-content:deploy -f
php biin/magento cache:flush

And nothing changed. 

Re: Unable to retrieve deployment version of static files from the file system

Theres too many 'i' in bin on the last line

Re: Unable to retrieve deployment version of static files from the file system (losing style)

You have to regenerate style frob admin --> system --> Cach management, then regenerate

Re: Unable to retrieve deployment version of static files from the file system (losing style)

The Fix works, but this continuously happened, why ? what is the root cause of the issue ?