Questions tagged [static-content-deploy]

Refers to static view files deployment. Writing static files to the Magento file system when the Magento software is set for production mode.

Filter by
Sorted by
Tagged with
0
votes
2answers
30 views

Why do I still need to regenerate static content in developer mode?

I've noticed that in developer mode whenever I enable an extension, or a theme, I will have to regenerate the static content. Here's an example of such a case. According to the magento 2 ...
0
votes
1answer
47 views

Magento 2 pub/static/_cache/merged files are not created

Magento version 2.1.9 Trying to deploy the website results in strange JS and CSS errors. With the configuration of: dev/js/merge_files = 0 dev/js/enable_js_bundling = 0 dev/js/minify_files = 0 dev/...
0
votes
1answer
41 views

Magento 2 Static Content deploy requried?

I am a newbie in Magento2 I read some articles in which they mention like in Developer mode there is no need for Content deploy, it is only required in production mode. but when I worked practically ...
0
votes
1answer
44 views

Static content deploy in magneto 2 [closed]

why we use in general static content deploy command in Magento 2? php bin/magento setup:static-content:deploy -f
0
votes
0answers
21 views

Magento 2 static files not creating mage folder and mixins.js

After upgrading from Magento 2.2.2 to Magento 2.3.3. While generating static content with command "php bin/magento setup:static-content:deploy -f" it updates all the files in pub/static folder ...
0
votes
1answer
26 views

Modification to .phtml does not render

In content/page homepage I insert a widget from the porto theme: {{block class="Smartwave\Filterproducts\Block\Home\LatestList" name="latest_product" product_type="4" product_count="50" category_id="...
0
votes
1answer
8 views

skip default luma images generation during static content deployment in magento cloud

I have a requirement where I need to skip the images that were generated by the static-content: deploy in Magento. In my local and the test environments have --no-images option. But how can I ...
0
votes
0answers
30 views

Magento2 2.3.3 not creating symlinks for static files anymore

After a lot of searching on google, I hope someone can help me out. Magento2 version 2.3.3 is running on nginx with the sample config from Magento. PHP 7.1.33 is running via fcgi. The developer mode ...
1
vote
2answers
37 views

Magento 2 - I am facing this every time I run upgrade and deploy command after applying changes

Each time I deploy some changes and run, upgrade compile deploy reindex cache clean commands I face these issues? Anyone ?? I have deployed child theme and after that, I have run these commands
-1
votes
1answer
28 views

Error while running static deploy command in magento 2

I am getting the error again & again, though I have removed/var/pub & pub/static/frontend Error while running static deploy command in Magento
1
vote
1answer
139 views

static content deploy command autometically killed

I am running command setup:static-content:deploy -f its running for while, but after sometime it got killed in magento2.3.2. Please let me know the exact issue for this.
0
votes
0answers
34 views

An error has happened during application run. See exception log for details in magento2.3.3

I had run "setup:static-content:deploy -f en_GB" command, my website shows "An error has happened during application run. See exception log for details." i checked in my log file, CRITICAL: ...
1
vote
2answers
94 views

Module not generated in pub/ folder, Magento 2.3.3

Hello! I have Magento version 2.3.3. I run: bin/magento setup:upgrade bin/magento setup:di:compile bin/magento bin/magento setup:static-content:deploy -f And permissions for folders:...
1
vote
0answers
31 views

Magento 2 can't deploy : full red error

(Using putty). I can't deploy my magento 2 anymore... Tried chmod, tried setup upgrade.. Any idea or tips will be much appreciated. #0 /var/www/clients/client0/web6/web/boutique/vendor/magento/...
0
votes
1answer
97 views

Running a script inside a docker container using shell script from host

I am new to Docker technology,I am trying to create a shell script on my host to clear caches and to deploy my static content in Magento 2 inside my apach containe. to access to my apach container i ...
0
votes
0answers
20 views

How to make changes to JS files effective without the need to run and re-run setup:static-content:deploy?

The theme and locale specific setup:static-content:deploy task at my server takes about 10 seconds to finish. My question, how to make changes to theme or module JS files effective on page reloads ...
1
vote
1answer
37 views

js files are automatically deleted - adminhtml/web/js/components/use-parent-settings

In my M 2.2.6 I can not enter the Category section of dashboard, the spining is turn around. When I check the console, some of JS has 404 error In - adminhtml/web/js/components/use-parent-...
0
votes
1answer
35 views

Magento 2 - Exception: File can't be read in Magento static content deploy

Please tell me where is the problem. I used bin/magento setup:upgrade and bin/magento setup:static-content:deploy en_GB en_US -f
0
votes
0answers
105 views

getting errors when running setup:static-content:deploy -f magento 2.2.8

I am trying install a new theme in magento 2.2.8 and when i run in terminal php bin/magento setup:static-content:deploy -f This is the error that appear: #0 /var/www/clients/client19/web982/web/...
0
votes
2answers
301 views

Static content deploy issue for Magento 2.3.2

Hello! After upgrading Magento 2.1.8 to Magento 2.3.2, I get an error when run command: > php setup:static-content:deploy or > php setup:static-content:deploy en_US -f Text of my Error: ...
2
votes
1answer
62 views

Variable @button__shadow-active is undefined while running deploy static content in Magento 2

I am getting this error whenever running php bin/magento setup:static-content:deploy. It showing variable @button__shadow-active is undefined in file en_US/css/source/_extends.less in _extends.less. ...
0
votes
3answers
215 views

Don't work bin/magento setup:static-content:deploy after upgrade Magento to 2.3.2

Hello! When i run command bin/magento setup:static-content:deploy i give errors: And my second error: frontend/Magento/blank/en_US 4225/4225 ============================ 100%...
1
vote
0answers
35 views

Static Content deploy parallel jobs is not working in Docker

When using --jobs=4 or -j=4 with setup:static-content:deploy command its working on my local machine and it build the assets in parallel but when using this command inside a docker container with php:...
0
votes
1answer
33 views

Static files not getting generated magento 2.3

I ran command php bin/magento setup:static-content:deploy -f and i am getting this error https://prnt.sc/ot0gpp Please help what to do, my static files are not getting generated because of which my ...
0
votes
3answers
46 views

Is there any way to reflect the css,js changes without running static content deploy in Magento 2?

Is there any other method other than running deploy command to get new changes in the files in Magento 2?
0
votes
1answer
34 views

Could not read config file while deploying static content in Magento 2?

It shows error in FileResolver file.
0
votes
1answer
103 views

Magento 2 variable @mobile-cart-padding is undefined (Porto Theme)

I Cloned Magento 2 project from GitHub without any error. After I configured env files with DB details. when I deploy the project getting variable @mobile-cart-padding is an undefined error. I am ...
1
vote
3answers
200 views

I can't tell all clients to clear their browser cache!

recently we have changed few files js/CSS/phtml files on our site as we tested them we experienced strange thing in incognito mode the new CSS and js is working fine but if we switched to normal mode ...
0
votes
0answers
93 views

Magento 2 Deploying static content causes “Undefined variable: template” error

I just did a static content deploy and cache flush on my Magento 2 site, and when I did, the entire site crashed with the following error: Notice: Undefined variable: template in /vendor/magento/...
0
votes
1answer
44 views

After upgrade static content is set with out pub/

<html lang="en"> <head > <script> var BASE_URL = 'http://mage.test/'; var require = { "baseUrl": "http://mage.test/static/version1561748846/frontend/Brent/...
0
votes
2answers
104 views

Magento 2.2.1 error during static content deploy

I have a own template in app/design/frontend/tm/XXX-theme. I built it like described in the dev docs. Parent theme is luma. Magento run in developer Mode. After i use setup:static-content:deploy ...
1
vote
2answers
27 views

Magento 2 issue diffence CSS content on same file domain/pub/static/…/file.css and domain/static/…/files.css?

I have problem with magento 2.2.7 but cannot find way fix so hope someonce can help. File name: domain/pub/static/.../file.css and domain/static/.../file.css. After I changed content of file.css and ...
0
votes
1answer
31 views

New magento template file is not created in pub/static

I wanted to create a custom checkbox in checkout view. I did it by adding the following code <item name="showMore" xsi:type="array"> <item name="component" xsi:type="string">...
1
vote
1answer
44 views

Some CSS not working in frontend

This question has probably been asked a billion times, but I haven't found the exact same issue. I'm working on a M2 (v2.2.1) shop. Recently I accidentally removed the .htaccess file from pub/static. ...
0
votes
3answers
2k views

Magento 2.2.8 | setup:static-content:deploy gives errors | Cannot read contents from file jquery.fileupload-ui.css No such file or directory

I can't deploy static content on my production site. Running command: php bin/magento setup:static-content:deploy en_GB Gives me following error: [Magento\Framework\Exception\FileSystemException] ...
1
vote
0answers
38 views

Magento clean install is now doing this during Setup:Static-content:deploy

A fairly new and clean install on a dev platform. Magento 2.3.1 using the latest porto theme. PHP 7.2 Running setup:static-content:deploy seems to be running duplicate versions of each of the themes ...
1
vote
0answers
14 views

Changing theme does not work

I have changed something in my theme, but it does not appear after deploying static files. Removed all necessary folders and cleaned cache but still not working. Strange thing is, that on my test ...
1
vote
1answer
232 views

magento 2.2 static content deploy errors

I am trying to deploy static content in developer mode in magento 2.2 community edition. I am getting multiple errors in terminal related to css. Getting error as - [Magento\Framework\Exception\...
4
votes
2answers
383 views

Magento 2: Issues when deploying static content on EFS

When running the static content deploy with jobs option, we get this error: In Queue.php line 366: Error while waiting for package deployed: 42; Status: 0 setup:static-content:deploy [-f|--...
2
votes
0answers
219 views

Custom Css issue on deploying theme on magento 2.3.1

I m working on custom extension and I stumble across this The contents from the "/var/www/html/pub/static/frontend/Magento/blank/en_U S/ImaginationMedia_SocialOrder/css/orders/list.css" file can'...
1
vote
0answers
133 views

Symlinks issue after MAGETWO-96314

I have a problem (duhh) with symlinks inside public_html. Everything stopped working after this patch https://github.com/magento/magento2/commit/202ce32dd4bed272a9ddb1a4618fa0e14a179dcb#diff-...
1
vote
0answers
52 views

Magento 2.3 Client Side less compilation static files not found

if I enable the Client side less compilation and flush the static file cache I will get 404 Errors for all files in the media and pub/static direction. I'm using nginx. If I compile the files manual ...
1
vote
2answers
1k views

Magento 2 Theme Development - grunt watch not detecting changes of custom LESS file

We are running Magento 2 in version 2.3.1, but the error occurred in version 2.3.0 also. The situation is the following: we've created a custom theme which has Magento/luma theme as parent. according ...
0
votes
1answer
30 views

JavaScript Change in custom module not refreshed by deployment

I am going crazy right now. I made a change in a JavaScript file in a custom module which is installed via composer from my own repo. But I can't, under any circumstances, get those changes reflected ...
1
vote
1answer
39 views

Problems With Magento installation

I tried to install Magento 2.3, but I have problems with main page. I follow up the wizard installation and obtain the successful installation page. Now, when I try to access to my page, I see this: ...
2
votes
3answers
173 views

user error with pub/static folder

I accidentally delete the pub/static by running the command "rm -rf pub/static*" instead of "rm -rf pub/static/*". Now, i need to run "setup:static-content:deploy -f "in developer mode every time I ...
2
votes
1answer
304 views

.lib-url-check is undefined Magento 2.3 static content deploy error

Magento 2.3 when deploying static content this error occurs: Compilation from source: /var/www/html/MyProject/vendor/magento/theme-frontend-blank/web/css/styles-m.less .lib-url-check is ...
0
votes
1answer
150 views

Magento 2 Stuck on Checkout page

I am using magento 2.2.3. And my issue is, on frontend I am getting below errors which stucks checkout page. Means, Page Loader is continuosly loading on checkout page so customer can not do anything :...
2
votes
1answer
46 views

Magento2: Why isn't static content generated properly?

I have seen so many answers related to this question but nothing resolved my issue: I have cleared: cache pub/static generated var/cache, var/view_preprocessed Ran setup:upgrade di:compile cache:...
1
vote
1answer
296 views

Magento 2 : After deleting the pub/static/frontend folder everything collapsed

When I delete the pub/static/frontend or backend folder, everything falls on the frontend and backend, and every time I need to call static-content: deploy for everything to work fine. Using ...