Skip to content

migrating from ep_copy_images #61

@thelliez

Description

@thelliez

Hello,

Trying to migrate/update an installation using the ep_copy_images plugin, I get the following error for pages that already have images from the old install.

EP + ep_image_upload seem to work fine. But it crashes for my legacy pages. Any suggestions?

This is running on top of RockyLinux8 + NodeJS16 + Postgresql

Thanks!

type: 'Unhandled Promise rejection',
msg: 'TypeError: /src\s*=\s*"([^\\s]+\/\/[^/]+.\/[^\\s]+\.\w*)/gi.exec(...) is null',
url: 'https:///p/oldPage',
source: 'https:///static/js/require-kernel.js?v=12388c46 line 1 > Function',
linenumber: 3,
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0',
stack: '(module ep_image_upload/static/js/clientHooks.js)/exports.aceAttribsToClasses@https:///static/js/require-kernel.js?v=12388c46 line 1 > Function:3:480\n' +
'callHookFnSync@https:///javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=12388c46:43:1543\n' +
'(module ep_etherpad-lite/static/js/pluginfw/hooks.js)/exports.callAll/<@https:///javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=12388c46:43:2259\n' +
'(module ep_etherpad-lite/static/js/pluginfw/hooks.js)/exports.callAll@https:///javascripts/lib/ep_etherpad-lite/static/js/ace2_common.js?callback=require.define&v=12388c46:43:2236\n' +
'f/g</<@https:///static/js/require-kernel.js?v=12388c46 line 1 > Function:19:1411\n' +

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions