Jump to content

aptalca

Community Developer
  • Posts

    3,064
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by aptalca

  1. BOINC manager is up. Works on the same principle as the rdp-calibre docker, runs in a pseudo vm accessed by rdp.

     

    I decided to create an rdp base docker https://registry.hub.docker.com/u/aptalca/docker-rdp-base/dockerfile/

     

    The xrdp and lxde packages used for rdp took over 220MB and it took docker about 30 min to build every time I made a small change to any of my rdp based containers.

     

    Now with the rdp base containing the lxde and xrdp packages, not only my rdp based containers will all share the same base and benefit from space saved, but they will have (220MB) less to download when there is an update, and my new builds only take 5 min for docker to build because docker just imports the rdp base (as long as I don't make any changes to the rdp base container, which I don't plan to)

  2. I'm using it for 7 different services, all running on different ports (including pptp vpn). Duckdns forwards all of them.

     

    Check either your router firewall or pfsense settings. Most likely one of the two is the issue.

     

    Duckdns does port forwarding 1:1. It will forward the port to the same one. What it won't do is forward one port to another, like forward port 80 to port 8080 to get around isp blocking of port 80. That article is referring to the latter.

     

    One other thing, go on duckdns.org and login. Make sure that the ip address they have for you on there is correct.

     

    PS. that article is also outdated. Duckdns now allows up to 4 domains per account.

  3. Does your isp block port 80?

     

    AFAIK, port forwarding is only necessary if you're running a webserver at home (webservers typically use port 80), and your isp blocks port 80. So you can forward port 80 to a different one that is not blocked by your isp.

     

    If you mean forwarding port xyz to port xyz, duckdns does it. For instance if your sabnzbd interface is accessible on port 5000 (also forwarded by your router), if you go to domain.duckdns.org:5000, you will reach the sab interface.

  4. Hey aptalca, is it possible for you to replace the openremote icon with this one?

     

    http://www.openremote.org/download/attachments/11468891/OpenRemote%20iTunes%20Icon%20512x512.png

     

    As the current one is pretty pixelated. Thanks!

     

    Thanks so much. That one is much better than using the 16x16 favicon

     

    I replaced it.

     

    You might have to update the repositories and refresh the browser

     

    EDIT: Update and refresh works for the logo in the community repositories. But I could not change the logo for the installed docker. Even removing and adding did not fix it. It seems the old logo is cached by the dockerman plugin and it keeps using the old one.

     

    I noticed that all those logos are stored on the flash drive under config/plugins/dockerMan/images. I deleted the old ones from there, so perhaps a restart will let the dockerman retrieve the new logos

  5. First, make sure that you entered the domain correctly. If your full domain is abcdef.duckdns.org, only enter abcdef in the config file

     

    Then test whether your domain and token are correct. Type the following address into the address bar of any browser but first replace the token and domain XXXX's with yours:

     

    https://www.duckdns.org/update?domains=XXXXXXXXXX&token=XXXXXXXXX&ip=

     

    If it works, you should see an "OK" message on the page, that means your token and domain are correct and you can move to the next step below. If not, it will output a "KO" then you revisit your domain and token on their website to make sure they are set up properly.

     

    Then you can test whether you can reach the duckdns website from your unraid box. In the unraid terminal, type this command (replace the domain and token with yours):

     

    curl "https://www.duckdns.org/update?domains=XXXXXXXX&token=XXXXXXXXX&ip="

     

    If all works, you should see an OK message. If you get a "KO" either revisit your domain and token, or check you pfsense settings (that's out of my control)

     

    Then you can check whether your docker can reach duckdns. In the unraid terminal, execute the following commands but make sure you replace the domain and token with yours first (first command gets you into the duckdns container's bash, second one pings duckdns)

     

    docker exec -it Duckdns bash
    curl "https://www.duckdns.org/update?domains=XXXXXXXXX&token=XXXXXXXXX&ip="

     

    If you get an OK, let me know and we'll have to do more troubleshooting. If you get a KO, well i doubt you'll get one if you got OKs in the prior steps.

  6. Correct. The Duckdns container does not have a gui. It just runs in the background every 5 minutes and updates the IP address.

     

    Host or bridge should not matter (I leave it as default bridge), as there is no port mapping due to no gui. I believe that setting is only for connections going into the container. In this case there are none.

     

    It does have a log file in the local folder, that tells you when it was last updated. If it shows a time within the last 5 minutes, it is still running. If there was an error, it should tell you that as well.

  7. How do you go about adding books to the calibre server?

     

    Unfortunately the server doesn't make that part easy. But there are a couple of options:

     

    1. Easiest way is to run calibre on another computer, add the books on there using the GUI, find the library folder and copy all of its contents into this docker's local library / config folder.

     

    I already had calibre on another computer with my full library. I went to its library folder, which contained the metadata database, as well as all the books I had (books are stored neatly in individual author folders). Copied them all to the docker folder (first stop the docker just in case). When I restarted the docker, attached pic is what I saw.

     

    2. Another option is to get into the running docker's terminal and use calibre's command line tools to add books

    You can execute the following command in unraid terminal to get into calibre docker:

    docker exec -it Calibre-server bash

    Then you can use calibre command line options detailed on their site: http://manual.calibre-ebook.com/cli/calibredb.html

    Capture.jpg.9366e0864c41d0653317069bf5ddb83c.jpg

  8. Instructions for Dockergui based containers - DigiKam, RDP-Calibre and RDP-Boinc

     

    These containers are linux desktop apps that open in a web browser thanks to HurricaneHernandez's awesome Dockergui baseimage (guacamole server based).

     

    All you have to do is open the WebUI. The default resolution is 1280x720, but can be changed by clicking on the container name, selecting Advanced View and modifying the WIDTH and HEIGHT variables.

     

    Tips for setting up Zoneminder (older version, which installs 1.28)

    Please see here: https://hub.docker.com/r/aptalca/docker-zoneminder/

     

    Instructions for the Zoneminder 1.29 version

    Please see here: https://hub.docker.com/r/aptalca/zoneminder-1.29/

     

    Instructions for Nginx-letsencrypt

    Please see here: https://hub.docker.com/r/aptalca/nginx-letsencrypt/

    Additional support provided in this thread: http://lime-technology.com/forum/index.php?topic=43696.0

  9. I had been holding onto my beta6 for a long time with my trustworthy Xen Ubuntu VM running all of my apps. But running out of space and having to add a new drive forced me to update and switch all drives to XFS. While at it, I gave docker a shot and what can I say. . . I was pretty impressed. I switched almost everything to docker containers and decided to scrap the VM for the moment.

     

    But. . . not everything running in my VM was available as dockers. So I put together the following docker templates to replace some of those services. I hope you find them just as useful.

     

    Special thanks to HurricaneHernandez for creating and maintaining the dockergui baseimage. All of my rdp/vnc based dockers are using his baseimage. Also thanks to Sparklyballs for showing me how to use them.

     

    Aptalca's Docker Template Repo:

    https://github.com/aptalca/docker-templates

     

    Installation:

    Option 1 (Preferred method):

    Option 2:

    • Go to the Docker tab in unRaid GUI
    • Copy and paste Aptalca's Template Repo from above into the Template Repositories box and hit save
    • Click on "Add Container" and you can see my container templates under the "Templates" dropdown
    • Enter the required info and hit create
    • Profit

     

    Available Dockers:

     

    width=45http://calibre-ebook.com/favicon.ico[/img]  Calibre-server: Calibre is an e-book management software. This docker app allows you to serve your e-books to remote clients through the web browser. Note: this is the server version, not the full GUI.

    https://github.com/aptalca/docker-calibre

    https://registry.hub.docker.com/u/aptalca/docker-calibre/

     

    width=45http://calibre-ebook.com/favicon.ico[/img]  RDP-Calibre: Calibre is an e-book management software. RDP-Calibre is a combo docker for calibre web server and gui (through RDP). With this docker, you get the best of both worlds, and they both use the same database.

    https://github.com/aptalca/docker-rdp-calibre

    https://registry.hub.docker.com/u/aptalca/docker-rdp-calibre/

     

    width=45http://www.openremote.org/download/attachments/11468891/OpenRemote%20iTunes%20Icon%20512x512.png[/img]  OpenRemote: OpenRemote is software integration platform for residential and commercial building automation. OpenRemote allows you to create your own Android or iOS remote interfaces. This docker app will host your custom remote interfaces. Please visit http://openremote.org/display/docs/Get+Started to get started and create your designer account.

    https://github.com/aptalca/docker-openremote

    https://registry.hub.docker.com/u/aptalca/docker-openremote/

     

    width=45https://duckdns.org/img/ducky_icon.png[/img]  DuckDNS: Duckdns is a free dynamic DNS service hosted on Amazon VPC. Unlike most other free dynamic DNS providers, DuckDNS accounts do not require periodic user action to keep them alive. Visit http://www.duckdns.org to register your domain.

    https://github.com/aptalca/docker-duckdns

    https://registry.hub.docker.com/u/aptalca/docker-duckdns/

     

    width=45http://www.pddesign.com.au/img/blog/home-surveillance/zoneminder-logo-01.png[/img]  Zoneminder: ZoneMinder is the top Linux video camera security and surveillance solution. This container installs the older version 1.28.

    https://github.com/aptalca/docker-zoneminder

    https://registry.hub.docker.com/u/aptalca/docker-zoneminder/

     

    width=45http://www.pddesign.com.au/img/blog/home-surveillance/zoneminder-logo-01.png[/img]  Zoneminder-1.29: ZoneMinder is the top Linux video camera security and surveillance solution. This container installs the newer version 1.29, which includes the new api

    https://github.com/aptalca/docker-zoneminder/tree/v1.29

    https://hub.docker.com/r/aptalca/zoneminder-1.29/

     

    width=45http://boinc.berkeley.edu/logo/boinc_logo_128_trans.png[/img]  RDP-Boinc: BOINC lets you contribute computing power on your home PC to projects doing research in many scientific areas. You can contribute to a single project, or to any combination of them. RDP-Boinc is a docker for the BOINC manager and client that can be accessed through RDP.

    https://github.com/aptalca/docker-rdp-boinc

    https://registry.hub.docker.com/u/aptalca/docker-rdp-boinc/

     

    width=45http://www.h-online.com/imgs/43/6/9/3/5/4/7/Digikam-logo200-22eb510f46d16449.png[/img]  DigiKam: DigiKam is an advanced digital photo management application. The people who inspired digiKam's design are the photographers like you who want to view, manage, edit, enhance, organize, tag, and share photographs under Linux systems.

    https://github.com/aptalca/docker-digikam

    https://registry.hub.docker.com/u/aptalca/docker-digikam/

     

    width=45http://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Dolphin-icon.svg/500px-Dolphin-icon.svg.png[/img]  Dolphin: Dolphin is KDE's default file manager. With this docker, you can access the dolphin interface through a web browser.

    https://github.com/aptalca/docker-dolphin

    https://registry.hub.docker.com/u/aptalca/docker-dolphin/

     

    width=45http://upload.wikimedia.org/wikipedia/commons/f/f7/Jdownloader.png[/img]  JDownloader 2: JDownloader is a free, open-source download management tool with a huge community of developers that makes downloading as easy and fast as it should be. Users can start, stop or pause downloads, set bandwith limitations, auto-extract archives and much more. It's an easy-to-extend framework that can save hours of your valuable time every day! JDownloader 2 also has a webserver accessible through http://my.jdownloader.org

    https://github.com/aptalca/docker-jdownloader2

    https://registry.hub.docker.com/u/aptalca/docker-jdownloader2/

     

    width=45https://raw.githubusercontent.com/lokenx/plexrequests-meteor/master/public/favicon.ico[/img]  Plex Requests: Are people constantly asking you to add new content to your Plex Server? Frequent late night texts asking for a new release that's not out yet? Wouldn't it be easier to just send them to a website where they could submit their requests? Enter Plex Requests! See the following link for setup instructions: https://github.com/lokenx/plexrequests-meteor/blob/master/README.md

    https://github.com/aptalca/docker-plexrequests

    https://registry.hub.docker.com/u/aptalca/docker-plexrequests/

     

    width=45http://www.cdrinfo.com/Images/Uploaded/Amazon_Echo_logo_120.jpg[/img]  AmazonEcho-HA-Bridge This container has been deprecated. Please use the Home-Automation-Bridge listed below as it does the same things and more: Bridge Amazon Echo with your home automation controller for voice control of connected devices (tested with Vera, but should work with any HA device that accepts http commands). See the linked thread for setup instructions: http://forum.micasaverde.com/index.php/topic,31920.msg231970.html#msg231970

    https://github.com/aptalca/docker-amazon-echo-ha-bridge

    https://registry.hub.docker.com/u/aptalca/docker-amazon-echo-ha-bridge/

     

    width=45http://www.cdrinfo.com/Images/Uploaded/Amazon_Echo_logo_120.jpg[/img]  Home-Automation-Bridge: Bridge Amazon Echo with your home automation controller or Harmony Hub for voice control of connected devices (Vera and Harmony devices retrieved automatically). This is a docker implementation of bwssystems' home automation bridge - https://github.com/bwssytems/ha-bridge

    https://github.com/aptalca/docker-ha-bridge/

    https://registry.hub.docker.com/u/aptalca/home-automation-bridge/

     

    width=45http://technoloman.com/wp-content/uploads/2015/12/Lets_encrypt_logo.png[/img]  Nginx-letsencrypt: Nginx based webserver with a built-in letsencrypt client that automates free SSL certificate generation and renewal processes. Also includes fail2ban for security

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

    https://github.com/aptalca/docker-webserver/

    https://registry.hub.docker.com/u/aptalca/nginx-letsencrypt/

     

    Changelog:

     

    I am no longer updating the changelog here. You can find them on the container github or docker hub pages, or in the Community Applications listing

     

    [b]12/04/2015[/b]
    [i]Home-Automation-Bridge[/i] - Update to version 1.2.1
    
    [b]11/19/2015[/b]
    [i]Home-Automation-Bridge[/i] - Update to version 1.1.0
    
    [b]11-04-2015[/b]
    [i]Home-Automation-Bridge[/i] - Initial Release
    
    [b]11/02/2015[/b]
    [i]PlexRequests[/i] - Previous meteor update was preventing a git pull, this version fixes that issue
    
    [b]10/27/2015[/b]
    [i]Zoneminder[/i] - perl5/ZoneMinder folder is now persistent and available in the config folder to allow easy access for custom perl scripts - usbutils included in the package for usb camera support (needs to be further tested)
    
    [b]08/20/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Set max memory for java so it doesn't hog unnecessary ram - Allow for custom version install by setting environment variable VERSION=0.X.X under advanced settings
    
    [b]08/17/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Updated to release 0.2.1 - Runs as nobody instead of root - Updated to phusion 0.9.17
    
    [b]08/16/2015[/b]
    [i]JDownloader2[/i] - Switched to base xrdp1.3 so clipboard should work
    
    [b]08/15/2015[/b]
    [i]OpenRemote[/i] - Run as user nobody (instead of root) & Updated to Phusion 0.9.17
    
    [b]08/09/2015[/b]
    [i]PlexRequests[/i] - EDGE variable has been deprecated. To use a different branch (for testing and development purposes) please use the BRANCH variable under advanced view (default is "master") - Added auto-update mechanism for meteor on container start
    
    [b]08/05/2015[/b]
    [i]Duckdns[/i] - No more editing config files. The subdomains and token are entered as environment variables under advanced view during install. Existing users updating, please refer to the following post for more info: https://lime-technology.com/forum/index.php?topic=39413.msg399240#msg399240
    
    [b]07/25/2015[/b]
    [i]RDP-Calibre[/i] - Updated to 2.33 and added custom library location and url prefix, both of which are for advanced docker users only. See the following post for instructions: https://lime-technology.com/forum/index.php?topic=39413.msg396697#msg396697
    
    [b]07/16/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Updated to release 0.2.0
    
    [b]06/24/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Added ability to change server port to prevent conflict at port 8080 (see second post below for details)
    
    [b]06/13/2015[/b]
    [i]Zoneminder[/i] - Major update - Implemented memory fix for HD streams and switched back to phusion base. You might have to do a fresh install from community repositories. See this post for details: https://lime-technology.com/forum/index.php?topic=39413.msg383552#msg383552
    
    [b]06/05/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Enabled WebUI for much easier device management
    
    [b]05/31/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Update to 0.1.3 - Dimming function added
    
    [b]05/22/2015[/b]
    [i]AmazonEcho-HA-Bridge[/i] - Release
    
    [b]05/20/2015[/b]
    [i]Zoneminder[/i] - Minor update - fixed mysql database preservation, all settings should be persistent going forward, updated to the latest phusion build
    
    [b]05/19/2015[/b]
    [i]PlexRequests[/i] - Minor update - EDGE=1 variable added to switch to the dev branch (under Advanced View)
    [i]Zoneminder[/i] - Minor update - Fixed permissions that prevented recording, but realized certain settings get lost during an update, issue is currently under review
    
    [b]05/18/2015[/b]
    [i]PlexRequests[/i] - Release
    
    [b]05/15/2015[/b]
    [i]RDP-Calibre[/i] - Update - Implemented self updating through edge variable. Might have to remove container and reinstall from repo to get the latest xml with the edge variable (or you can manually input EDGE and 1)
    
    [b]05/08/2015[/b]
    [i]JDownloader 2[/i] - Release
    
    [b]05/07/2015[/b]
    [i]Dolphin[/i] - Release
    
    [b]05/06/2015[/b]
    [i]DigiKam[/i] - Minor update - DigiKam updated to 4.9.0, EDGE variable added to enable future updates
    
    [b]05/05/2015[/b]
    [i]RDP-Calibre[/i] - Minor update - switched the base to hurricane's new dockergui baseimage.
    [i]RDP-Boinc[/i] - Minor update - switched the base to hurricane's new dockergui baseimage.
    
    [b]05/03/2015[/b]
    [i]DigiKam[/i] - Release
    
    [b]05/01/2015[/b]
    [i]RDP-Calibre[/i] - Major update - No rdp client necessary. New docker has built-in WebUI thanks to hurricanehernandez and sparklyballs for their amazing work creating the guacamole server base and simplifying the dockerfile. [b]Please remove and reinstall from community repositories or a fresh xml as port options have changed[/b]
    [i]RDP-Boinc[/i] - Major update - No rdp client necessary. New docker has built-in WebUI thanks to hurricanehernandez and sparklyballs for their amazing work creating the guacamole server base and simplifying the dockerfile. [b]Please remove and reinstall from community repositories or a fresh xml as port options have changed[/b]
    
    [b]04/29/2015[/b]
    [i]RDP-Boinc[/i] - Minor update to set the local time correctly
    
    [b]04/28/2015[/b]
    [i]RDP-Boinc[/i] - Release
    [i]RDP-Calibre[/i] - Minor update (new container is using an rdp-base container that will be shared among all of my rdp based dockers, that way not only they take less space if you use multiples, but they will update faster, and I can build so much faster)
    [i]RDP-Calibre[/i] - Release
    
    [b]04/27/2015[/b]
    [i]Zoneminder [/i]- Release (Please test, I don't have cameras set up at the moment)
    [i]DuckDNS [/i]- minor - update maintainer
    
    [b]04/20/2015[/b]
    [i]Calibre-server[/i] - Release
    [i]OpenRemote[/i] - Release
    [i]DuckDNS [/i]- Release

    • Upvote 1
  10. Thanks so much for the original how to, and the subsequent suggestions.

     

    I had been on beta 6 since it came out. Everything worked and I stayed with it. But just ran out of space and needed to add a new drive. I thought this would be a good time to upgrade to beta 14b and convert all my drives to XFS while adding the new drive.

     

    I am using rsync -av without the remove source files the first time, and will do that option the second time as it is supposed to be much quicker and less of a chance to get a red ball or corrupt files.

     

    I did notice something strange, though. While transferring the big files, some files transfer at 29-30MB/s and some transfer at 55MB/s. Nothing in between. I don't get why there is a difference. See the attached screenshot. I guess about two thirds of the big files go at 29 and about a third go at 55. Any ideas? I am really curious.

     

    Thanks

     

    PS. I am transferring from a 2TB drive that was almost full (55GB free) to a 3TB drive. My parity is a 3TB drive and all other existing drives are 2TB or smaller.

    Capture.JPG.8d81ff2690d7de9e525b1fe901235ec0.JPG

  11. Surely the slow browsing is just due to NetBIOS lookup? Add tower to your windows hosts file if you still want to use tower without the performance hit, or better still setup your own name server.

     

    Sent from my Nexus 7 using Tapatalk

     

    How does the netbios lookup work exactly? I thought it did an initial lookup to find the ip address and then it used the ip for the rest of the transactions for the same machine

     

    I first browse to \\tower and everything shows up instantly (not too many shares). I would assume netbios lookup is done at this step.

    Then I click on the share called "Movies", and it takes a while. Is it doing netbios lookups for each folder listed under the share? That would be kinda crazy.

     

    I retried the experiment, this time with the ip version first, and then the netbios name version and the results are the same. I don't think it's a caching issue.

  12. I can confirm that when I start it from the go file, all flags are ignored and it is using 99% cpu. (unraid 6 beta 5a)

     

    I instead start it from the command line manually. It is fine because I rarely reboot the server.

     

     

    I do have a general question though. I realize most people use this script so the drives aren't woken up unless a specific file is accessed.

     

    But if one is not putting any of the drives to sleep, in other words if they are always spinning, is there still a benefit to this script?

     

    I noticed that with or without, it still takes windows explorer 5-10 seconds to show the full listing of my movies folder through samba (little over 1000 sub-folders). It starts with a list of 125, and adds another 125 every half or a full second or so.

     

    Thanks

     

     

    EDIT: Holy crap, I just discovered something. In windows explorer, if I go to \\tower\Movies it takes 10 seconds to display, but if I go to \\192.168.x.x\Movies it is instant. Is that a windows explorer glitch?

  13. Unraid 6 with Xen, barely any plugins (just apcupsd and swap), min 1GB ram, max 2GB

     

    I am getting the following when I try to run cache_dirs

     

    ps: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    /boot/cache_dirs: xrealloc: ./parse.y:3246: cannot allocate 512 bytes (98304 bytes allocated)

     

    I even set up a 4GB swap file that is pretty much unused

     

    Any ideas?

     

    Thanks

     

    I modified the script. Changed ulimit to 30000 now it works

  14. Unraid 6 with Xen, barely any plugins (just apcupsd and swap), min 1GB ram, max 2GB

     

    I am getting the following when I try to run cache_dirs

     

    ps: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    sed: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
    /boot/cache_dirs: xrealloc: ./parse.y:3246: cannot allocate 512 bytes (98304 bytes allocated)

     

    I even set up a 4GB swap file that is pretty much unused

     

    Any ideas?

     

    Thanks

×
×
  • Create New...