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

Import of any files CBR or CBZ is not working #40

Closed mariushosting closed 8 months ago

mariushosting commented 8 months ago

Description

Try to upload a .cbr and .cbz file nothing works.

Version

0.7.9

Steps to Reproduce

Search Import You can import any file .cbr or .cbz but the upload is not working. It shows that the comic is uploaded, but it's actually not.

Screenshots

No response

Logs

No response

Platform

desktop

Device

desktop

Operating System

docker

Browser

chrome

Additional Context

No response

Code of Conduct

dokkaner commented 8 months ago

Hello, More details are needed. Can you attach the logs (/data/logs/) please?

zarevskaya commented 8 months ago

logs.txt Hello, I wanted to write an article on my site to present your app, like Marius whom I salute in passing, and I have the same problem. I don't see anything special in the logs while the upload.

I noticed that if I didn't add ./ in front of `volumes:

ERROR: Named volume "teemii-data:/data:rw" is used in service "teemii-backend" but no declaration was found in the volumes section.

Have a nice day!

Screenshot_20240105_214449

dokkaner commented 8 months ago

You mean the upload doesn't even start? It stay like that? Then I'd like the logs from your browser's developer console when you click on 'import'.

zarevskaya commented 8 months ago

You mean the upload doesn't even start? It stay like that? Yes

Then I'd like the logs from your browser's developer console when you click on 'import'. of course! Object { stack: "en@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:9:49031\nXD@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:11:1050\nm@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:11:4247\nEventHandlerNonNull*iN</<@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:11:4319\niN<@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:11:3223\nz6@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:13:512\nrequest@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:13:4189\nn/<@https://teemii-teemii-frontend-1.xxxxx.com/assets/index--uoes6Ul.js:13:4646\nm_/<@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:9:43764\nuploadCBx@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:13:18436\n_@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:65:20406\nZo@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:15610\nci@https://teemii-teemii-frontend-1.xxxxxxxx.com/assets/index--uoes6Ul.js:1:15691\nn@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:77759\nEventListener.handleEvent*Wo@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:1:77101\nkB@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:1:77329\nOB@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:1:78098\nO@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52716\nA@https://teemii-teemii-frontend-1.xxxxxxxx.com/assets/index--uoes6Ul.js:1:52345\nb@https://teemii-teemii-frontend-1.xxxxxxxxx.com/assets/index--uoes6Ul.js:1:51711\nPe@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:56358\nrun@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:6219\ncx/j/N.update@https://teemii-teemii-frontend-1.xxxxxx.com/assets/index--uoes6Ul.js:1:56646\nj@https://teemii-teemii-frontend-1.xxxxxxxx.com/assets/index--uoes6Ul.js:1:56673\nq@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:55423\nW@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:55194\nb@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:51744\nE@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:53326\nO@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52559\nA@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52345\nb@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:51711\nE@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:53326\nO@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52559\nA@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52345\nb@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:51711\nE@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:53326\nO@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52559\nA@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52345\nb@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:51711\nE@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:53326\nO@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52559\nA@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:52345\nb@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:51711\nE@https://teemii-teemii-frontend-1.xxxxxxx.com/assets/index--uoes6Ul.js:1:53326\n", message: "Request failed with status code 413", name: "AxiosError", code: "ERR_BAD_REQUEST", config: {…}, request: XMLHttpRequest, response: {…} }

With Firefox it's a little better: I have a green line, but the import fail. :arrow_double_up:

Screenshot_20240105_221603

dokkaner commented 8 months ago

I see, Teemii does not find the title because it cannot support formats other than Manga or Manwha. Here, this is a comic book, sorry :(

zarevskaya commented 8 months ago

However, I sent a supported format. Do you mean that it has to be a manga and not a comic even if the format is good?

And for this error?

**I noticed that if I didn't add ./ in front of volumes: - ./teemii-data:/data unable to start installation with docker-compose up -d. Without the ./ I have this error:

ERROR: Named volume "teemii-data:/data:rw" is used in service "teemii-backend" but no declaration was found in the volumes section.**

I am right to add ./?

dokkaner commented 8 months ago

It has to be a manga / manwha yes. Teemii attempts to recognize the title by fetching metadata from various sources. Once the title has been identified, the work will be imported. In addition, manga has a publication format that Teemii tries to recognize.

For the docker-compose file please use the one from the develop branch: https://github.com/dokkaner/teemii/blob/develop/docker-compose.yml

This should be better.

zarevskaya commented 8 months ago

Thank you for the explanations, I will correct my article. 🤝

Now all is clear for me.

zarevskaya commented 8 months ago

https://belginux.com/teemii/

Voilà, thank you again for your patience! I took care to specify that it was aimed at a particular audience who are fans of manga and manwha only.

Best wishes ;)

mariushosting commented 8 months ago

closed.