Skip to content

Cannot Uninstall Luma theme #3650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bsuresh opened this issue Mar 4, 2016 · 36 comments
Closed

Cannot Uninstall Luma theme #3650

bsuresh opened this issue Mar 4, 2016 · 36 comments
Labels
Area: Frontend bug report Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Progress: done Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. stale issue Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@bsuresh
Copy link

bsuresh commented Mar 4, 2016

We are in process of creating our base theme. We are looking at removing Luma theme followed the steps (http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-theme-uninstall.html)

We can't seem to un-install Luma theme, this is a fresh Magento installation on vagrant box.
`$ php bin/magento theme:uninstall frontend/Magento/luma

Unable to uninstall. Please resolve the following issues:
frontend/Magento/luma is a parent of physical theme. Parent themes cannot be uninstalled.
frontend/Magento/luma has the following dependent package(s):
magento/product-community-edition`

@mazhalai
Copy link
Contributor

mazhalai commented Mar 4, 2016

@bsuresh Thank you for reporting, we have created MAGETWO-50182 to track and fix it.

@mazhalai mazhalai added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development CS bug report labels Mar 4, 2016
@viktor-zhuromskyy
Copy link

You have to manually remove all /Luma/ directories and then run /bin/magento setup:upgrade and redeploy all static content!

@alankent
Copy link

alankent commented Mar 5, 2016

A part of the challenge is to make deployment simple, we have a composer metapackage that points at everything to download. This includes the Luma theme. For modules it is not a problem, because you can turn off modules (via config.php). But there currently is not a switch to turn of themes, causing problems like this. The sample data modules are optional and can be easily omitted, but the Luma theme itself is not. I suspect this is why the CLI uninstall theme command is not working - I don't think Luma is an additional optional theme added to the composer.json file, so the CLI command cannot remove it. Maybe that is the problem and solution - move the Luma theme to be an extra module, just like the sample data. Then its easy to make optional.

@viktor-zhuromskyy
Copy link

Always keep in mind - Magento is owned by eBay :(

@viktor-zhuromskyy
Copy link

and remove the reference entry in themes table in db

@alankent
Copy link

alankent commented Mar 7, 2016

Not sure what you meant by "Magento is owned by eBay" exactly, but to be clear - we are NOT owned by eBay since November last year. We are Magento Commerce, a separate company. We are still going through separation efforts, but company focus is now all about Magento.

@viktor-zhuromskyy
Copy link

Nice, good to know! I just have person affection towards eBay. 👎

@antboiko
Copy link

@bsuresh

Hello Suresh, sorry for the delay with response.
Could you please verify if your created theme is inherited from Luma? If yes, then according to DevDocs you should first update the parent node information in theme.xml to remove references to Luma before uninstall.

Thanks,
Anton.

@slavvka
Copy link
Member

slavvka commented Jun 8, 2016

Closing since the author didn't answered

@slavvka slavvka closed this as completed Jun 8, 2016
@hostep
Copy link
Contributor

hostep commented Jun 8, 2016

This is still an issue.

If you install Magento 2.1-rc1 (sorry, haven't had a chance to play with rc2), change the settings to use the 'blank' theme, and then try to remove the luma theme:

$ php bin/magento theme:uninstall frontend/Magento/luma
Unable to uninstall. Please resolve the following issues:
frontend/Magento/luma has the following dependent package(s):
    magento/product-community-edition

Although I'm not sure if you should be able to remove themes which come with Magento 2 built-in, since this command is actually removing files (if I understand the docs correctly?). And this will probably cause issues, because a Magento upgrade will put those files back into place.

So I don't think you should be able to remove built-in themes from Magento 2. If the Magento team agrees with this, you can keep the ticket closed. Otherwise, you'll have to re-open it :)

@ClaudiuCreanga
Copy link

still and issue in rc3. very annoying.

@4DallasC
Copy link

4DallasC commented Jul 20, 2016

Yeah, I'm with ClaudiuCreanga above, having to sit through the deployment of the Luma frontend every time I'm forced to re-deploy static after an upgrade, is very annoying.

I can see why the frontend/Magento/blank would be a dependency, but can't see why the frontend/Magento/luma is a dependency.

@slavvka slavvka reopened this Jul 20, 2016
@slavvka slavvka assigned MomotenkoNatalia and unassigned slavvka Jul 20, 2016
@MomotenkoNatalia
Copy link
Contributor

Hi guys!
Looks like we already have internal task for this - MAGETWO-49510

@4DallasC
Copy link

Hello @MomotenkoNatalia

While you're at it. When we select the site language in the "Locale Options" in the system configurations to Locale "English (Australia)", it changes the site language to en_AU in the frontend but the admin is still in en_US. This means we need to deploy both en_AU and en_US, the en_AU for the frontend and the en_US for the backend. This takes along time, and if we can't change the backend language, why not only deploy the backend in en_US regardless of the locale setting.

Also, when changing the developer settings to minimizes the css, the delopyment process does create the css with the filename .min.css, but when the site render the html in the page, it has the normal filename .css. This causes problems.

@4DallasC
Copy link

Hello @slavvka

Also as a side note, the upgrade/deployment/compilation process can take considerable time. For production systems that also compile the code, it's taking nearly/over an hour to complete.

Can you make the deployment process to enter the developer mode rather than the maintenance mode, where the site can operated with the raw css/less and without the generated/compiled files while the deployment/compilation process is completing?

Pulling down a production system for over an hour to update it is just too long.

@vkorotun vkorotun removed the CS label Aug 4, 2016
@quisse
Copy link

quisse commented May 19, 2017

Any update on this?

@george-vlahakis
Copy link

Yeah, still there in 2.1.6. Should we be following @viktor-zhuromskyy instructions for now?

@ChaerilM
Copy link

ChaerilM commented Jun 9, 2017

if someone still want to uninstall it,

  • open vendor/composer/installed.json
  • remove package "magento/theme-frontend-luma": "100.1.6" inside "magento/product-community-edition" require.
  • php bin/magento theme:uninstall frontend/Magento/luma
Enabling maintenance mode
Removing frontend/Magento/luma from database
Removing frontend/Magento/luma from Magento codebase
<warning>magento/theme-frontend-luma is not required in your composer.json and has not been removed</warning>
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing magento/theme-frontend-luma (100.1.6)
Removing Magento/ThemeFrontendLuma
<warning>Package fabpot/php-cs-fixer is abandoned, you should avoid using it. Use friendsofphp/php-cs-fixer instead.</warning>
Writing lock file
Generating autoload files

Cache cleared successfully.
Alert: Generated static view files were not cleared. You can clear them using the --clear-static-content option. Failure to clear static view files might cause display issues in the Admin and storefront.
Disabling maintenance mode

the warning pique my interest, but when i re-run the command i got unknown theme. hopefully it leave no trace 😃

@quisse
Copy link

quisse commented Jun 22, 2017

In 2.1.7 it returns following output when running the steps from @Zabanya

Enabling maintenance mode
Removing frontend/Magento/luma from database
Removing frontend/Magento/luma from Magento codebase
Command "remove" failed: <warning>You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug</warning>
<warning>magento/theme-frontend-luma is not required in your composer.json and has not been removed</warning>
Loading composer repositories with package information

Removal failed, reverting ./composer.json to its original content.


                                                                             
  [Composer\Downloader\TransportException]                                   
  The 'https://repo.magento.com/packages.json' URL required authentication.  
  You must be using the interactive console to authenticate                  
                                                                             


remove [--dev] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [packages1] ... [packagesN]



Please disable maintenance mode after you resolved above issues

update -> found a workaround: after this error

  • run composer remove magento/theme-frontend-luma manually
  • (optional) n98-magerun2 config:set design/theme/theme_id 1
  • clean cache php -f bin/magento cache:clean
  • disable maintenance mode php -f bin/magento maintenance:disable

@ericmorand
Copy link

3 years later and this bug has still not bee fixed. Isn't it just a matter of removing the dependency and add the theme as a suggestion in composer.json?

@PsmIndia
Copy link

PsmIndia commented Jun 28, 2020

Still same issue, when we add product it create unnecessary copy of product images in cache because of that its create disk space.
`Deploy using quick strategy
frontend/Magento/blank/en_US 2595/2595 ============================ 100% 1 min
adminhtml/Magento/backend/en_US 2498/2498 ============================ 100% 1 min
frontend/Mgs/mgsblank/en_US 2538/2538 ============================ 100% 20 secs
frontend/Magento/blank/de_DE 2595/2595 ============================ 100% 50 secs
frontend/Magento/blank/nl_NL 2595/2595 ============================ 100% 51 secs
frontend/Magento/luma/en_US 2612/2612 ============================ 100% 59 secs
adminhtml/Magento/backend/de_DE 2498/2498 ============================ 100% 51 secs
adminhtml/Magento/backend/nl_NL 2498/2498 ============================ 100% 50 secs
frontend/Mgs/mgsblank/de_DE 2538/2538 ============================ 100% 12 secs
frontend/Mgs/mgsblank/nl_NL 2538/2538 ============================ 100% 11 secs
frontend/Mgs/ninth/en_US 2568/2568 ============================ 100% 14 secs
frontend/Magento/luma/de_DE 2612/2612 ============================ 100% 44 secs
frontend/Magento/luma/nl_NL 2612/2612 ============================ 100% 45 secs
frontend/Mgs/ninth/de_DE 2568/2568 ============================ 100% 14 secs
frontend/Mgs/ninth/nl_NL 2568/2568 ============================ 100% 14 secs
frontend/Mgs/ninth_rtl/en_US 2836/2836 ============================ 100% 15 secs
frontend/Mgs/ninth_rtl/de_DE 2836/2836 ============================ 100% 16 secs
frontend/Mgs/ninth_rtl/nl_NL 2836/2836 ============================ 100% 14 secs

Execution time: 710.88578796387
`

@hostep
Copy link
Contributor

hostep commented Jun 29, 2020

@PsmIndia: product images have nothing to do with the static content deployment procedure, right?

Also: what Magento version are you using? I'm pretty conviced that on the latest versions, Magento no longer generates resized product images for themes you don't use.

@PsmIndia
Copy link

PsmIndia commented Jun 29, 2020

i using magento 2.3.4[updated, move from m1], i have 50K products, when i try to do duplicate a products its take in infinite loop, until server crash, also its increase disk space, try to find solution but i am not, so setup it my local system and and i deleted all products, only keep 500 products, also i deleted all images too, now i try to make duplicate its successful, so now i add a product image, after than i check pub\media\catalog\product there in cache dir, there 18 images created+1=19 total , a single product images copies 19 time, what about 50K? i think it was becouse of unused theme that are install with setup ? right? also have look screenshot https://prnt.sc/t8filf

These million line in log file

[2020-06-28 10:38:36] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/live/admin/catalog/product/edit/id/197/key/f58058ba6c03be5edd8b0f5faf951e3bbf307c530dcc50b4c1b7ba851bf5e84b/","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_BLOCK_b4d60733c2b66b5e2f62ae9ebbcc445180163734"}} [] [2020-06-28 10:38:37] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/live/admin/catalog/product/edit/id/197/key/f58058ba6c03be5edd8b0f5faf951e3bbf307c530dcc50b4c1b7ba851bf5e84b/","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_BLOCK_5c806ecd4391423aca4c2f216f604a715f968e6b"}} [] [2020-06-28 10:38:48] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/live/admin/mui/index/render/key/4eeed3b237a129d80c72e1ee03eec04ad335e2f9f6eacdc1f9c716f8ea3f7fe7/?namespace=notification_area&sorting%5Bfield%5D=created_at&sorting%5Bdirection%5D=asc&isAjax=true","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_SYSTEM_CONFIG"}} [] [2020-06-28 10:38:52] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/live/admin/catalog/product/index/key/9d7765e721e7097967a6ae6662a531dd24b34b7f90f8559d7576d32a81f3e5ed/","invalidateInfo":{"identifier":"LOCKED_RECORD_INFO_BLOCK_060ff39ab289d35a68569aadc86118b1ac609e6d"}} [] [2020-06-28 10:39:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"tags":["catalog_product_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:39:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"tags":["cat_p"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:39:31] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:39:31] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:39:32] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:39:37] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"tags":["cat_p_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:39:37] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"tags":["cat_p_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:39:37] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/back/edit","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p_54381"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:19] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54381(,\|$))"}} [] [2020-06-28 10:41:21] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:22] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:22] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54382(,\|$))\|((^\|,)cat_c_p_31(,\|$))"}} [] [2020-06-28 10:41:22] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54382(,\|$))"}} [] [2020-06-28 10:41:22] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"servers":["[object] (Laminas\\Uri\\Uri: http://127.0.0.1:80/)"],"formattedTagsChunk":"((^\|,)cat_p_54382(,\|$))"}} [] [2020-06-28 10:41:25] main.CRITICAL: Wrong file {"exception":"[object] (InvalidArgumentException(code: 0): Wrong file at G:\\xampp\\htdocs\\live\\vendor\\magento\\framework\\Image\\Adapter\\Gd2.php:64)"} [] [2020-06-28 10:41:25] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p_54382","cat_c_p_31"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:25] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["cat_p_54382","cat_c_p_31"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:26] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:27] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:28] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:29] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:30] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:31] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] [2020-06-28 10:41:33] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://127.0.0.1/live/admin/catalog/product/save/id/54381/type/simple/store/0/set/17/key/349e9cd9e824f0531311b30f18fa3fe27ee6c6903b860edc951d6cede081809d/","invalidateInfo":{"tags":["catalog_product_54382"],"mode":"matchingAnyTag"}} [] --

@hostep
Copy link
Contributor

hostep commented Jun 29, 2020

For the duplicate issue, you are probably running into #9466 which is supposed to get fixed in Magento 2.4.0

You can ignore those lines in your log file, they have to do with cache invalidation which is expected and not a problem.

The 18 or 19 resized images you are noticing probably come from the etc/view.xml file of your custom theme, here's an example: https://github.com/magento/magento2/blob/2.3.5/app/design/frontend/Magento/blank/etc/view.xml
Magento resizes images in all the different formats specified in that file, since it needs different resized images on various parts in your shop. You can try to change those image dimensions to all use the same width and height in that file, that should reduce the amount of resized images it generates.

I'd strongly recommend to further look for help on https://magento.stackexchange.com/ or on https://community.magento.com/, because this issue you are having doesn't appear to be related to trying to remove the luma theme from a Magento installation.

Good luck! 🙂

@sdzhepa sdzhepa added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label Jul 27, 2020
@ghost ghost removed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Oct 20, 2020
@eduard13
Copy link
Contributor

@magento I'm working on it

@eduard13
Copy link
Contributor

@magento I’m working on this

@eduard13 eduard13 removed their assignment Oct 23, 2020
@eduard13
Copy link
Contributor

@magento I’m working on this

@eduard13
Copy link
Contributor

@magento I am working on this

@eduard13 eduard13 removed their assignment Oct 23, 2020
@gabrieldagama gabrieldagama added Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. labels Oct 29, 2020
@stale
Copy link

stale bot commented Jan 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Thank you for your contributions.

@hostep
Copy link
Contributor

hostep commented Feb 2, 2021

Untested, but you can probably remove the luma theme using a composer trick:

  1. Add the following to your composer.json file, or merge it in the already existing replace section:
    "replace": {
        "magento/theme-frontend-luma": "*"
    }
  1. Run composer update magento/theme-frontend-luma
  2. Run bin/magento setup:upgrade

This might work, but as mentioned above, I haven't actually tested this.

@schizek
Copy link

schizek commented Mar 25, 2022

This is still an issue in Magento 2.4.3-p1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Frontend bug report Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P4 No current plan to fix. Fixing can be deferred as a logical part of more important work. Progress: done Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Severity: S4 Affects aesthetics, professional look and feel, “quality” or “usability”. stale issue Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
Development

No branches or pull requests