1

I can't run any bin/magento commands, always got killed. (setup:di:compile, cache:clean, cache:flush, indexer:reindex)

screenshot

I already changed memory_limit = -1 the php.ini, and tried to run the bin/magento commands with specified memory size; but all return "Killed" like the above picture.

I also tried to clean var/log/* generated/* var/cache/* folders, but still same.

Anyone know how to fix this issue?

Thanks so much

2
  • Just a sidenote if I may: I suggest you don't run any of the bin/magento commands with the *root user. you should always use same user as the webserver (usually www-data), otherwise you will mess up the permissions. – Diana Botean Feb 16 at 8:21
  • 1
    thank you, I will be careful – user1979276 Feb 16 at 23:10
1

it's the base_url. I set it to null in database directly, problem is fixed after I added value.

Thanks

1
  • Hi, you can also accept your own answer, to mark it as resolved. Thanks. – sv3n Feb 17 at 1:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.