cancel
Showing results for 
Search instead for 
Did you mean: 

Most buttons in backend wont work after upgrade to 2.3.4

SOLVED

Most buttons in backend wont work after upgrade to 2.3.4

I get these errors in system.log:

main.CRITICAL: Compilation from source: LESS file is empty: adminhtml/Magento/backend/en_US/extjs/resources/css/ytheme-magento.less [] []
main.ERROR: Unable to resolve the source file for 'adminhtml/Magento/backend/en_US/mage/adminhtml/globals.js' [] []
main.CRITICAL: Unable to resolve the source file for 'adminhtml/Magento/backend/en_US/mage/adminhtml/grid.js' [] []

 

I have made it work by editing through phpmyadmin, but that just isn't doable no more...

 

Please help, Thanks

 

PS. Frontend works just fine

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Most buttons in backend wont work after upgrade to 2.3.4

Okay guys, think I fixed it Smiley Wink I just copied the requested files from an old backup and all buttons started to work Smiley Wink

 

Thanks again for replying to my message!!

View solution in original post

5 REPLIES 5

Re: Most buttons in backend wont work after upgrade to 2.3.4

Hello @g_svan 

 

Please run the below commands:

 

bin/magento setup:upgrade
bin/magento setup:static-content:deploy -f -a adminhtml
bin/magento setup:static-content:deploy -f -a frontend

I hope it helps.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Most buttons in backend wont work after upgrade to 2.3.4

Hi @g_svan 

Have you removed pub/static folder once after upgrade?

You can run the commands which @Sanjay Jethva mentioned. But I will suggest below commands in sequence after correct permission.

Try the following command once:

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

You can use sudo as well.


If still face issue, then try following command s once to re generations.

 

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

 
I hope it will help you!

Re: Most buttons in backend wont work after upgrade to 2.3.4

Thanks Sunjay for your help!! I did what you suggested, but still same errors in system.log

Re: Most buttons in backend wont work after upgrade to 2.3.4

Hi Vimal and thanks for your reply.

Tried your solution but didn't help... Buttons still don't work and same errors in system.log

Re: Most buttons in backend wont work after upgrade to 2.3.4

Okay guys, think I fixed it Smiley Wink I just copied the requested files from an old backup and all buttons started to work Smiley Wink

 

Thanks again for replying to my message!!