etherpad-lite icon indicating copy to clipboard operation
etherpad-lite copied to clipboard

The "Plugin manager" is empty, and the "Manage pads" is also empty.

Open yEs1do opened this issue 1 year ago • 8 comments

Describe the bug The "Plugin manager" is empty, and the "Manage pads" is also empty.

To Reproduce First, run pnpm i as usual in /src, then run the program and enter the http://xxxx:9001/admin page

Expected behavior I used to use version 1.9.7, and The "Plugin manager" worked fine with this version. After I upgraded to 2.0.2 and 2.0.3, both versions failed to display content in the admin page.

Screenshots image image image

Server (please complete the following information):

  • Etherpad version:2.0.2-2.0.3
  • OS: Windows 10
  • Node.js version (node --version):v20.14.0
  • npm version (npm --version):10.8.1
  • Is the server free of plugins: empty

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome 125.

Additional context Thanks very much for your help! I am not a native English speaker. The above content comes from Google Translate. Please forgive me if there are any incoherent sentences.

PS C:\WINDOWS\system32> cd D:\etherpad-lite-win2.0.2\src PS D:\etherpad-lite-win2.0.2\src> pnpm run prod

[email protected] prod D:\etherpad-lite-win2.0.2\src node --import tsx node/server.ts

[2024-06-01T01:03:44.698] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: D:\etherpad-lite-win2.0.2 [2024-06-01T01:03:44.709] [INFO] settings - settings loaded from: D:\etherpad-lite-win2.0.2\settings.json [2024-06-01T01:03:44.711] [INFO] settings - Rooting is undefined [2024-06-01T01:03:44.711] [INFO] settings - No credentials file found in D:\etherpad-lite-win2.0.2\credentials.json. Ignoring. [2024-06-01T01:03:44.712] [INFO] settings - Using skin "colibris" in dir: D:\etherpad-lite-win2.0.2\src\static\skins\colibris [2024-06-01T01:03:44.713] [WARN] settings - DirtyDB is used. This is not recommended for production. File location: D:\etherpad-lite-win2.0.2\var\dirty.db [2024-06-01T01:03:44.713] [INFO] settings - Random string used for versioning assets: 0d1bc517 [2024-06-01T01:03:45.386] [INFO] server - Starting Etherpad... [2024-06-01T01:03:45.423] [INFO] plugins - pnpm --version: 9.1.4 [2024-06-01T01:03:45.432] [INFO] plugins - check installed plugins for migration [2024-06-01T01:03:45.433] [INFO] plugins - Loading plugin ep_etherpad-lite... [2024-06-01T01:03:45.434] [INFO] plugins - Loaded 1 plugins [2024-06-01T01:03:46.711] [INFO] server - Installed plugins: [2024-06-01T01:03:46.713] [INFO] settings - Report bugs at https://github.com/ether/etherpad-lite/issues [2024-06-01T01:03:46.714] [WARN] settings - Can't get git version for server header ENOENT: no such file or directory, lstat 'D:\etherpad-lite-win2.0.2.git' [2024-06-01T01:03:46.715] [WARN] settings - Can't get git version for server header ENOENT: no such file or directory, lstat 'D:\etherpad-lite-win2.0.2.git' [2024-06-01T01:03:46.715] [INFO] settings - Your Etherpad version is 2.0.2 () [2024-06-01T01:03:47.731] [INFO] http - HTTP server listening for connections [2024-06-01T01:03:47.732] [INFO] settings - You can access your Etherpad instance at http://0.0.0.0:9001/ [2024-06-01T01:03:47.732] [INFO] settings - The plugin admin page is at http://0.0.0.0:9001/admin/plugins [2024-06-01T01:03:47.733] [WARN] settings - Etherpad is running in Development mode. This mode is slower for users and less secure than production mode. You should set the NODE_ENV environment variable to production by using: export NODE_ENV=production [2024-06-01T01:03:47.733] [INFO] server - Etherpad is running

yEs1do avatar May 31 '24 17:05 yEs1do

Seems fine for me image

Are you on a fresh clone fo the repo?

heldersepu avatar Jun 08 '24 23:06 heldersepu

I was just working on a PR to improve the message we show when search does not return any plugins

Here is a short video showing that it works for me:

https://github.com/ether/etherpad-lite/assets/545474/a3cb0a0f-5565-4b51-b864-37b38592c01c

heldersepu avatar Jun 09 '24 03:06 heldersepu

Seems fine for me image

Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

yEs1do avatar Jun 10 '24 18:06 yEs1do

Seems fine for me image Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

I'm wondering why. Did you do any debugging? Can you go to https://static.etherpad.org/plugins.json

SamTV12345 avatar Jul 13 '24 08:07 SamTV12345

Seems fine for me image Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

I'm wondering why. Did you do any debugging? Can you go to https://static.etherpad.org/plugins.json This is my JSON. plugins.json

yEs1do avatar Jul 14 '24 05:07 yEs1do

Seems fine for me image Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

I'm wondering why. Did you do any debugging? Can you go to https://static.etherpad.org/plugins.json This is my JSON. plugins.json

I probably need a reproducible example. Can you setup Etherpad for that or provide instructions for reproducation?

SamTV12345 avatar Jul 18 '24 08:07 SamTV12345

Seems fine for me image Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

I'm wondering why. Did you do any debugging? Can you go to https://static.etherpad.org/plugins.json This is my JSON. plugins.json

I probably need a reproducible example. Can you setup Etherpad for that or provide instructions for reproducation?

When installing version 1.9.7 I used the same installation steps as 2.0.2, but in the F12 interface I noticed that several requests were not executed successfully(Pending).I confirmed my HOSTS file and localhost is correctly resolving to 127.0.0.1.

Request URL: ws://localhost:9001/socket.io/?EIO=4&transport=websocket

image

yEs1do avatar Jul 18 '24 18:07 yEs1do

Seems fine for me image Are you on a fresh clone fo the repo?

My software is not working at all, it's not that it can't find the plugin.

I'm wondering why. Did you do any debugging? Can you go to https://static.etherpad.org/plugins.json This is my JSON. plugins.json

I probably need a reproducible example. Can you setup Etherpad for that or provide instructions for reproducation?

When installing version 1.9.7 I used the same installation steps as 2.0.2, but in the F12 interface I noticed that several requests were not executed successfully(Pending).I confirmed my HOSTS file and localhost is correctly resolving to 127.0.0.1.

Request URL: ws://localhost:9001/socket.io/?EIO=4&transport=websocket

image

Maybe try it with the latest version. I included some fixes. Maybe yours is also included.

SamTV12345 avatar Sep 09 '24 18:09 SamTV12345