Your comments
zerpex,
I followed the bouncing ball in the qnap container station Docker setup. I selected your version of Uboo and it downloaded the image and created the container. Again, this is my first install using this qnap setup.
I don't see a way to alter much of anything, which is probably because I an not familiar with it. When it created the container, it did have a entry for 'command' prior to the install, but I have no idea what to put in there so left it blank.
It looks like it is possible to get an image manually and then have the Container Station create the docker for it, but still see no way for customization...I am learning, but slowly, LoL.
For example you say enter "docker ps". I tried that in the "command" window and it simply errors out. Is there some other way? I ssh into the nas, but "docker" is not an executable in the path.
Hopefully someone with a successful install using the qnap container station and Uboo will be able to give me some pointers...
monty
Just an FYI.
Instead of putting in ip:2202, I simply clicked on the link in the Docker control panel, ie
hxxp://192.168.x.xxx:32770/
That gives me the Ubooquity logo page, but black screen with:
Sorry, you are not authorized to access any file on this server
If I then put in hxxp://192.168.x.xxx:32770/admin,
it gives me a simple page with:
Remote server administration is not activated.
So it appears the mapping from that port to 2202/2502, etc is not working for one reason or another.
Would it help to try to activate that? If so, how?
Thanks!
found "docker.log" (qnap buries this really deep, LoL) Anyway here are the last few entries:
------------------
time="2017-05-30T11:39:01.499475681-07:00" level=error msg="Error running exec in container: rpc error: code = 2 desc = \"oci runtime error: exec failed: exec: \\\"log\\\": executable file not found in $PATH\"\n"
time="2017-05-30T11:39:01.499547525-07:00" level=error msg="Handler for POST /v1.23/exec/8d364bb0d2921a6b9b0b32408ba2466c6076d77bee50b020e968e64f9d3b6e13/start returned error: rpc error: code = 2 desc = \"oci runtime error: exec failed: exec: \\\"log\\\": executable file not found in $PATH\""
2017/05/30 11:39:01 http: response.WriteHeader on hijacked connection
2017/05/30 11:39:01 http: response.Write on hijacked connection
time="2017-05-30T11:39:02.194611397-07:00" level=error msg="Handler for POST /v1.23/exec/8d364bb0d2921a6b9b0b32408ba2466c6076d77bee50b020e968e64f9d3b6e13/resize returned error: rpc error: code = 2 desc = \"containerd: processs not found for container\""
time="2017-05-30T11:40:20.796687825-07:00" level=error msg="Handler for POST /v1.23/exec/00285edf0bbb706ddd996aa038af8a07be2e13d6bacf7f31075cf3d933ced65e/resize returned error: rpc error: code = 2 desc = \"containerd: processs not found for container\""
[/share/Web] #
"hijacked connection" does not sound good, so am going to delete the docker/image, reboot the nas, and try a fresh reinstall.
Ok, figured the errors out...no need to put in "docker", just "ps" :
ps =
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
PID USER TIME COMMAND
1 root 0:06 java -Dfile.encoding=UTF-8 -jar -Xmx512m /ubooquity/Ubooq
47 root 0:00 ps
logs or log = Same error message as before.
Here is the startup log in the console:
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: 2202, adminport: 2502, remoteadmin: true, host: null, debug: false, execdir: /config
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - #############################
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - #############################
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_111-internal
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 455 MB
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - OS name: Linux
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - OS version: 4.2.8
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - OS architecture: amd64
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.0.2 built on 2017-04-24 at 20:52
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20170530 18:19:53 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20170530 18:19:54 [main] INFO org.eclipse.jetty.util.log - Logging initialized @3888ms to org.eclipse.jetty.util.log.Slf4jLog
20170530 18:19:54 [main] INFO com.ubooquity.b - Starting internal server...
20170530 18:19:54 [main] INFO com.ubooquity.b - Reverse proxy prefix is not activated
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning books directories
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books folder content cache populated
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Scanning comics directories
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics folder content cache populated
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
20170530 18:19:54 [Scanner thread] INFO com.ubooquity.data.feeder.a - Books statistics: [total: 0, added or updated: 0, removed: 0]
20170530 18:19:54 [main] INFO org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
20170530 18:19:54 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@4082ba93{/,null,AVAILABLE,@admin}
20170530 18:19:54 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@17fc391b{/,null,AVAILABLE,@library}
20170530 18:19:54 [main] INFO o.e.jetty.server.AbstractConnector - Started library@7c639a2d{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
20170530 18:19:54 [main] INFO o.e.jetty.server.AbstractConnector - Started admin@5c80cf32{HTTP/1.1,[http/1.1]}{0.0.0.0:2502}
20170530 18:19:54 [main] INFO org.eclipse.jetty.server.Server - Started @4236ms
20170530 18:19:54 [main] INFO com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2502 (admin)
Tyep Q then ENTER to exit
20170530 18:19:55 [Timer-0] INFO com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
20170530 18:19:56 [Timer-0] INFO com.ubooquity.Ubooquity - Latest version available: 1.10.1 - Current version: 2.0.2
In the "terminal" window, I typed docker ps:
First I see a popup window: Process exited with code 126. Click ok, then
1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
rpc error: code = 2 desc = "oci runtime error: exec failed: exec: \"docker\": executable file not found in $PATH"
for docker logs same popup window error then:
rpc error: code = 2 desc = "oci runtime error: exec failed: exec: \"docker\": executable file not found in $PATH"
Same error message on ip:2502/admin, as well as the app access at ip:2202
Setup the 2.0.2 beta via Qnap Container Station/Docker. Creates container and imports the zerpex/ubooquity-docker:latest image w/o any errors. However, admittedly a noob to Docker, I simply cannot figure out how to pull up the admin console.
The command field in the docker container panel shows:
java -Dfile.encoding=UTF-8 -jar -Xmx512m /ubooquity/Ubooquity.jar -workdir /config -headless -libraryport 22
The install details:
20170530 17:06:47 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: 2202, adminport:
2, remoteadmin: true, host: null, debug: false, execdir: /config
In the browser I have tried:
ip:2203
ip:2203/admin
ip:2202
ip:2202/admin
ip:2305
ip:2305/admin
Allways get:
This site can’t be reached. 192.168.x.xxx refused to connect.
I have done an apache restart, no help there.
It's gotta be something simple, but I sure ain't seeing it yet!
Thanks,
Monty
I know it has only been a couple of years since this suggestion, but was interested if there has been any thought to incorporating the 'send to kindle" feature?
Yes, it is Kindle only, but the number of kindle ereader devices out there probably rival android/epub devices.
And is it a 'mobi/azw3' issue in any way? The sendtoemail is just picking a file and sending it, isn't it?
In any case, Ubooquity is a fantastic program, but those I share my books with are actually split kindle/android users and those kindle folks are bugging me about this!!
Monty
Customer support service by UserEcho
@Mercury,
This may not directly fit your needs, but I do use Ubooquity on a QNAP TS-251 and my connection is https to the outside world.
I set up login for a few people and use a DDNS service called pagekite.net. Cheap, even free service provides all the dns and port forwarding aspects necessary. My setup allows both http and https connections, tho I am sure Pagekite could be configured to allow only https.
Pagekite is small and in (I believe) Iceland, so their customer service is not the fastest. But their documentation is extensive, so most of the (really only a few) issues I have had were self inflicted and solved with further reading of the docs.
Anyway, just a suggestion for a reliable way to have Internet access via https. Been using them for like 6 years!
Monty