getmango / Mango

Mango is a self-hosted manga server and web reader
https://getmango.app
MIT License
1.71k stars 123 forks source link

[Bug Report] HTTP 500 error when adding a plugin #276

Closed bbreaddd closed 2 years ago

bbreaddd commented 2 years ago

Plugin page says "HTTP 500: Internal server error. Please try again later." when adding a plugin

To Reproduce Steps to reproduce the behavior:

  1. Download the plugin in the plugins folder
  2. Open the plugin page in the website
  3. Page gives a HTTP 500 error

Expected behavior Plugin page shows the plugins

Environment (please complete the following information):

Docker (if you are running Mango in a Docker container)

services: mango: image: hkalexling/mango container_name: mango expose:

Additional context Happens with any plugin

Logs: [DEBUG] 2022/02/03 16:54:33 | 200 GET /js/common.js 130.84µs [DEBUG] 2022/02/03 16:54:33 | 200 GET /img/icon.png 600.7µs [DEBUG] 2022/02/03 16:54:33 | 200 GET /css/mango.css 345.07ms [DEBUG] 2022/02/03 16:54:34 | 200 GET /img/nav-parent-close.svg 161.73µs [DEBUG] 2022/02/03 16:54:34 | 200 GET /webfonts/fa-solid-900.woff2 41.92ms [DEBUG] 2022/02/03 16:54:34 | 200 GET /favicon.ico 742.92µs [ERROR] 2022/02/03 16:54:57 | Unexpected char '<' at line 7, column

bbreaddd commented 2 years ago

Nvm, Im so stupid