Unable to install Media entity, media_entity.settings, views.view.media already exist in active configuration.

Unable to install Media entity, media_entity.settings, views.view.media already exist in active configuration.

MAKE SURE YOU BACKUP YOUR DATABASE FIRST

Solution

Connect your database and delete the record form the config table and reinstall.
SELECT * FROM config where name like ‘%Media%’

Delete these two rows.

and reinstall the module