Skip to content

Crash after fresh install and addition of plugins. #7543

@kimllee

Description

@kimllee

Hello,

Etherpad 2.6.1 crashes after a fresh install and addition of plugins mentionned here :

https://github.com/ether/etherpad#suggested-plugins

[2026-04-18T11:36:46.393] [ERROR] settings - TypeError: /opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html:67
    65|           <% e.begin_block("editbarMenuLeft"); %>
    66|           <%- toolbar.menu(settings.toolbar.left, isReadOnly, 'left', 'pad') %>
 >> 67|           <% e.end_block(); %>
    68|       </ul>
    69|       <ul class="menu_right" role="toolbar">
    70|           <% e.begin_block("editbarMenuRight"); %>

Cannot read properties of undefined (reading 'indexOf')
    at Object.skip (/opt/etherpad-lite/src/plugin_packages/.versions/ep_font_color@0.0.122/index.js:7:47)
    at Object.hook_fn (/opt/etherpad-lite/src/plugin_packages/.versions/ep_plugin_helpers@0.2.5/eejs-blocks.js:6:25)
    at callHookFnSync (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:123:16)
    at <anonymous> (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:196:54)
    at Array.map (<anonymous>)
    at Object.exports.callAll (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:196:25)
    at Object.exports.end_block (/opt/etherpad-lite/src/node/eejs/index.ts:64:9)
    at eval ("/opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html":62:10)
    at pad (/opt/etherpad-lite/node_modules/.pnpm/ejs@4.0.1/node_modules/ejs/lib/cjs/ejs.js:643:23)
    at Object.exports.require (/opt/etherpad-lite/src/node/eejs/index.ts:109:15)
    at <anonymous> (/opt/etherpad-lite/src/node/hooks/express/specialpages.ts:348:28)
    at Layer.handleRequest (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)
    at next (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)
    at handle (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)
[2026-04-18T11:36:50.678] [ERROR] settings - TypeError: /opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html:67
    65|           <% e.begin_block("editbarMenuLeft"); %>
    66|           <%- toolbar.menu(settings.toolbar.left, isReadOnly, 'left', 'pad') %>
 >> 67|           <% e.end_block(); %>
    68|       </ul>
    69|       <ul class="menu_right" role="toolbar">
    70|           <% e.begin_block("editbarMenuRight"); %>

Cannot read properties of undefined (reading 'indexOf')
    at Object.skip (/opt/etherpad-lite/src/plugin_packages/.versions/ep_font_color@0.0.122/index.js:7:47)
    at Object.hook_fn (/opt/etherpad-lite/src/plugin_packages/.versions/ep_plugin_helpers@0.2.5/eejs-blocks.js:6:25)
    at callHookFnSync (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:123:16)
    at <anonymous> (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:196:54)
    at Array.map (<anonymous>)
    at Object.exports.callAll (/opt/etherpad-lite/src/static/js/pluginfw/hooks.ts:196:25)
    at Object.exports.end_block (/opt/etherpad-lite/src/node/eejs/index.ts:64:9)
    at eval ("/opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html":62:10)
    at pad (/opt/etherpad-lite/node_modules/.pnpm/ejs@4.0.1/node_modules/ejs/lib/cjs/ejs.js:643:23)
    at Object.exports.require (/opt/etherpad-lite/src/node/eejs/index.ts:109:15)
    at <anonymous> (/opt/etherpad-lite/src/node/hooks/express/specialpages.ts:348:28)
    at Layer.handleRequest (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)
    at next (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/route.js:117:3)
    at handle (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/opt/etherpad-lite/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)

The ep_etherpad-lite plugin is installed by default.

Thank you

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions