Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] OPDS Android app Librera Reader 404 book not found and web .../opds error #82

Closed
VegethB opened this issue Jun 29, 2020 · 12 comments
Labels
bug Something isn't working

Comments

@VegethB
Copy link

VegethB commented Jun 29, 2020

On the android app you can navigate the library (you only see the names of the series and the volumes, no covers) you can select volumes and chapters but as soon as you open one of them comes out 404 book not found. If you write on your browser / opds this error comes out:
image

EDIT1 Android Screen Librera:
image
image
image
image
Android Screen PocketBook:
image
image
Visualization as soon as you click on the server name (mango) in theory you should see the series library.

Environment (please complete the following information):

  • OS: Windows and Android 9.0 Lineage OS Galaxy S5
  • Browser chrome
  • Mango Version 0.7.1

**Docker

While we're here ... To update the docker with new releases, without losing the configuration and all the settings. Which method do you recommend?

@VegethB VegethB added the bug Something isn't working label Jun 29, 2020
@short-circuit
Copy link

I am having the same issue with KyBook3 and iOS. Thought in the beginning it might be a reverse proxy problem, but OPDS doesn't work on LAN either. No errors in logs either until now.

@VegethB
Copy link
Author

VegethB commented Jun 30, 2020

I have tried 3 different apps with OPDS support via network (SAMBA and http) but only Librera makes you scroll through the series. The other apps load endlessly after entering the password (e.g. PocketBook). The http version of the base site instead works wonderfully (the one without OPDS).

@hkalexling
Copy link
Member

You got the XML error on the /opds page because one of the manga names contains the ampersand character (&) and Mango didn't escape it properly. This will be fixed in the next version. Thanks for reporting!

The 404 error is a separate issue and I couldn't reproduce it. Can you access the page /opds/book/[id] in your browser?

To update the image, simply use docker-compose pull mango to download the new image and start it with docker-compose up. The user configuration and library are stored on the host system as mapped volumes so they won't be affected.

@VegethB
Copy link
Author

VegethB commented Jun 30, 2020

image
Volume1.


image
Series list:

@hkalexling
Copy link
Member

@zFerry98

  1. When loading the page, there should be an error message printed in your console. Could you copy and paste it here?
  2. Can you open the "Volume 01" folder in the non-opds site (i.e., /book/[the_same_id] without the /opds/ prefix)?

@VegethB
Copy link
Author

VegethB commented Jul 1, 2020

@zFerry98

  1. When loading the page, there should be an error message printed in your console. Could you copy and paste it here?
    - I have enabled debug output:
    image
    - This instead putting info on output:
    image

LOL You just don't recognize .zips? Strange because I also have CBZs.
image


  1. Can you open the "Volume 01" folder in the non-opds site (i.e., /book/[the_same_id] without the /opds/ prefix)?
    - Only OPDS doesn't work. The normal library works all:
    image
    image

@hkalexling
Copy link
Member

Ah, I see the problem. It looks like Alpine (the base OS of the docker image) doesn't provide a MIME types registry, and so Mango failed to get the MIME types of the archive files. I will push a new release that fixes this soon.

@hkalexling
Copy link
Member

Both issues are now fixed in v0.7.2. Thanks for reporting!

@VegethB
Copy link
Author

VegethB commented Jul 1, 2020

As I imagined, the best option is to use a machine with linux 64 (like ubuntu server or distro lite) than the docker. Which is a mess having a windows server. The problem is that I have no x64 pc but only x32 to use as mules. You say it works if you use linux bash support mode in windows? That function that adds a minimum of functions to run the terminal and the basic functions of a linux subsystem.

@hkalexling
Copy link
Member

@zFerry98 No it's not a Windows issue. The new release should work in your current setup (Docker on Windows) and the two issues you reported should be fixed now.

@VegethB
Copy link
Author

VegethB commented Jul 1, 2020

No it's not a Windows issue. The new release should work in your current setup (Docker on Windows) and the two issues you reported should be fixed now.

No, I explained myself wrong. I meant that being a software for linux rather than for windows, it is better to run it directly on a real OS than on virtual machines. Having no more than 16gb of ram, since I put dockers I am always at 80 90% used. Running the server directly or having to dedicate Core and ram to virtualize an x64 pc with OS is certainly a part of the slowness problems. For now I have closed some services that I no longer use to recover resources. Anyway, thanks for the quick and perfect support 👍

@jaredlt
Copy link
Collaborator

jaredlt commented Jul 1, 2020

@zFerry98 Just to let you know, I run Mango via WSL (Windows Subsystem for Linux) and haven't had any issues. I haven't actually measured it but it certainly seems to be less resource hungry than via Docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants