0
Answered

Reporting a security issue with Ubooquity

Nemo 7 years ago updated by Tom 7 years ago 1

Hi,


What is the right procedure to disclose a security issue with Ubooquity? (This is mostly regarding the authentication procedure, if it helps)

0

NGINX reverse proxy to subdomain

Rourke 7 years ago updated by Gta-Cool 7 years ago 1

I'm running NGINX to handle all the subdomains for my server's web applications. But for Ubooquity I run into some problems. The below block of code is what I use for most applications.


server {
    listen      443 ssl;
    server_name ubooquity.domain.com;
    
    # SSL
    include     /config/nginx/ssl.conf;
    
    location / {
        proxy_pass http://ubooquity:2202/;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        # HTTP 1.1 support
        proxy_http_version 1.1;
        proxy_set_header Connection "";
    }
    
    location /admin {
        proxy_pass http://ubooquity:2203/admin/;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        # HTTP 1.1 support
        proxy_http_version 1.1;
        proxy_set_header Connection "";
    }
    
    location /admin-res {
        proxy_pass http://ubooquity:2203/admin-res/;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        # HTTP 1.1 support
        proxy_http_version 1.1;
        proxy_set_header Connection "";
    }
}
server {
 listen 80;
 server_name ubooquity.domain.com;
 return 301 https://$host$request_uri;
}

To make this run I had to empty the reverse proxy prefix setting. I'm using docker containers for everything. ubooquity.domain.com works great. However ubooquity.domain.com/admin doesn't. It does load the login screen, but without the styling. I noticed it's trying to load the CSS from ubooquity.domain.com/admin-res/admin.css so that's why I added the /admin-res block. This still doesn't work.


I really want to run this through a subdomain. Does anyone have experience with this? How can I fix this?

0

I lost my Java console for Ubooquity

DeanL 7 years ago updated 7 years ago 2

I've got Ubooquity working locally with no issues. I can access the server and admin without issue. However I lost the ability to access the Java Console. Guessing that playing with Themes somehow turned it off or I clicked the wrong item on the Console screen.

Any ideas on getting it back?

0
Not a bug

Updated Java, now can't launch

Seth 7 years ago updated by Tom 7 years ago 3

So I looked through and couldn't find this issue popping up, so figured I would just post.

I updated my Java to the latest version this past week, and just realized that now when I try to launch my server it doesn't seem to want to work correctly.

I get the window that normally pops up with Ubooquity Server - Version 2.1.1 on the top, but the entire rest of the window is just blank white with no options within. And when I click the close X, even that exit confirmation popup is completely empty.


Any Ideas?

0

Ubooquity with letsencrypt docker

sinister718 7 years ago updated by zerpex 7 years ago 2

Hello all I know this might not be the place to post this question but i have a slim hope someone here might be able to help me out i am using ubooquity on my unraid server the latest version i would like to setup a reverse proxy using the letsencrypt docker in unraid again im aware that this isnt the unraid forums i just imagine i cant be the only fan of this docker that would want to reverse proxy this application by these means any help would be eternally appreciated

0

OPDS Error 500

MegaCookie 8 years ago updated by Brain Node 7 years ago 2

When I enable ubooquity opds and access the OPDS page I get an Error 500. This is on a Linux server with Oracle Java and I get the same result with openJDK. I also use a Nginx reverse-proxy with the following prefix: 'ubooquity'. Accessing the normal Ubooquity interface works fine.


Edit: I also tried: /ubooquity/opds-comics/ with a slash at the end, but that didn't solve the problem.


In the logs I see:

20180427 14:47:10 [qtp1420232606-93] ERROR com.ubooquity.d.b - Request processing failed for URI: /ubooquity/opds-comics (method:GET)
java.lang.IllegalArgumentException: Illegal base64 character 2f
at java.util.Base64$Decoder.decode0(Base64.java:714) ~[na:1.8.0_162]
at java.util.Base64$Decoder.decode(Base64.java:526) ~[na:1.8.0_162]
at com.ubooquity.f.k.a(SourceFile:17) ~[Ubooquity.jar:2.1.1]
at com.ubooquity.d.c.a(SourceFile:153) ~[Ubooquity.jar:2.1.1]
at com.ubooquity.d.c.a(SourceFile:107) ~[Ubooquity.jar:2.1.1]
at com.ubooquity.d.b.handle(SourceFile:54) ~[Ubooquity.jar:2.1.1]


And this is the HTML response:

HTTP ERROR 500

Problem accessing /ubooquity/opds-comics. Reason:

    Internal server error: Illegal base64 character 2f
0

Is it possible, or minor feature request: Increase number of books under "latest comics"

Warborg 8 years ago updated by CuberTuber780 (Lukas) 7 years ago 1

I have a pretty extensive collection and add a lot weekly, so sometimes the "Latest Comics" section can't keep up with the influx+my limited reading time.  Is it possible to increase the number of entries under "Latest Comics", maybe addition of multiple pages and a user definable period of what is "latest"?

0

Can i Change a Main Folder

Sandro 8 years ago 0

Hello ,


can i change a mainfolder in somehow ini file or something? Backround,

i want have a Folder Change in the path:

z:\Files\Reader\Ebooks

for example to

z:\Reader\Ebooks


Is it possible to change the path without a full . I tried to change it in the preferences.json , but it doesnt have no effect.

0

Custom folder with folder.jpg

John Dunn 8 years ago updated by Marco Kalnenek 7 years ago 3

I am not sure if I am doing anything wrong or if this is even how it works as I saw a few topics on it. But I want a folder on my comic share to have a custom folder art. I made one and put it inside the folder and called it folder.jpg but it still shows the artwork from the first alphabetical


Image 388

comic 

0

After download a comic it can not be read

javi 8 years ago 0

Tested on android