(Support) Aptalca's docker templates


Recommended Posts

  • 3 weeks later...

HI,

Few noob questions. I'm using the RDP Calibre docker

 

1. Is the calibre in this container supposed to be self updating ? My Calibre docker is on 3.1.1 while update avaialbe in 3.11.1 , clicking on update does nothing

2. I understand the Edge variable has to be turned to 1, but whenever I do so , UI just won't launch , turning to back to 0 starts it 

 

Any ideas?

Edited by pakiyabhai
Clearing for which docker
Link to comment
9 minutes ago, pakiyabhai said:

HI,

Few noob questions

 

1. Is the calibre in this container supposed to be self updating ? My Calibre docker is on 3.1.1 while update avaialbe in 3.11.1 , clicking on update does nothing

2. I understand the Edge variable has to be turned to 1, but whenever I do so , UI just won't launch , turning to back to 0 starts it 

 

Any ideas?

 

Set edge to 1, and watch the logs. Sometimes it takes a long time to download the updated calibre during which time there is no ui

Link to comment
2 hours ago, aptalca said:

 

Set edge to 1, and watch the logs. Sometimes it takes a long time to download the updated calibre during which time there is no ui

 

Thanks for the quick reply !!

The logs show that Calibre is being downloaded but I"m not able to install it. 
It's a fresh install and nothing else is on the Unraid machine. 

 

Quote

 

 

Calibre Error.png

RDP Calibre.txt

Edited by pakiyabhai
Attached complete LOG
Link to comment

HI,

In addition to the above logs , I looked at the logs and found this when running with Edge=1

 


2017-11-05 02:06:27 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [27407/27407] -> "-" [1]
Creating symlinks...
Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
Symlinking /opt/calibre/calibre to /usr/bin/calibre
Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
Setting up command-line completion...
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/calibre
Setting up desktop integration...

____________________ WARNING ____________________
Setting up desktop integration failed with error:


Traceback (most recent call last):
File "site-packages/calibre/linux.py", line 813, in setup_desktop_integration
File "site-packages/calibre/linux.py", line 798, in install_icons
File "site-packages/calibre/linux.py", line 792, in install_single_icon
File "subprocess.py", line 536, in check_call
File "subprocess.py", line 523, in call
File "subprocess.py", line 711, in __init__
File "subprocess.py", line 1343, in _execute_child
OSError: [Errno 2] No such file or directory

Creating un-installer: /usr/bin/calibre-uninstall
 

Link to comment
11 hours ago, aptalca said:

I can confirm that the latest version of calibre doesn't work in this container. Since the baseimage it's using was coded by someone else, it may not be fixed. I'll look into it but no promises

Let me know.  In the meantime, I'll throw a comment within CA to not use the Edge variable.

Link to comment

i tested the calibre rdp server and its working nice and easy.

 

may i ask if its possible to also access it from externally through apache guacamole ?

 

i use it to access jdown RDP, Windows RDP ... but on calibre RDP it just times out ... anything special todo ?

 

for an tip thanks ahead

 

solved, added 3389 container port so its all good.

Edited by alturismo
Link to comment
  • 2 weeks later...

Hi,

 

I've tried to find the answer here with no luck, is ha-bridge docker dead? 

All I get in logs is:

Latest version on bwssystems github repo is
Installing version ''
--2017-11-20 18:17:17-- https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
Setting correct permissions
2017-11-20 18:17:17 ERROR 404: Not Found.

Parameters used:
Server IP : 192.168.0.66
Server Port : 3080
Starting Home Automation Bridge
Error: Unable to access jarfile ha-bridge-.jar

 

 

I assume it's not pulling it correctly but I have very limited knowledge to whats going, any help would be much appreciated/

Thanks 

Link to comment
11 hours ago, ChapeL79 said:

Hi,

 

I've tried to find the answer here with no luck, is ha-bridge docker dead? 

All I get in logs is:

Latest version on bwssystems github repo is
Installing version ''
--2017-11-20 18:17:17-- https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
Setting correct permissions
2017-11-20 18:17:17 ERROR 404: Not Found.

Parameters used:
Server IP : 192.168.0.66
Server Port : 3080
Starting Home Automation Bridge
Error: Unable to access jarfile ha-bridge-.jar

 

 

I assume it's not pulling it correctly but I have very limited knowledge to whats going, any help would be much appreciated/

Thanks 

 

Still working here. Looks like you had a connection issue to github and the container could not figure out the latest version correctly

Link to comment
10 hours ago, aptalca said:

 

Still working here. Looks like you had a connection issue to github and the container could not figure out the latest version correctly

 

Hmm, when I try to access https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar from my phone or my computer i get Page not found. Github works just fine for me as I can access https://github.com/bwssytems/ha-bridge/releases/ . I can download https://github.com/bwssytems/ha-bridge/releases/download/v4.5.6/ha-bridge-4.5.6.jar. I can telnet into docker, is there any way I can download jar file and let docker to pick it up when I start it? 

Edited by ChapeL79
Works now!!!! Thanks.
Link to comment
1 hour ago, ChapeL79 said:

 

Hmm, when I try to access https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar from my phone or my computer i get Page not found. Github works just fine for me as I can access https://github.com/bwssytems/ha-bridge/releases/ . I can download https://github.com/bwssytems/ha-bridge/releases/download/v4.5.6/ha-bridge-4.5.6.jar. I can telnet into docker, is there any way I can download jar file and let docker to pick it up when I start it? 

 

It first tries to get the latest release's version number, and then inserts it into the url to get the link https://github.com/bwssytems/ha-bridge/releases/download/v4.5.6/ha-bridge-4.5.6.jar but in your case the first part failed and it got blank, hence the wrong url: https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar

 

You can place the jar file into the config folder, and then set the environment variable 

-e VERSION="4.5.6"

That way it will find it locally and will use it until your connection issue is resolved.

 

 

EDIT: To see what issue it's having, can you exec into the container with "docker exec -it Home-Automation-Bridge bash" and then run the following?

curl -sX GET https://api.github.com/repos/bwssytems/ha-bridge/releases/latest | grep 'tag_name' | cut -d\" -f4

It should give you "v4.5.6"

Edited by aptalca
  • Like 1
Link to comment
On 21/11/2017 at 5:27 PM, aptalca said:

 

It first tries to get the latest release's version number, and then inserts it into the url to get the link https://github.com/bwssytems/ha-bridge/releases/download/v4.5.6/ha-bridge-4.5.6.jar but in your case the first part failed and it got blank, hence the wrong url: https://github.com/bwssytems/ha-bridge/releases/download/v/ha-bridge-.jar

 

You can place the jar file into the config folder, and then set the environment variable 


-e VERSION="4.5.6"

That way it will find it locally and will use it until your connection issue is resolved.

 

 

EDIT: To see what issue it's having, can you exec into the container with "docker exec -it Home-Automation-Bridge bash" and then run the following?


curl -sX GET https://api.github.com/repos/bwssytems/ha-bridge/releases/latest | grep 'tag_name' | cut -d\" -f4

It should give you "v4.5.6"

 

It all works now, thank you for your help!

Link to comment
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.