wodby / docker4drupal

Docker-based Drupal stack
https://wodby.com/docker4drupal
MIT License
1.24k stars 535 forks source link

Error while installing themes #136

Closed klikrzys closed 7 years ago

klikrzys commented 7 years ago

I'm getting error while installing themes. Files with theme are in web/themes directory after all.


Please continue to the error page

An AJAX HTTP error occurred.
HTTP Result Code: 403
Debugging information follows.
Path: /core/authorize.php/core/authorize.php?batch=1&id=10&op=do_nojs&op=do
StatusText: Forbidden
ResponseText: 
Access denied | nginx_drupal
@import url("/core/authorize.php/core/assets/vendor/normalize-css/normalize.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/ajax-progress.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/align.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/autocomplete-loading.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/fieldgroup.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/container-inline.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/clearfix.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/details.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/hidden.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/item-list.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/js.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/nowrap.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/position-container.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/progress.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/reset-appearance.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/resize.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/sticky-header.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/tabledrag.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/tablesort.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/components/tree-child.module.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/system.admin.css?opaah6");
@import url("/core/authorize.php/core/themes/stable/css/system/system.maintenance.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/base/elements.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/base/typography.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/base/print.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/layout/layout.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/action-links.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/breadcrumb.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/button.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/collapse-processed.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/container-inline.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/details.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/exposed-filters.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/field.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/form.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/icons.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/inline-form.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/item-list.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/link.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/links.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/menu.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/more-link.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/pager.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/tabledrag.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/tableselect.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/tablesort.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/tabs.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/textarea.css?opaah6");
@import url("/core/authorize.php/core/themes/classy/css/components/ui-dialog.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/admin-list.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/content-header.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/breadcrumb.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/buttons.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/colors.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/messages.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/dropbutton.component.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/entity-meta.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/field-ui.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/form.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/help.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/menus-and-lists.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/modules-page.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/node.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/page-title.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/pager.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/panel.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/skip-link.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/tables.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/search-admin-settings.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/tablesort-indicator.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/system-status-report-general-info.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/system-status-report.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/tabs.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/system-status-report-counters.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/system-status-counter.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/components/views-ui.css?opaah6");
@import url("/core/authorize.php/core/themes/seven/css/theme/maintenance-page.css?opaah6");
Skip to main content
nginx_drupal
Access denied
You are not allowed to access this page.```
csandanov commented 7 years ago

How can I reproduce it? I've just spun up vanilla Drupal 8 with the latest compose file, connected to the php container, run composer require drupal/bootstrap, went to admin UI and successfully enabled it and set as default. No errors occurred.

klikrzys commented 7 years ago

I've tried to install it from URL. Is it wrong and I should use composer for that? kazam_screenshot_00076

csandanov commented 7 years ago

There was a bug in drupal-nginx image that prevented from installing modules/themes via UI. I've fixed it, update nginx image tag in your docker-compose file to drupal-nginx:8-1.10 (no stability tag) and try again.

klikrzys commented 7 years ago

It works! Thank you very much :D