dokkaner / teemii

A versatile, self-hosted manga reader and manager with extensible agent-based metadata retrieval
https://www.teemii.io
MIT License
289 stars 17 forks source link

CBZ import doesn't work #61

Open iMeanMeTooThanks opened 7 months ago

iMeanMeTooThanks commented 7 months ago

Description

Trying to import .cbz file does nothing. It shows a progress bar but actually does nothing. There is no server log regarding this. Browser log attached.

Version

0.8.2

Steps to Reproduce

  1. Go to search.
  2. Import from file
  3. Browse file
  4. Hit import

Screenshots

kép

Logs

http://x:8080/api/v1/upload
[HTTP/1.1 413 Request Entity Too Large 122ms]

Uncaught (in promise) 
Object { stack: "gn@http://x:8080/assets/index-xx6qdHxA.js:9:49037\nOR@http://x:8080/assets/index-xx6qdHxA.js:11:1050\nM@http://x:8080/assets/index-xx6qdHxA.js:11:4249\nEventHandlerNonNull*UR</<@http://x:8080/assets/index-xx6qdHxA.js:11:4321\nUR<@http://x:8080/assets/index-xx6qdHxA.js:11:3225\nEk@http://x:8080/assets/index-xx6qdHxA.js:13:512\nrequest@http://x:8080/assets/index-xx6qdHxA.js:13:4189\nn/<@http://x8080/assets/index-xx6qdHxA.js:13:4646\nHM/<@http://x8080/assets/index-xx6qdHxA.js:9:43770\nuploadCBx@http://x8080/assets/index-xx6qdHxA.js:13:21158\nV@http://x:8080/assets/index-xx6qdHxA.js:67:7478\nxi@http://x:8080/assets/index-xx6qdHxA.js:1:17672\nS1@http://x:8080/assets/index-xx6qdHxA.js:1:17753\nn@http://x:8080/assets/index-xx6qdHxA.js:1:81830\n", message: "Request failed with status code 413", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…} }

Platform

desktop

Device

PC

Operating System

Windows 10

Browser

Firefox

Additional Context

No response

Code of Conduct

dokkaner commented 7 months ago

Hello, You file is too big to upload; what is the size of it?

iMeanMeTooThanks commented 7 months ago

About 7MB

dokkaner commented 7 months ago

I'm going to increase this limit a lot. until now these were default values, which explains the low limit. I'll certainly push the fix on the develop branch by tomorrow. Thank you for bringing this to my attention.

dokkaner commented 7 months ago

fix available in develop branch.