cancel
Showing results for 
Search instead for 
Did you mean: 

Good morning - I hope you had your coffee!

SOLVED

Good morning - I hope you had your coffee!

Hello,

 

So I have an odd problem. Using the Codazon theme, I started to optimize the site with 45K products on a server that was under-powered. During that time I started to receive really odd errors - and finally had to restore the site, delete the products and start over.

 

Now, if I restore the site, it looks great and functions - but over time the scripts that load seem to degrade.

 

l2li.net - this is what I have now with NO input from me. It simply is degrading day by day.

 

Any ideas?

 

Thank you in advance,

DK

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Good morning - I hope you had your coffee!

Can you try this command via SSH:

php bin/magento deploy:mode:show

And see your App current Mode. If its in developer mode run this command

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

and if its in production mode run this command without -f

Magento 2 Professional Developer
https://nslayout.com/

View solution in original post

7 REPLIES 7

Re: Good morning - I hope you had your coffee!

Hi @LanLabs  (DK)

 

Looking at the link you have shared - it seems like assets (CSS, JavaScripts) are not loading on your site after you restore the same.

 

I would suggest you to run below commands from the SSH Terminal in sequence :

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Run this all commands in sequence and then check !

 

it will works !

if issue solved,Click Kudos & Accept as Solution

Re: Good morning - I hope you had your coffee!

Hi Dave,

Thank you for the reply.

Errors, in order:

[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments "command".

magento.prod|24c90d6b|2b299096-4b6a-4c29-8c56-406696637d4e@reply01.lithium.com
-bash: 2b299096-4b6a-4c29-8c56-406696637d4e@reply01.lithium.com: command not found
-bash: 24c90d6b: command not found
-bash: magento.prod: command not found

[InvalidArgumentException]
The following requested cache types are not supported: 'php', 'bin/magento', 'cache:flush'.
Supported types: config, layout, block_html, collections, reflection, db_ddl, eav, customer_notification, config_integration, config_integration_api, full_p
age, config_webservice, translate

Has gone kaput comrade!

Re: Good morning - I hope you had your coffee!

Hi @LanLabs 

 

Here you need to run this commands from the root directory of Magento.

 

so go to root directory of the Magento on your web server and then run this commands

 

Then check it will works !

if issue solved,Click Kudos & Accept as Solution

Re: Good morning - I hope you had your coffee!

I ran everything seemingly to no effect. I did get that one error message.

DK

Re: Good morning - I hope you had your coffee!

Actually, now I lost the logo too!

Re: Good morning - I hope you had your coffee!

Hi @LanLabs 

 

Then it seems like you have issue with theme only.

 

I would suggest you to raise a ticket on the theme portal and they will help you for the same.

 

Hope it helps !

if issue solved,Click Kudos & Accept as Solution

Re: Good morning - I hope you had your coffee!

Can you try this command via SSH:

php bin/magento deploy:mode:show

And see your App current Mode. If its in developer mode run this command

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

and if its in production mode run this command without -f

Magento 2 Professional Developer
https://nslayout.com/