Comment to 'UNA 9.0.0-RC12 has been released'
  • SOLVED

    Ok after some çay (tea) my mind was clear and I removed the relevant records of Froala from database.
    After I was able to install the new version.
    Better to have a cup of tea and not to make Alex nervous :)
    Alex T⚜️ 

    Hi Alex,
    As you know the previous version Froala didnt uninstall completely.

    Now for the new version upgrade of Froala didnt work saying too many changed files.
    I tried to uninstall reinstall with the fix you mentioned in the issues in github.
    even that fix gave some database errors while running.

    At the end by trials this worked  :
    -- TABLES
    DROP TABLE IF EXISTS `bx_froala_files`, `bx_froala_images_resized`;
    -- STORAGES & TRANSCODERS
    DELETE FROM `sys_objects_storage` WHERE `object` IN('bx_froala_files', 'bx_froala_images_resized');
    DELETE FROM `sys_storage_tokens` WHERE `object` IN('bx_froala_files', 'bx_froala_images_resized');
    DELETE FROM `sys_transcoder_filters` WHERE `transcoder_object` IN('bx_froala_image');
    DELETE FROM `sys_transcoder_images_files` WHERE `transcoder_object` IN('bx_froala_image');
    DELETE FROM `sys_storage_tokens` WHERE `object` IN('bx_froala_files', 'bx_froala_images_resized');
    DELETE FROM `sys_transcoder_images_files` WHERE `transcoder_object` IN('bx_froala_image');
    -- Studio page and widget
    DELETE FROM `tp`, `tw`, `tpw`
    USING `sys_std_pages` AS `tp`, `sys_std_widgets` AS `tw`, `sys_std_pages_widgets` AS `tpw`
    WHERE `tp`.`id` = `tw`.`page_id` AND `tw`.`id` = `tpw`.`widget_id` AND `tp`.`name` = 'bx_froala';

    But I was able to reinstall froala again. But this created 2 Froala icons in studio.

    I tried uninstallation again new installation removed.
    There is still one unresponsive froala icon in studio that I can not remove by any method.
    Also now I can not install again.
    What can I do?