Кривая установка Open Social

Главные вкладки

Аватар пользователя fozzy fozzy 7 марта 2018 в 23:31

Всем доброго вечера.
Пытаюсь установить Open Social на Опен Сервер composer'ом и при инсталляции не закачиваются патчи .Из за них походу при установке сайта и выскакивают ошибки и криво устанавливается сайт.Нет фронтенда и тд.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /core/install.php?rewrite=ok&profile=social&langcode=uk&continue=1&id=3&op=do_nojs&op=do
StatusText: OK
ResponseText: Exception: No entity type for field type on view following in Drupal\views\Plugin\views\HandlerBase->getEntityType() (line 711 of D:\OSPanel\domains\social.mu\core\modules\views\src\Plugin\views\HandlerBase.php).
Случилась ошибка AJAX HTTP.
HTTP-код ответа: 200
Путь: /core/install.php?rewrite=ok&profile=social&langcode=uk&continue=1&id=4&op=do_nojs&op=do
Текст статуса: OK
Текст ответа: Drupal\Core\Entity\EntityStorageException: Field field_recipient_group is unknown. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 805 of D:\OSPanel\domains\social.mu\core\lib\Drupal\Core\Entity\Sql\SqlContentEntityStorage.php).

Сами патчи есть на странице Опен Социал ,но как их установить ручками? Буду благодарен за помощь.

Комментарии

Аватар пользователя sas@drupal.org sas@drupal.org 8 марта 2018 в 11:29

Есть много способов применения .patch от встроенных команд линукс до программ в windows, многие IDE также умеют это. google сможет ответить под Ваши критерии ОС.

Аватар пользователя fozzy fozzy 8 марта 2018 в 12:30

Тобишь как я понял возможно у меня не правильно настроены PATH в настройках консоли сервера или винды?
Наверное я не правильно описал суть проблеммы.
Так как это первый мой опыт с composer я мог накосячить.Как все было:

composer create-project goalgorilla/social_template:dev-master domains\social.mu --no-interaction --no-install

No-install потому что скрипт создавал папку HTML, а так я мог править composer.json приведя его к такому виду

 "extra": {
        "_readme": [
            "By default Drupal loads the autoloader from ./vendor/autoload.php.",
            "To change the autoloader you can edit ./autoload.php.",
            "This file specifies the packages.drupal.org repository.",
            "You can read more about this composer repository at:",
            "https://www.drupal.org/node/2718229"
        ],
        "merge-plugin": {
            "include": [
                "core/composer.json"
            ],
            "recurse": false,
            "replace": false,
            "merge-extra": false
        },
        "installer-paths": {
            "core": ["type:drupal-core"],
            "modules/contrib/{$name}": ["type:drupal-module"],
            "profiles/contrib/{$name}": ["type:drupal-profile"],
            "themes/contrib/{$name}": ["type:drupal-theme"],
            "drush/contrib/{$name}": ["type:drupal-drush"],
            "modules/custom/{$name}": ["type:drupal-custom-module"],
            "themes/custom/{$name}": ["type:drupal-custom-theme"]
        }
    },
    "autoload": {
        "psr-4": {
            "Drupal\\Core\\Composer\\": "core/lib/Drupal/Core/Composer"

Тобишь убирал папку HTML из путей.Потом запускал команду(неправильную) composer update drupal-composer/drupal-project которую он игнорировал и запускал обновление из своих настроек.
И вот тут при скачивании файлов он не мог закачать патчи для некоторых модулей типа вот этих.
Patches applied in this package
Address #2619878: Recoverable fatal error: Argument 1 passed to Drupal\\Core\\Form\\ FormState::setError() must be of the type array https://www.drupal.org/files/issues/address-2619878-29.patch
Bootstrap #2821397: Invalid data type in config bootstrap.settings https://www.drupal.org/files/issues/2821397-3.patch
Devel #2749249: Issue with some functions in entitymanagerwrapper https://www.drupal.org/files/issues/fix_entity_manager_wrapper_2749249_5...
Drupal core #2369119: Fatal error when trying to save a View with grouped filters using other than string values https://www.drupal.org/files/issues/grouped_filters-2369119-73.patch
Drupal core #2528214: "Restrict images to this site" blocks image style derivatives https://www.drupal.org/files/issues/image_restrict_image_styles-2528214-...
Drupal core #2743183: Fatal error in Book navigation block for unpublished parent book item https://www.drupal.org/files/issues/navigation_block_8.1.x-2743183-20.patch
Flag #2723703: Add relationship to flagged entities when Flagging is base table https://www.drupal.org/files/issues/2723703_31.patch
Flag #2826357: Fatal error when create flagging with drush https://www.drupal.org/files/issues/2826357-fix-drush-fatal-error.patch
Geolocation Field #2778227: Core patch for views grouped filters results geolocation config error https://www.drupal.org/files/issues/geolocation-8.x-1.7-grouped-views-fi...
Group #2718195: Add a computed field or pseudofield showing an entity's group(s) https://www.drupal.org/files/issues/add-computed-field-without-FieldItem...
Group #2793621: Upload files when adding content to group don't work well https://www.drupal.org/files/issues/error-when-uploading-files-2793621-5...
Group #2788213: Removing user who created a group makes the admin overview crash. https://www.drupal.org/files/issues/group-2788213-2.patch
Image Widget Crop #2826494: Always expand crop area not working as expected? https://www.drupal.org/files/issues/always_expand_crop_area-2826494-6.patch
Like & Dislike #2848080: Preview of nodes fail on trying to build like widget