Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etherpad crash when loading plugin list #2075

Closed
codyps opened this issue Jan 29, 2014 · 6 comments
Closed

etherpad crash when loading plugin list #2075

codyps opened this issue Jan 29, 2014 · 6 comments

Comments

@codyps
Copy link

codyps commented Jan 29, 2014

This is the contents of the log:

[2014-01-29 13:07:31.551] [INFO] socket.io - handshake authorized 'B_O72c1AZqfNZpUo00pO'
[2014-01-29 13:08:25.885] [INFO] socket.io - transport end (close timeout)
[2014-01-29 13:08:29.586] [INFO] socket.io - transport end (close timeout)
[2014-01-29 13:08:29.587] [INFO] access - [LEAVE] Pad "Kernel_Team_Meeting_2014_01": Author "a.PryXiZJzHTXewYNZ" on client TS1Uno299hSH5hNJ00pM with IP "9.80.109.146" left the pad
[2014-01-29 13:08:44.620] [ERROR] console - RangeError: Invalid array length
    at /home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/get.js:83:15
    at Array.forEach (native)
    at /home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/get.js:82:26
    at cb (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/request.js:27:9)
    at RegClient.<anonymous> (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/request.js:122:16)
    at cb (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/request.js:158:9)
    at RegClient.<anonymous> (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/request.js:301:12)
    at Request.self.callback (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/request/index.js:148:22)
    at Request.EventEmitter.emit (events.js:98:17)
    at Request.<anonymous> (/home/services/linux/etherpad-lite/src/node_modules/npm/node_modules/request/index.js:876:14)

It occurs after navigating to admin/plugins for the first time and waiting a few minutes.

@codyps
Copy link
Author

codyps commented Jan 29, 2014

Also relevent:

[2014-01-29 13:11:23.180] [INFO] console - Your Etherpad git version is b6f354a

Further: no plugins are installed, sqlite is setup as the backend, and the site is proxied via varnish->nginx->etherpad.

@medioevo
Copy link

medioevo commented Feb 6, 2014

me too, exactly the same

@medioevo
Copy link

medioevo commented Feb 6, 2014

see here
npm/npm#3318

@loelkes
Copy link

loelkes commented Feb 24, 2014

Hi,
mine crashes too if i go to the plugins page but apparently for a different reason:

npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1393204549688
npm http GET https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1393204549688
npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1393204549688
[2014-02-24 02:19:51.037] [ERROR] console - TypeError: Object.keys called on non-object
    at Function.keys (native)
    at stripData (/home/etherpad-lite/etherpad-lite/src/node_modules/npm/lib/search.js:89:28)
    at Array.map (native)
    at filter (/home/etherpad-lite/etherpad-lite/src/node_modules/npm/lib/search.js:73:6)
    at /home/etherpad-lite/etherpad-lite/src/node_modules/npm/lib/search.js:63:21
    at /home/etherpad-lite/etherpad-lite/src/node_modules/npm/node_modules/npm-registry-client/lib/get.js:89:14
    at /home/etherpad-lite/etherpad-lite/src/node_modules/graceful-fs/graceful-fs.js:95:5
    at Object.oncomplete (fs.js:107:15)
npm http 200 https://registry.npmjs.org/-/all/since?stale=update_after&startkey=1393204549688
RESTART!

I have:
npm 1.4.3
node v0.10.26

[2014-02-24 02:26:55.262] [INFO] console - Your Etherpad git version is ca8dce1

@vvision
Copy link
Contributor

vvision commented Feb 24, 2014

@loelkes #2095 This should fix your problem.

@loelkes
Copy link

loelkes commented Feb 24, 2014

@vvision That was quick! Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants