ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.52k stars 2.84k forks source link

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

Open yEs1do opened 3 months ago

yEs1do commented 3 months ago

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):

Desktop (please complete the following information):

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

ep_etherpad-lite@2.0.2 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

heldersepu commented 3 months ago

Seems fine for me image

Are you on a fresh clone fo the repo?

heldersepu commented 3 months ago

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

yEs1do commented 3 months ago

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.

SamTV12345 commented 2 months ago

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

yEs1do commented 2 months ago

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

SamTV12345 commented 2 months ago

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?

yEs1do commented 2 months ago

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

SamTV12345 commented 2 weeks ago

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.