varbase_media requires slick_media 2.x, but slick_media is no longer used and is not supported. It is necessary to update dependencies and remove slick_media

New sites do not need to install this module if using Slick 2.x
This module is included as plugin at Slick 2.x, no need to install it anymore.
Branch 1.x and 2.x are for Slick 1.x. A migration from this module into main Slick 2.x as a plugin is provided at Slick Media DEV 3.x: #3024726: Create a new branch for deprecation .

Migration procedures: Install the Slick Media DEV 3.x, run /update.php, config dependencies will be updated to point to the main Slick module, and this module will be uninstalled automatically. Repeat: Do not manually uninstall, run /update.php for self-uninstall instead, to not lose stored config.

8.x-3.x branch information
8.x-3.x branch requires Slick 2.x. It is a safe way to migrate the old formatter into the new one included at Slick 2.x as a plugin.
Do not manually uninstall Slick Media, as you will lose formatters configurations. Instead, run the provided update to do the migration and self uninstall.
Shortly, this module is now included as a plugin in the main Slick module. So no longer needed to install.
(Please expect an hour or two for the new tarball to package)

Comments

TLTHades created an issue. See original summary.

rajab natshah’s picture

Thank you, Alex for the notice
You are right
https://www.drupal.org/project/slick_media

A migration from this module into main Slick 2.x as a plugin is provided at Slick Media DEV 3.x: #3024726: Create a new branch for deprecation .

Migration procedures: Install the Slick Media DEV 3.x, run /update.php, config dependencies will be updated to point to the main Slick module, and this module will be uninstalled automatically. Repeat: Do not manually uninstall, run /update.php for self-uninstall instead, to not lose stored config.

So the SlickMediaFormatter.php is in Slick under the same name SlickMediaFormatter.php and the same plugin id.

rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
rajab natshah’s picture

  • RajabNatshah committed 13432a2 on 8.x-7.x
    Issue #3151898: Remove [Slick Media] module dependencies
    
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Status: Active » Needs review
Issue tags: +varbase-8.8.6, +varbase-9.0.0
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Title: Remove [Slick Media] module dependencies » Remove [Slick Media] module dependencies from [Varbase Media] module and configs
Version: 8.x-7.21 » 8.x-7.x-dev

  • RajabNatshah committed 95088ea on 8.x-7.x
    Issue #3151898: Remove [Slick Media] module dependencies from [Varbase...

  • RajabNatshah committed 04f2926 on 8.x-7.x
    Issue #3151898: Remove [Slick Media] module dependencies from [Varbase...
rajab natshah’s picture

Title: Remove [Slick Media] module dependencies from [Varbase Media] module and configs » Remove [Slick Media] module dependencies from [Varbase Media] module and replace it with the main module Slick and uninstall

  • RajabNatshah committed a11dbf0 on 8.x-7.x
    Issue #3151898: Remove [Slick Media] module dependencies from [Varbase...
rajab natshah’s picture

Added a hook update function to rename slick_media config dependencies to slick

Move all module dependencies on existing config entities from
"slick_media" to "slick".

As listed in
https://git.drupalcode.org/project/slick_media/-/blob/8.x-3.x/slick_medi...

This update process will Fix the update process to uninstall.
without the need for braining slick_media 8.x-3.x to to the migrate.
Varbase Media will fix that for us in varbase_media_update_8708

rajab natshah’s picture

Status: Needs review » Fixed
tlthades’s picture

RajabNatshah, thanks for the update

After the update, the composer automatically downloads slick_media version 1.1, so in addition you need to perform several actions:
1. Download the required version slick_media
composer require drupal/slick_media:3.x-dev
2. Update Drupal Database
drush updb

The module is no longer used and turned off, but we still have one dependency in the varbase_carousels module, so the module cannot be deleted. It may be necessary in the near future to release the varbase_carousels update and remove the dependency.

rajab natshah’s picture

#3153481: Remove [Slick Media] module dependencies from [Varbase Carousels] module and configs
Thanks for the notice.
I will release it right after this comment

rajab natshah’s picture

This update process will Fix the update process to uninstall.
without the need for braining slick_media 8.x-3.x to to the migrate.
Varbase Media will fix that for us in varbase_media_update_8708

rajab natshah’s picture

Released Varbase Carousels 8.x-7.4
https://www.drupal.org/project/varbase_carousels/releases/8.x-7.4

Varbase Media will do the full hook update
as we do have the same hook update from slick_media module to update configs
and Varbase Media will uninstall the slick_media module even if the module files were deleted

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

mellowtothemax’s picture

Hello,

I am receiving the following error after updating to the latest varbase from 8.x-8.5

MISSING OR INVALID MODULE
The following module is marked as installed in the core.extension configuration, but it is missing:
slick_media
Review the suggestions for resolving this incompatibility to repair your installation, and then re-run update.php.

I tried to remove it from the core.extension.yml but it will not import with the following error.

The configuration cannot be imported because it failed validation for the following reasons:
Configuration features.settings depends on the Features module that will not be installed after import.

Do you have any suggestions?

Regards,

Carlos Miranda Levy’s picture

After a long overdue update, I got errors for both slick_media and event_log_track running drush updb.
I took care of them by installing them manually via composer, running drush updb, uninstalling them via drush and then removing them via composer.

cd [varbase main directory]
composer require drupal/event_log_track drupal/slick_media
cd docroot/sites/[your site directory]
drush updb
drush pm:uninstall slick_media
drush pm:uninstall event_log_track 
cd ../../..
composer remove drupal/event_log_track drupal/slick_media

I did have to run update twice, but that's unrelated, just make sure you run drush updb until there is no pending updates.

Everything seems to be working fine.

mellowtothemax’s picture

Thanks Carlos,

I managed to get rid of the error by installing slick_media with composer and then uninstalling the module and then removing with composer. Did not need to install event log track.