Skip to content
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
Closed

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

ekoessel opened this issue Jun 28, 2018 · 7 comments
Assignees

Comments

@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
Copy link
Contributor

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
Copy link

dgautsch commented Jul 2, 2018

@ekoessel did you find a resolution to this?

@ekoessel
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
Copy link

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
Copy link

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
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 stale Issue has been auto-flagged as stale label Jan 31, 2019
@pirog pirog added this to the 3.0.0-rc.3 milestone Feb 1, 2019
@stale stale bot removed the stale Issue has been auto-flagged as stale label Feb 1, 2019
@pirog pirog self-assigned this Feb 3, 2019
@pirog
Copy link
Sponsor Member

pirog commented Feb 4, 2019

This should be resolved as a consequence of #1325

@pirog pirog closed this as completed Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants