 
        
            
            
	
		
		
		
			 Found a good Junrar fork
		
		
	
              
            
            
            Found a good Junrar fork
        
    
    
    
    
    
    
    
	https://github.com/junrar/junrar
Please consider using this fork or merging. Some of my users are unable to stream because Ubooquity can't process the CBR file with it's current junrar version. If they download the CBR to the client which uses the version posted above, it works fine. Not all files fail to load, it is just some random ones I have not found the specific issue.
Possibly related https://ubooquity.userecho.com/communities/1/topics/298-unreadable-cbr
 
        
            
            
	
		
		
		
			 cbz =/= zip
		
		
	
              
            
            
            cbz =/= zip
        
    
    
    
    
    
    
    
	I know adding .zip and .rar support has already been declined but I feel like this is the one thing preventing this software from being perfect for my use case.
Although in principle all comics should be renamed as .cbz to make them distinct from standard archives, the reality is that 99% of the digital comics you download whether they be from legitimate or illegitimate sources are packaged as .zip.
This makes automation not really an option for Ubooquity which is a shame because the user experience is so fantastic as is.
I think a lot of people just want to have a folder ONLY for their comics and are happy with all .cbz and .zip alike to be treated as comics.
If allowing .zip as a format is never going to be permitted, could some kind of script or option be implemented to scan the directory and rename every .zip to .cbz?
 
        
            
            
	
		
		
		
			 Admin Screen inaccessible on Ubuntu 18.04
		
		
	
              
            
            
            Admin Screen inaccessible on Ubuntu 18.04
        
    
    
    
    
    
    
    
	Hi, I'm running Ubooquity Server 2.1.1 on Ubuntu 18.04.
I ran into a couple of issues early on, one was that Ubooquity saves everything where it's executed from, rather than where the jar is located. What I mean by that is that if you have ubooquity.jar in /home/<username>/software/ubooquity then open a terminal and run java -jar /home/<username>/software/ubooquity it'll store all the ubooquity files in the default directory that the terminal was running from.
Normally that wouldn't be an issue, but any attempts to run Ubooquity without sudo privileges caused the application to open, but the web server wouldn't start and clicking any buttons except close caused it to crash without giving a reason as to why (even if run from terminal).
My solution to these two problems was to add "@reboot cd /home/<username>/Software/Ubooquity && /usr/bin/java -jar '/home/<username>/Software/Ubooquity/Ubooquity.jar'" to startup with crontab -e
Not an elegant solution, but a solution nonetheless.
While running Ubooquity as sudo, it successfully prints error messages and doesn't crash when clicking buttons.
Here's what appears when I click the Library button:
20180708 18:17:04 [JavaFX Application Thread] ERROR com.ubooquity.f.g - Could not open URL in browser (http://localhost:2202/)
java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
    at java.awt.Desktop.checkActionSupport(Desktop.java:225) ~[na:1.8.0_171]
    at java.awt.Desktop.browse(Desktop.java:381) ~[na:1.8.0_171]
    at com.ubooquity.f.g.a(SourceFile:71) ~[Ubooquity.jar:2.1.1]
    at com.ubooquity.guifx.c.openLibrary(SourceFile:107) [Ubooquity.jar:2.1.1]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
    at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) [na:1.8.0_171]
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
    at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) [na:1.8.0_171]
    at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1771) [jfxrt.jar:na]
    at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657) [jfxrt.jar:na]
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) [jfxrt.jar:na]
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) [jfxrt.jar:na]
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) [jfxrt.jar:na]
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) [jfxrt.jar:na]
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) [jfxrt.jar:na]
    at javafx.event.Event.fireEvent(Event.java:198) [jfxrt.jar:na]
    at javafx.scene.Node.fireEvent(Node.java:8413) [jfxrt.jar:na]
    at javafx.scene.control.Button.fire(Button.java:185) [jfxrt.jar:na]
    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182) [jfxrt.jar:na]
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96) [jfxrt.jar:na]
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89) [jfxrt.jar:na]
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) [jfxrt.jar:na]
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) [jfxrt.jar:na]
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) [jfxrt.jar:na]
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) [jfxrt.jar:na]
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) [jfxrt.jar:na]
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) [jfxrt.jar:na]
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) [jfxrt.jar:na]
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) [jfxrt.jar:na]
    at javafx.event.Event.fireEvent(Event.java:198) [jfxrt.jar:na]
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3757) [jfxrt.jar:na]
    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485) [jfxrt.jar:na]
    at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762) [jfxrt.jar:na]
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494) [jfxrt.jar:na]
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:394) [jfxrt.jar:na]
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) [jfxrt.jar:na]
    at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_171]
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$353(GlassViewEventHandler.java:432) [jfxrt.jar:na]
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) ~[jfxrt.jar:na]
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:431) [jfxrt.jar:na]
    at com.sun.glass.ui.View.handleMouseEvent(View.java:555) ~[jfxrt.jar:na]
    at com.sun.glass.ui.View.notifyMouse(View.java:937) ~[jfxrt.jar:na]
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) ~[jfxrt.jar:na]
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139) ~[jfxrt.jar:na]
    at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_171]
Unrelated, but I just noticed I can't paste that directly into the code box or nothing pastes, so I had to add it in between the code tag by editing the raw HTML. I'm running Waterfox, not sure if it's a browser specific issue or not or it's due to how much text I was pasting. I also can't click past it and press enter without editing the html directly if the code box is the last thing typed.
Anyway, as you can see, the method for opening the library isn't Ubuntu (or linux?) compatible. Instead of continuing on, you need to run as sudo or this causes it to crash.
Of course, opening localhost:2202 directly works without any issues if you're running Ubooquity as sudo, not as a regular user though but that might be due to me not assigning it a port to use as a regular user or something like that, although automating that process for linux users would be awesome ;)
The main issue though, is that the admin page doesn't open. I've tried opening it with localhost:2203, <myip>:2203 and everything else I can think of, but I get the following:
HTTP ERROR 500
Problem accessing /. Reason:
    Could not find matching provider (wrong URL)
Powered by Jetty:// 9.4.0v20161208 
As you can probably tell, all of the other issues, while annoying can be worked around, but I can't work around the admin page not displaying.
Thank you for such a fantastic program, I've used it on Windows for many months and while the interface would sometimes freeze and the tray icon would turn partially transparent, the program itself always ran flawlessly and would serve up my ebooks without any problems, and even now continues to do so. I had to copy and edit my Windows configuration to get it working in Ubuntu since I can't access the admin page, and it's currently working, but access to the admin page is obviously vital.
 
        
            
            
	
		
		
		
			 Suggestion: Custom zoom
		
		
	
              
            
            
            Suggestion: Custom zoom
        
    
    
    
    
    
    
    
	I find that sometimes, depending on how the text is on the original comic/book, fit to width makes it too large, and fit to height too small. I usually just set it to width and play with the browser window size on desktop, but I don't have a good solution for tablet. It would be nice if one could have a "Custom" zoom option and (+) and (-) buttons, so one will set the zoom more precisely. Thank you!
 
        
            
            
	
		
		
		
			 Difficulties with the Synology instructions
		
		
	
              
            
            
            Difficulties with the Synology instructions
        
    
    
    
    
    
    
    
	Trying to configure this on my Synology NAS and having issues. Following the steps from this site https://vaemendis.github.io/ubooquity-doc/pages/tutorials/install-on-synology.html I am getting to the point of this step:
The Ubooquity service is now installed. It will start on boot and you can start or stop it at anytime using start ubooquity or stop ubooquity. You can also see the status of the ubooquity processs unsing <em>status ubooquity</em>
I am not able to start up the service but I am using the Java8 that comes from Synology, so on the following steps, I am not having any success with these:
NOTE if Java8 is used
If you used Synology Java8 package instead of Java Manager then the service script will have the wrong path to the java binary. Edit the /etc/init/ubooquity.conf and change path to java binary from:
<em>exec /var/packages/JavaManager/target/Java/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"</em>
to
<em>exec /var/packages/Java8/target/j2sdk-image/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"</em>
I am not sure how to edit this file, I will admit linux is not my forte at all so I am just kind of winging this at the moment, I used the command (per a friend's help)
sudo vi ubooquity.conf
which looking at this document I don't have any of this information:
exec /var/packages/JavaManager/target/Java/bin/java -jar -Xmx1024m /var/packages/Ubooquity/Ubooquity.jar -port 2202 -webadmin -workdir "/volume1/Comics/Ubooquity"
to correct the document.
Everything below script on this conf file is the following:
setuid Ubooquity
script
 # installation settings
 JAVA_DIR=/var/packages/Java8/target/j2sdk-image/bin
 WORK_DIR=/volume1/homes/Ubooquity/.Ubooquity2
 PCKG_DIR=/var/packages/Ubooquity
 PCKG_BIN=Ubooquity.jar
 # app settings
 PORT=2202
 ADMINPORT=2203
 MEM=512m
 # This ensures that ubooquity reads special characters properly
 ENCO=UTF-8
 LANG=fr_FR.$ENCO
 export LANG
 # Main command for ubooquity
 exec "$JAVA_DIR/java" -Dfile.encoding=$ENCO -Xmx$MEM -jar $PCKG_DIR/$PCKG_BIN --libraryport $PORT --workdir "$WORK_DIR"  --adminport $ADMINPORT --remoteadmin --headless
end script
So at this point I am not sure what I need to change to get this to work. Using WinSCP I have all the directories listed in the installation settings, except the WORK_DIR I don't have that directory, but I did create a /volume1/Comics directory for my items. if someone is able to assist me since I am lost on what I need to do to fix this issue. Thank you.
 
        
            
            
	
		
		
		
			 Newbie guide?
		
		
	
              
            
            
            Newbie guide?
        
    
    
    
    
    
    
    
	Hi, i´m absolutely new here. First at all, i'm sorry for my poor english (i'm from Argentina). I downloaded Ubooquity on my Windows PC, with the goal of read my comics and ebooks in my android tablet. So I downloaded Kuboo, the android client for Ubooquity. From the admin screen i hav comics and ebooks folders added OK, but I cant connect from the android client. My PC is connected to the router with an UTP wire, LAN mode. My tablet connects it to Wlan, or WIFI. How I setup the server? Any help? I dont have so much idea of networks and this stuff.. Sory, again, for my english.. And thanks!!! :)
 
        
            
            
	
		
		
		
			 Ubooquity as Windows Service via NSSM
		
		
	
              
            
            
            Ubooquity as Windows Service via NSSM
        
    
    
    
    
    
    
    
	I am trying to get ubooquity to work with NSSM on Windows 10, but I've had no luck. It works perfectly using the jar file, and I have created a shortcut to that in my startup folder. Unfortunately, it does not launch at boot, only when I log in, so I would still like to see how to get it to work as a Windows Service
 
        
            
            
	
		
		
		
			 iPhone reader
		
		
	
              
            
            
            iPhone reader
        
    
    
    
    
    
    
    
	Hi,
It's been a while since someone asked this question. What are the best options to read your comics from Ubooquity on an iPhone (not an iPad)?
I want to be able to read on the go and have the read status synced with Ubooquity. I would love it if I would have the option to download some comics locally so I can read them offline as well.
Thanks in advance!
Bart
 
        
            
            
	
		
		
		
			 Hangup on Admin Page
		
		
	
              
            
            
            Hangup on Admin Page
        
    
    
    
    
    
    
    
	I recently installed the LinuxServer Docker for Ubooquity. I am new to Docker and this NAS so I am unsure as to how to find the logs, but I am getting a hang up on the Admin page. It's my understanding that a password needs to be generated first, and when I go to http://192.168.0.12:2203/ubooquity/admin/ and enter a password, the blue loading circle comes up and then never goes away. 

 
        
            
            
	
		
		
		
			 Publisher folders and an "all" folder.
		
		
	
              
            
            
            Publisher folders and an "all" folder.
        
    
    
    
    
    
    
    
	Is there a way to have folders for each publisher and one to display all comics in one window without putting your collection in folders and then duplicating them for the single folder?
 
For Example:
All Marvel DC Image etc...
Customer support service by UserEcho
 
		
		
	
 
          