Jump to content

aptalca

Community Developer
  • Posts

    3,064
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by aptalca

  1. Trying out the Nginx-letsencrypt Docker. I am struggling with the web site configuration file.

     

    Can anyone please post a sample file, that includes both port 80 stuff along with reverse proxy for all the usual applications (Sab, Couch, Sonarr, etc). This would be extremely helpful.

     

    I also have a personal web site that does some RSS scraping for me. This scraping happens automatically executing a php file via cron. Is there a way to add my own line to the crontab that will survive restarts and re-installs? There already is the cron line that looks to renew the letsencrypt certificates.

     

    Many thanks,

     

    H.

     

    sample config: http://lime-technology.com/forum/index.php?topic=43696.msg437353#msg437353

     

    You can append the crontab by exec'ing into the container. It will survive restarts but not re-installs.

  2. RDP-Calibre Update:

     

    Due to popular demand, I am adding a couple of new features, both of which are only for advanced docker users. Regular users need not worry about them, when they update, nothing will change for them. Below are the steps to enable these features:

     

    Custom Library Location:

    1) First add a new mount point for the library location. Example: /path/to/library (host), /library (container)

    2) Open the advanced view and add a new environment variable. Example: Name= LIBRARYINTERNALPATH Value= /library

    3) When you fire up calibre the first time select your library location. Example: /library (If updating, change the location in settings)

     

    Url Prefix for reverse proxy

    1) Open the advanced view and add a new environment variable. Example: Name= URLPREFIX Value= /calibre

    2) To access the webserver, go to http://SERVERIP:YYYY/calibre

     

    I'm running into an issue with the custom library location on unraid 6.2 / latest RDP-Calibre. When trying to select the new library location (as per point 3) the "Next"  is disabled (this only happens with the custom mount, if I select the /config I can proceed as normal.).

    If, on the other hand, I try to do this  after the initial setup (by changing the library location) I get the Read-only filesystem errors regardless of the actual folder permissions.

    Does anybody have ay insight into this?

     

    Thanks

    You need to change it in the calibre gui, not the unraid gui. After you start the container the first time, open its webgui and it will ask you where to store the library

     

  3. I installed Calibre, and I've been slowly adding my eBooks, PDFs, etc., and, in general, it's been going just fine. It's a bit sluggish, but I do other things while waiting for it to respond.

     

    One thing that has me a bit frustrated, though, is that I don't seem to be able to copy/pasta from my Win10 machine into the Calibre browser window. A variety of books I've got are not being found by Calibre's search engine, so I'm Googling for them and finding the ISBN. I have to copy from the search location, paste it into Notepad++ (on another monitor), then hand type it into Calibre's ISBN entry box. The same thing with authors, comments, etc.

     

    What do I need to do in order to get the Win10 clipboard copied into the docker's clipboard so I can paste text? When I right click on a Calibre field, I get a 'Paste' option, but nothing gets pasted.

    Ctrl+alt+shift opens the side menu that lets you access the clipboard

  4. First - is this the proper place to post this question?  If not where?

     

    I am using Dolphin and have found that the transfer window goes away on large transfers.  Possibly when i choose "Write Into" and apply to all.  On small transfers i have a window that shows progress.  Is there a way to see progress on all file moves?  After looking at it further, it appears that it happens right when i choose apply to all.

     

    Is it running in background?  I know that the copy/move is happening, i just don't have any progress updates - is there a way to bring it back to foreground or just wait a long time until you think its done and then check?

     

    Thanks In Advance.

    This is the proper place.

     

    That container uses a guacamole base to display the app in the browser window. It is set up to display one app/window in the foreground. It's fine when the dialog windows pop up in front, but once they go to the background, I don't know if you can bring them back to be honest.

     

    I'll take a look and see, but perhaps someone else has figured out a way?

     

    By the way some of my other containers like calibre and jdownloader use the same base.

  5. I have a strange issue with the RDP-Calibre docker. It works fine on my Laptop, both Chrome and FF. And it works fine in FF on my Win10 VM. However, Chrome on my Win10 VM doesn't appear to connect to the RDP, it just loads some kind of broken web interface to Calibre which is completely unusable.

    Try a force refresh or clearing the browser cache

  6. On both of my boxes, utempter shows an update, but when I click on apply, I get "utempter-1.1.6-x86_64-2.txz package missing!"

     

    I see that my flash drive has the following utempter package in the 6.2 packages folder: utempter-1.1.6-x86_64-1.txz

     

    Thanks

    Thanks I'll figure it out. Until then if you turn delete on then deselect screen and utempter and click Apply it will delete them. Then just reselect and apply.

     

    Or just delete the utempter package from the flash drive the deselect/select then apply.

    I turned delete and uninstall on, deselected, hit apply and then reinstalled. It has the latest version installed now on both boxes

     

    Thanks

     

  7. Just had the same issue as dheg, Calibre 2.67 update breaks the VNC connection somehow (though I also have a custom library set up).

    Trying EDGE=0.

     

    Update 1: Worked just like dheg's. Probably a critical fault with the 2.67 release itself, vice the VNC setup, now that I think about it.

    Yup,  broke here too. Didn't get a chance to figure out the cause yet. You can change edge to 0 in the meantime

  8. Im having trouble getting the LetsEncrypt docker to install.  It goes to the install status screen but never finishes.  It just sites there.  I thought maybe i was just being impatient so i left it over night and it was at the same screen the next morning.  I dont see anything in the unraid logs.  What am i doing wrong?  Im on 6.2 rc5

     

    Thanks!

    What's the install status screen? Can you provide a screenshot or a log? And a screenshot of your settings?

     

    Unraid log won't tell you anything. You need the container's log

  9. That's only a partial log that doesn't tell much, but try this. Open the container settings, make a change, revert it (like add a space and then delete it) and then hit save. It will recreate the container with the same settings and data.

     

    I recreated the container and still get a blank screen.

    Attached are the logs.

     

    After further testing I found what's happening.

    I had the Environment Variable 'EDGE' set to 1. The latest calibre release 2.67 is broken something in the app.

    Set EDGE back to 0, version 2.33, and it works again.

    I'll look into it over the weekend

  10. I don't quite understand what your issue is (not using plexrequests myself) and it seems like a settings issue with plexrequests. Based on your log and description, the container seems to run fine and the web gui comes up.

     

    You might want to ask in the plexrequests thread on the plex forum

     

    Okay... Thanks!

     

    I looked at the plexrequests settings and I see where you went wrong. The wording is unclear so it is easy to misinterpret.

     

    In the settings where it says "Couch Potato sub-directory" they don't mean where cp files are located. What they mean is the url prefix. Some people set a url prefix so that instead of accessing the cp interface at 192.168.X.X , they access it at 192.168.X.X/cp in that case the "sub-directory" (url prefix) would be "/cp" (that is used for reverse proxy). If you access cp at just the ip address and port, then leave that field blank. No need to map cp locations

  11. If this server is no longer running, remove /tmp/.X1-lock

    How can I remove this lock?

    Either delete it (rm /tmp/.X1-lock), or reboot.  Anything in /tmp is in RAM, so gone on reboot.

    I already tried to restart the docker, didn't work, will try again.

     

    Sent from my SM-G901F using Tapatalk

    He meant reboot the computer, not restart the docker. Anything in /tmp will be wiped out on reboot since that folder is in RAM.

     

    Or delete it from the command line with the command he gave.

     

    I rebooted the server and that made the trick, I'm having a new issue though.

    After login through xrdp, I got into a black screen.

    Attached is the log after trying a connection.

    That's only a partial log that doesn't tell much, but try this. Open the container settings, make a change, revert it (like add a space and then delete it) and then hit save. It will recreate the container with the same settings and data.

  12. So I don't use a lot of dockers, but I got it installed and running. I pointed it to the address for my Sonarr and CP, added my api, and everything said "Success!" when I tested. Then I went to add the directories and realized I had to set up the mapping so I set that up in the dockers's settings. After I did that and everything was running again, I added the directories in my settings and hit the test button and I got "Error". If I remove the directories and test, it still says it is successful. Add them back, and I get an error. Can anyone suggest what I might be doing wrong? Thanks!

     

    COMMANDS:

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker rm -f PlexRequests
    PlexRequests
    
    The command finished successfully!

     

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="PlexRequests" --net="bridge" -e BRANCH="master" -e TZ="America/Chicago" -p 3000:3000/tcp -v "/mnt/cache/apps/plexrequests/config":"/config":rw -v "/mnt/cache/apps/couchpotato/":"/couch":rw -v "/mnt/cache/apps/Sonarr/":"/sonarr":rw -v "/mnt/user/TV/":"/tv":rw aptalca/docker-plexrequests
    0a0517dd9085eabd9d1cd9af6250d43f10f1075ac2f33700a6fd15226c922413
    
    The command finished successfully!

     

    LOGS:

    <-------------------------------------->
    
    <-------------------------------------->
    Starting container on Thu Sep 1 10:20:19 CDT 2016
    Updating repository
    HEAD is now at 984e05c Add logging for updating download status
    Already up-to-date.
    Selecting the desired branch
    Using the master branch
    Your branch is up-to-date with 'origin/master'.
    Fixing permissions
    Updating meteor. . . may take a while if meteor servers are being slow. The web gui will not go up until update is completed and there will be another message about PlexRquests starting
    <-------------------------------------->
    
    <-------------------------------------->
    Starting container on Thu Sep 1 10:20:19 CDT 2016
    Updating repository
    HEAD is now at 984e05c Add logging for updating download status
    Already up-to-date.
    Selecting the desired branch
    Using the master branch
    Your branch is up-to-date with 'origin/master'.
    Fixing permissions
    Updating meteor. . . may take a while if meteor servers are being slow. The web gui will not go up until update is completed and there will be another message about PlexRquests starting
    
    Changes to your project's package version selections from updating the release:
    
    accounts-base upgraded from 1.2.2 to 1.2.10
    accounts-password upgraded from 1.1.4 to 1.3.0
    allow-deny added, version 1.0.5
    autoupdate upgraded from 1.2.4 to 1.2.8
    babel-compiler* upgraded from 5.8.24_1 to 6.9.1
    babel-runtime upgraded from 0.1.4 to 0.1.11
    base64 upgraded from 1.0.4 to 1.0.9
    binary-heap upgraded from 1.0.4 to 1.0.9
    blaze upgraded from 2.1.3 to 2.1.8
    blaze-html-templates upgraded from 1.0.1 to 1.0.4
    blaze-tools upgraded from 1.0.4 to 1.0.9
    boilerplate-generator upgraded from 1.0.4 to 1.0.9
    caching-compiler upgraded from 1.0.0 to 1.0.4
    caching-html-compiler upgraded from 1.0.2 to 1.0.6
    callback-hook upgraded from 1.0.4 to 1.0.9
    check upgraded from 1.1.0 to 1.2.3
    ddp upgraded from 1.2.2 to 1.2.5
    ddp-client upgraded from 1.2.1 to 1.2.5
    ddp-common upgraded from 1.2.2 to 1.2.5
    ddp-rate-limiter upgraded from 1.0.0 to 1.0.5
    ddp-server upgraded from 1.2.2 to 1.2.6
    deps upgraded from 1.0.9 to 1.0.12
    diff-sequence upgraded from 1.0.1 to 1.0.6
    ecmascript upgraded from 0.1.6 to 0.5.8
    ecmascript-runtime upgraded from 0.2.6 to 0.3.14
    ejson upgraded from 1.0.7 to 1.0.12
    email upgraded from 1.0.8 to 1.1.16
    fastclick upgraded from 1.0.7 to 1.0.11
    geojson-utils upgraded from 1.0.4 to 1.0.9
    hot-code-push upgraded from 1.0.0 to 1.0.4
    html-tools upgraded from 1.0.5 to 1.0.10
    htmljs upgraded from 1.0.5 to 1.0.10
    http upgraded from 1.1.1 to 1.2.9
    id-map upgraded from 1.0.4 to 1.0.8
    jquery upgraded from 1.11.4 to 1.11.9
    launch-screen upgraded from 1.0.4 to 1.0.11
    livedata upgraded from 1.0.15 to 1.0.18
    localstorage upgraded from 1.0.5 to 1.0.11
    logging upgraded from 1.0.8 to 1.1.15
    meteor upgraded from 1.1.10 to 1.2.17
    meteor-base upgraded from 1.0.1 to 1.0.4
    minifier-css added, version 1.1.13
    minifier-js added, version 1.1.13
    minifiers removed from your project
    minimongo upgraded from 1.0.10 to 1.0.17
    mobile-experience upgraded from 1.0.1 to 1.0.4
    mobile-status-bar upgraded from 1.0.6 to 1.0.12
    modules added, version 0.7.6
    modules-runtime added, version 0.7.6
    mongo upgraded from 1.1.3 to 1.1.12
    mongo-id upgraded from 1.0.1 to 1.0.5
    npm-bcrypt upgraded from 0.7.8_2 to 0.9.0
    npm-mongo upgraded from 1.4.39_1 to 1.5.48
    observe-sequence upgraded from 1.0.7 to 1.0.12
    ordered-dict upgraded from 1.0.4 to 1.0.8
    promise upgraded from 0.5.1 to 0.8.4
    random upgraded from 1.0.5 to 1.0.10
    rate-limit upgraded from 1.0.0 to 1.0.5
    reactive-dict upgraded from 1.1.3 to 1.1.8
    reactive-var upgraded from 1.0.6 to 1.0.10
    reload upgraded from 1.1.4 to 1.1.10
    retry upgraded from 1.0.4 to 1.0.7
    routepolicy upgraded from 1.0.6 to 1.0.11
    service-configuration upgraded from 1.0.5 to 1.0.10
    session upgraded from 1.1.1 to 1.1.6
    sha upgraded from 1.0.4 to 1.0.8
    spacebars upgraded from 1.0.7 to 1.0.12
    spacebars-compiler upgraded from 1.0.7 to 1.0.12
    srp upgraded from 1.0.4 to 1.0.9
    standard-minifier-css added, version 1.0.8
    standard-minifier-js added, version 1.0.8
    standard-minifiers upgraded from 1.0.2 to 1.0.6
    templating upgraded from 1.1.5 to 1.1.9
    templating-tools upgraded from 1.0.0 to 1.0.4
    tracker upgraded from 1.0.9 to 1.1.0
    ui upgraded from 1.0.8 to 1.0.11
    underscore upgraded from 1.0.4 to 1.0.9
    url upgraded from 1.0.5 to 1.0.10
    webapp upgraded from 1.2.3 to 1.3.11
    webapp-hashing upgraded from 1.0.5 to 1.0.9
    
    
    * These packages have been updated to new versions that are not backwards
    compatible.
    plexrequests-meteor: updated to Meteor 1.4.1.1.
    
    Changes to your project's package version selections from updating package
    versions:
    
    accounts-base upgraded from 1.2.10 to 1.2.11
    alanning:roles upgraded from 1.2.14 to 1.2.15
    aldeed:autoform upgraded from 5.7.1 to 5.8.1
    aldeed:collection2 upgraded from 2.5.0 to 2.10.0
    aldeed:collection2-core added, version 1.2.0
    aldeed:schema-deny added, version 1.1.0
    aldeed:schema-index added, version 1.1.0
    aldeed:simple-schema upgraded from 1.3.3 to 1.5.3
    aslagle:reactive-table upgraded from 0.8.18 to 0.8.34
    autoupdate upgraded from 1.2.8 to 1.2.11
    caching-compiler upgraded from 1.0.4 to 1.1.7
    coffeescript upgraded from 1.0.11 to 1.0.17
    ddp-client upgraded from 1.2.5 to 1.2.9
    ddp-common upgraded from 1.2.5 to 1.2.6
    ddp-server upgraded from 1.2.6 to 1.2.10
    email upgraded from 1.1.16 to 1.1.17
    fastclick upgraded from 1.0.11 to 1.0.12
    fortawesome:fontawesome upgraded from 4.4.0 to 4.5.0
    fourseven:scss upgraded from 3.4.1 to 3.9.0
    iron:router upgraded from 1.0.12 to 1.0.13
    launch-screen upgraded from 1.0.11 to 1.0.12
    less upgraded from 2.5.1 to 2.5.7
    mdg:validation-error added, version 0.2.0
    minifier-css upgraded from 1.1.13 to 1.2.14
    minifier-js upgraded from 1.1.13 to 1.2.14
    momentjs:moment upgraded from 2.10.6 to 2.14.4
    npm-bcrypt upgraded from 0.9.0 to 0.9.1
    npm-mongo upgraded from 1.5.48 to 1.5.49
    percolate:synced-cron upgraded from 1.3.0 to 1.3.2
    raix:eventemitter added, version 0.1.3
    retry upgraded from 1.0.7 to 1.0.8
    shell-server added, version 0.2.1
    softwarerero:accounts-t9n upgraded from 1.1.6 to 1.3.4
    standard-minifier-css upgraded from 1.0.8 to 1.2.0
    standard-minifier-js upgraded from 1.0.8 to 1.2.0
    standard-minifiers removed from your project
    templating upgraded from 1.1.9 to 1.1.14
    themeteorchef:bert upgraded from 2.1.0 to 2.1.1
    useraccounts:bootstrap upgraded from 1.12.4 to 1.14.2
    useraccounts:core upgraded from 1.12.4 to 1.14.2
    
    
    The following top-level dependencies were not updated to the very latest
    version available:
    * ongoworks:security 1.3.0 (2.0.1 is available)
    * twbs:bootstrap 4.0.0-alpha (4.0.0-alpha2 is available)
    
    Newer versions of the following indirect dependencies are available:
    * autoupdate 1.2.11 (1.3.11 is available)
    * coffeescript 1.0.17 (1.2.4_1 is available)
    * ddp-client 1.2.9 (1.3.1 is available)
    * ddp-server 1.2.10 (1.3.10 is available)
    * less 2.5.7 (2.7.5 is available)
    * mdg:validation-error 0.2.0 (0.5.1 is available)
    * templating 1.1.14 (1.2.14 is available)
    To update one or more of these packages, pass their names to 
    `meteor update`, or just run `meteor update --all-packages`.
    Starting PlexRequests. The web gui will be up once the message 'App running at: http://localhost' is displayed
    Sep 1 10:25:21 0a0517dd9085 syslog-ng[491]: syslog-ng starting up; version='3.5.3'
    [[[[[ /config/plexrequests-meteor ]]]]]
    
    => Started proxy.
    => Started MongoDB.
    [34mW20160901-10:25:39.775(-5)? (STDERR) [39m[35mNote: you are using a pure-JavaScript implementation of bcrypt.[39m
    [34mW20160901-10:25:39.807(-5)? (STDERR) [39m[35mWhile this implementation will work correctly, it is known to be[39m
    [34mW20160901-10:25:39.807(-5)? (STDERR) [39m[35mapproximately three times slower than the native implementation.[39m
    [34mW20160901-10:25:39.807(-5)? (STDERR) [39m[35mIn order to use the native implementation instead, run[39m
    [34mW20160901-10:25:39.808(-5)? (STDERR) [39m[35m[39m
    [34mW20160901-10:25:39.808(-5)? (STDERR) [39m[35m meteor npm install --save bcrypt[39m
    [34mW20160901-10:25:39.808(-5)? (STDERR) [39m[35m[39m
    [34mW20160901-10:25:39.808(-5)? (STDERR) [39m[35min the root directory of your application.[39m
    [34mI20160901-10:25:39.810(-5)? [39mNo change detected for the collection tv
    [34mI20160901-10:25:39.810(-5)? [39mNo change detected for the collection movies
    [34mI20160901-10:25:39.810(-5)? [39mNo change detected for the collection settings
    [34mI20160901-10:25:39.810(-5)? [39mNo change detected for the collection permissions
    => Started your app.
    
    => App running at: http://localhost:3000/

    I don't quite understand what your issue is (not using plexrequests myself) and it seems like a settings issue with plexrequests. Based on your log and description, the container seems to run fine and the web gui comes up.

     

    You might want to ask in the plexrequests thread on the plex forum

  13. Hey, so I'm trying to get Nginx-LetsEncrypt set up but it refuses to start if the Network type is set to Bridge. No logs are generated. Starts if Network type is set to Host or None but the logs say that Nginx has failed. Any ideas?

     

    Thanks in advance

    Post a screenshot of your settings and the docker log please

     

    Are you sure that the ports you are trying to forward in bridge mode not used for anything else?

     

    Ports arnt being being used for anything else. No logs are generated when in Bridge mode

     

    Port 80 is used for unraid's web gui. That may be the problem.

     

    I also see in that log that most of the config files are present, but it creates a new dhparams file and gets a new certificate. Are you manually deleting certain files?

     

    Also in host mode nginx fails to start. Nginx error log should tell you why.

     

    Are you on 6.1.9? If so, use a /mnt/cache location for the config folder

     

    Edit: didn't realize others already commented and your issue is fixed, oops ;)

  14. issues with live viewing off cams it seems to recorded fine and images open fine but live view has no image i get errors in logs of

     

    zmwatch 776 err shared data size conflict file zmwatch.pl ?

     

    any help will be great

    Which zoneminder container?

     

    Did you follow the instructions on the docker hub page? There is a specific setting for fixing live view in v1.29

  15. Hey, so I'm trying to get Nginx-LetsEncrypt set up but it refuses to start if the Network type is set to Bridge. No logs are generated. Starts if Network type is set to Host or None but the logs say that Nginx has failed. Any ideas?

     

    Thanks in advance

    Post a screenshot of your settings and the docker log please

     

    Are you sure that the ports you are trying to forward in bridge mode not used for anything else?

  16. hi aptalca,

    the calibre web server doesn't work, it loads and when clicking on 'All books', it shows the next errror message:

     

    TypeError: this.undef is not a function

     

        at Object.createException (http://192.168.1.43:8081/static/stacktrace.js:81:18)

     

        at Object.run (http://192.168.1.43:8081/static/stacktrace.js:66:25)

     

        at printStackTrace (http://192.168.1.43:8081/static/stacktrace.js:57:62)

     

        at render_error (http://192.168.1.43:8081/static/browse/browse.js:134:18)

     

        at booklist (http://192.168.1.43:8081/static/browse/browse.js:271:29)

     

        at HTMLDocument. (http://192.168.1.43:8081/browse/category/allbooks:34:17)

     

        at Function.ready (http://192.168.1.43:8081/static/jquery.js:392:9)

     

        at HTMLDocument.DOMContentLoaded (http://192.168.1.43:8081/static/jquery.js:745:10)

    Can you post a screenshot of your settings and also a log?

     

    I'm assuming you set a custom library location and it may not have been set up correctly

     

    Attached are my settings and log.

    When you launched calibre the first time, did you select /config or /unraid-books as the library location. If latter, did you set the environment variable LIBRARYINTERNALPATH?

    To be honest, I don't remember...  Shall I start from scratch?

     

    Sent from my SM-G901F using Tapatalk

    I would recommend that. Make sure you read the docker hub page for it. It explains how to set it up correctly

     

  17. hi aptalca,

    the calibre web server doesn't work, it loads and when clicking on 'All books', it shows the next errror message:

     

    TypeError: this.undef is not a function

     

        at Object.createException (http://192.168.1.43:8081/static/stacktrace.js:81:18)

     

        at Object.run (http://192.168.1.43:8081/static/stacktrace.js:66:25)

     

        at printStackTrace (http://192.168.1.43:8081/static/stacktrace.js:57:62)

     

        at render_error (http://192.168.1.43:8081/static/browse/browse.js:134:18)

     

        at booklist (http://192.168.1.43:8081/static/browse/browse.js:271:29)

     

        at HTMLDocument. (http://192.168.1.43:8081/browse/category/allbooks:34:17)

     

        at Function.ready (http://192.168.1.43:8081/static/jquery.js:392:9)

     

        at HTMLDocument.DOMContentLoaded (http://192.168.1.43:8081/static/jquery.js:745:10)

    Can you post a screenshot of your settings and also a log?

     

    I'm assuming you set a custom library location and it may not have been set up correctly

     

    Attached are my settings and log.

    When you launched calibre the first time, did you select /config or /unraid-books as the library location. If latter, did you set the environment variable LIBRARYINTERNALPATH?

×
×
  • Create New...