[Ubooquity ] [ 2.1.2 ] Home server for comics and ebooks

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.8.2 ] Home server for comics and ebooks

Post by mrs4t4n »

Very happy with this app!
Congratulations to the authors and the qpkg makers!

P.S. i also have -1hour with my base time...
goodelyfe
Know my way around
Posts: 122
Joined: Tue Jul 01, 2014 5:50 pm

Re: [Ubooquity ] [ 1.7.6 ] Home server for comics and ebooks

Post by goodelyfe »

sidi86 wrote:
QNAP_Stephane wrote:working here...

try to clean your browser cache

when i click on the App after its installed. it opens and all i see is

"Sorry, you are not authorized to access any file on this server"

Installed from the links above..

Just tried to install and im getting this error as well.....any ideas?
User avatar
sidi86
Getting the hang of things
Posts: 98
Joined: Mon Jul 13, 2015 8:26 pm
Location: UK

Re: [Ubooquity ] [ 1.7.6 ] Home server for comics and ebooks

Post by sidi86 »

goodelyfe wrote:
sidi86 wrote:
QNAP_Stephane wrote:working here...

try to clean your browser cache

when i click on the App after its installed. it opens and all i see is

"Sorry, you are not authorized to access any file on this server"

Installed from the links above..

Just tried to install and im getting this error as well.....any ideas?

dont forget that after you've installed the qpkg.


you have to go

http://<serverip>:<port for Ubooquity>/admin

to set up preferences
TS-253+ Pro [4.2.1]
- 2x4tb WD Reds
- 16gb DDR

Just looking for the ultimate setup. Automated, Self Sufficient... SkyNet Beta.
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.8.2 ] Home server for comics and ebooks

Post by mrs4t4n »

Ok. i note that my 'non US character' comics aren't showed by ubooquity...
I try to find a solution in the official forum:
http://ubooquity.userecho.com/topic/907 ... -mark-bug/

It seems that the problem is that JAVA needs to run with a UTF-8 parameter, but i don't know where to put that...

This is the ubooquity.sh file:

Code: Select all

#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="UbooQuity"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`

QPKG_NAME1="QJDK7"
QPKG_ROOT1=`/sbin/getcfg $QPKG_NAME1 Install_Path -f ${CONF}`


export JAVA_HOME=$QPKG_ROOT1
export JAVA=$JAVA_HOME/bin/java
export PKILL=$QPKG_ROOT/pkill

case "$1" in
  start)
    ENABLED=$(/sbin/getcfg $QPKG_NAME Enable -u -d FALSE -f $CONF)
    if [ "$ENABLED" != "TRUE" ]; then
        echo "$QPKG_NAME is disabled."
        exit 1
    fi

    cd $QPKG_ROOT
    $JAVA -jar Ubooquity.jar -webadmin -headless &


    ;;

  stop)
    : ADD STOP ACTIONS HERE

    $PKILL -f "$JAVA -jar Ubooquity.jar -webadmin -headless"

    ;;

  restart)
    $0 stop
    $0 start
    ;;

  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac

exit 0

And this is the sugested command line:

Code: Select all

java -Dfile.encoding=UTF-8 -jar Ubooquity.jar -webadmin
Help! :)
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.8.2 ] Home server for comics and ebooks

Post by mrs4t4n »

Ok, i found a solution!!
So for QNAP users, you have to edit the UbooQuity.sh file and add this two lines:

LANG=en_US.UTF8
export LANG


And modify the command line adding:
-Dfile.encoding=UTF8​

​The trick was that - for some reason - the UTF-8 is not accepted, and you have to use UTF8 instead...
My file remains like this:

Code: Select all

#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="UbooQuity"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
QPKG_NAME1="QJDK7"
QPKG_ROOT1=`/sbin/getcfg $QPKG_NAME1 Install_Path -f ${CONF}`
export JAVA_HOME=$QPKG_ROOT1
export JAVA=$JAVA_HOME/bin/java
export PKILL=$QPKG_ROOT/pkill
LANG=en_US.UTF8
export LANG
case "$1" in
  start)
    ENABLED=$(/sbin/getcfg $QPKG_NAME Enable -u -d FALSE -f $CONF)
    if [ "$ENABLED" != "TRUE" ]; then
        echo "$QPKG_NAME is disabled."
        exit 1
    fi
    cd $QPKG_ROOT
    $JAVA -Dfile.encoding=UTF8 -jar Ubooquity.jar -webadmin -headless &
    ;;
  stop)
    : ADD STOP ACTIONS HERE
    $PKILL -f "$JAVA -jar Ubooquity.jar -webadmin -headless"
    ;;
  restart)
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac
exit 0
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.8.2 ] Home server for comics and ebooks

Post by mrs4t4n »

Version 1.9 is out...
:'
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by QNAP_Stephane »

updated + fix applied
moved to QJDK8
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by mrs4t4n »

Thanks!!!!
User avatar
petur
Moderator
Posts: 4606
Joined: Sun Mar 30, 2008 5:42 pm
Location: Gent, Belgium
Contact:

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by petur »

IMHO it would be better if apps would stop using custom ports (and even custom servers)

QNAP could force a QPKG to use a reverse proxy of apache, it is very easy to do.
Praat je liever over QNAP in het Nederlands?
Liever een community bij jou in de buurt?

Kom naar QNAPclub België/Nederland
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by QNAP_Stephane »

petur wrote:IMHO it would be better if apps would stop using custom ports (and even custom servers)

QNAP could force a QPKG to use a reverse proxy of apache, it is very easy to do.
some users prefer using customs port instead to use the apache proxy for access restriction to the apps over WAN

i cannot satisfy everybody...
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
JSEHE
Starting out
Posts: 15
Joined: Thu Jan 15, 2015 5:28 pm

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by JSEHE »

Hi

I've just setup Ubooquity 1.9 and and QJDK8 on my TS453, everything is running fine (almost), it scans my ebooks fine.

My problem is that i can access them on LAN but not on WAN, i have forwarded the port on the router, but i still get an ERR_CONNECTION_REFUSED. Does anyone have an idea what that could be caused by?
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by QNAP_Stephane »

check if the port is well open with : http://www.yougetsignal.com/tools/open-ports/
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
JSEHE
Starting out
Posts: 15
Joined: Thu Jan 15, 2015 5:28 pm

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by JSEHE »

Thanks Stephane, i had an extra digit in my lan adress. My apologies ;)
spike3
New here
Posts: 3
Joined: Sun Feb 21, 2016 7:00 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by spike3 »

I'm having an issue with seeing my content with "Protect shared content with user accounts" on. I can see content with it off, but as soon as I turn it on and have user name/authorized users set up respectively it's gone. I've tried multiple users and user names, but each are blank when I login.

I have a TS453, Ubooquity 1.9

My shared directory is "/share/Multimedia/Comics". I have a feeling it's related to this...
mrs4t4n
Know my way around
Posts: 100
Joined: Tue Nov 11, 2014 5:53 am

Re: [Ubooquity ] [ 1.9.0 ] Home server for comics and ebooks

Post by mrs4t4n »

i have my comics into the same path and everything works prefectly with users accounts...
Check the ubooquity configuration...
My preference.xml file show this:
<comicsPaths>
<path>
<pathString>/share/CACHEDEV1_DATA/Multimedia/Comics/Autores</pathString>
<authorizedUsers>
<userName>jes</userName>
</authorizedUsers>
</path>
<path>
<pathString>/share/CACHEDEV1_DATA/Multimedia/Comics/Mangas</pathString>
<authorizedUsers>
<userName>jes</userName>
</authorizedUsers>
</path>
<path>
<pathString>/share/CACHEDEV1_DATA/Multimedia/Comics/Series</pathString>
<authorizedUsers>
<userName>jes</userName>
</authorizedUsers>
</path>
<path>
<pathString>/share/CACHEDEV1_DATA/Multimedia/Comics/Infantiles</pathString>
<authorizedUsers>
<userName>jes</userName>
</authorizedUsers>
</path>
</comicsPaths>
Post Reply

Return to “Community Apps”