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

Lando D8 Pantheon disables CSS / "The File could not be created" #1067

Closed
ekoessel opened this Issue Jun 28, 2018 · 7 comments

Comments

Projects
None yet
6 participants
@ekoessel
Copy link

ekoessel commented Jun 28, 2018

Hi there,

I am using Lando v3.0.0-beta.47 and Docker Version 18.03.1-ce-win65 (17513) on Windows 10.

The whole download process to my local machine works fine (no errors), but when I visit my site in the browser, the site gets shown without CSS Files. The Console says

testsite.lndo.site/:1 Refused to apply style from 'http://testsite.lndo.site/?pb130b' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

After disabling the "CSS Aggregation" in "Configuration -> Performance" it will show the site with stylesheets enabled, but I have a sitewide error saying

The File could not be created.

I have no clue how to get my site running correct again locally.

I would appreciate any help...

Thank you!

@Etroid

This comment has been minimized.

Copy link

Etroid commented Jun 29, 2018

@ekoessel , you may want to look into https://www.drupal.org/project/drupal/issues/944582 It will help you pinpoint whatever permission issues you may have on your appserver container. It worked for me.

@dgautsch

This comment has been minimized.

Copy link

dgautsch commented Jul 2, 2018

@ekoessel did you find a resolution to this?

@ekoessel

This comment has been minimized.

Copy link
Author

ekoessel commented Jul 3, 2018

@Etroid thank you for the hint. I think I will find a solution there.
@dgautsch unfortunately I could not find the right patch for my issue yet. I will keep you updated...

@davidneedham

This comment has been minimized.

Copy link

davidneedham commented Aug 30, 2018

I'm seeing this error on a site in Lando. This error doesn't appear on the live version of the site on Pantheon.

@muffinzap

This comment has been minimized.

Copy link

muffinzap commented Nov 27, 2018

The agregated css is in sites/default/files/css directory.

The problem is the permissions in the files directory, sites/default/files should have 755 and have 750

You can change the permissions with:

chmod 755 sites/default/files

@stale

This comment has been minimized.

Copy link

stale bot commented Jan 31, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

@stale stale bot added the wontfix label Jan 31, 2019

@pirog pirog added this to the 3.0.0-rc.3 milestone Feb 1, 2019

@stale stale bot removed the wontfix label Feb 1, 2019

@pirog pirog self-assigned this Feb 3, 2019

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Feb 4, 2019

This should be resolved as a consequence of #1325

@pirog pirog closed this Feb 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment