spcsser / ep_adminpads

[UNMAINTAINED] Plugin for etherpad lite to list pads on index
MIT License
12 stars 9 forks source link

pad list is empty #22

Closed brutus closed 9 years ago

brutus commented 9 years ago

I just installed this on a etherpad-lite from the develop branch.

Altough the MySQL DB and the API show the pads correct, the adminpads list is completly empty. Nothing shows up in the logs.

chronoglass commented 9 years ago

same behavior here, with mysql and with dirtydb

Daniel451 commented 9 years ago

same behaviour here, debian wheezy stable, etherpad-lite development branch, MySQL5

spcsser commented 9 years ago

Sorry for my low response time, I've been busy working. I'll investigate this and see what I can do :)

spcsser commented 9 years ago

Seems valid, apparently an update for the jquery plugin that ships with epl rendered the plugin incompatible. I'm on it fixing this...

Daniel451 commented 9 years ago

Cool, thank you :)

spcsser commented 9 years ago

Fixed with https://github.com/spcsser/ep_adminpads/commit/4ee6a92f3e3e2bace30562b0d419b3f467edfe37

spcsser commented 9 years ago

Released version 0.0.8 [https://www.npmjs.com/package/ep_adminpads]

Daniel451 commented 9 years ago

hey :)

I've updated to 0.0.8 and now pads show up in adminpads... But existing pads aren't loading anymore and creating new ones fails, too. No errors are shown, "loading..." just "freezes" forever.

Any ideas? would be REALLY thankful.

etherpad-lite.log says:

Started Etherpad...
[2014-12-23 03:23:26.740] [INFO] console - Installed plugins: ep_adminpads, ep_etherpad-lite
[2014-12-23 03:23:26.770] [INFO] console - Your Etherpad git version is e9b461e
[2014-12-23 03:23:26.770] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues
[2014-12-23 03:23:26.825] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.833] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.838] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.843] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.850] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.856] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.861] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.866] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.873] [WARN] console - setAppHandler is deprecated!  Pass it to the constructor instead.
[2014-12-23 03:23:26.994] [INFO] console - You can access your Etherpad instance at http://my-ip:9001/
[2014-12-23 03:23:26.994] [INFO] console - The plugin admin page is at http://my-ip:9001/admin/plugins
[2014-12-23 03:23:27.098] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:27.312] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:31.129] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:31.233] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:31.338] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:31.443] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:31.496] [INFO] console - [2014-12-23 03:23:31.492] [DEBUG] plugin:adminpads - Admin/Pad | Query is { pattern: '', offset: 0, limit: 12 }
[2014-12-23 03:23:31.527] [INFO] console - [2014-12-23 03:23:31.526] [DEBUG] plugin:adminpads - Admin/Pad | Query is { pattern: '', offset: 0, limit: 12 }
[2014-12-23 03:23:33.869] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:33.971] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:34.073] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:34.376] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:34.479] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:34.581] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:23:35.519] [WARN] message - Dropped message, CLIENT_READY Message has no token!
[2014-12-23 03:23:35.587] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:40.438] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:40.540] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:40.645] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:42.688] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:42.790] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:43.095] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:43.197] [INFO] ueberDB - Flushed 1 values
[2014-12-23 03:26:43.262] [WARN] message - Dropped message, CLIENT_READY Message has no token!
[2014-12-23 03:26:43.300] [INFO] ueberDB - Flushed 1 values

EDIT : If I refresh the page additionally this shows up:

[2014-12-23 03:31:45.226] [WARN] client - TypeError: pad.collabClient is null -- { errorId: 'E7en3YNl79vaL6AVyLw0',
  msg: 'TypeError: pad.collabClient is null',
  url: 'http://my-ip:9001/p/test',
  linenumber: 246,
  userAgent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0' }
spcsser commented 9 years ago

I am not sure whether this is really related to this plugin. With my instance creating, opening/editing and deleting pads is working. I assume you restarted your epl instance? (there are some reports over epl with this https://github.com/ether/etherpad-lite/issues?q=is%3Aissue++pad.collabClient+is+null) Have you tried clearing the browser cache and/or restart your browser? (The js-files can be sometimes nasty persistent in cache)

Daniel451 commented 9 years ago

Thank you very much! :) Clearing Cache indeed solved the problem. Did not expect such a simple solution to work^^