Jump to content
Pducharme

[support] pducharme's Dockers support thread

584 posts in this topic Last Reply

Recommended Posts

How do I get these?

 

 

  • Install Community Apps Plugins first.
  • search for pducharme and you'll have access to the 3 dockers I maintain.

 

 

My Dockers:

 

PlexConnect - https://registry.hub.docker.com/u/pducharme/plexconnect/   (UNSUPPORTED, Don't have a ATV3 anymore)

 

  • Website - https://github.com/iBaa/PlexConnect/wiki/Install-Guide
  • Added support for Fanart (PIL).
  • Added support for DNS variable to use alternate DNS server.
  • Added support for HTTP(S) Alternate Port (need a Reverse-Proxy).
  • Remove all Variables, instead allow to provide a full customized file in /config.

 

UniFi Controller - https://registry.hub.docker.com/u/pducharme/unifi/

 

  • Website - http://ubnt.com
  • UniFi controller 4.2.0 on phusion baseimage 0.9.15
  • Upgraded to UniFi controller 4.5.2
  • Upgraded to UniFi controller 4.6.0 on phusion baseimage 0.9.16
  • Upgraded to UniFi controller 4.6.6
  • Upgraded to UniFi controller 4.7.5 on phusion baseimage 0.9.17
  • Upgraded to UniFi controller 4.7.6 on phusion baseimage 0.9.17
  • Upgraded to UniFi controller 4.8.12 on phusion baseimage 0.9.18
  • Upgraded to UniFi controller 4.8.18
  • Upgraded to UniFi controller 5.2.9
  • Upgraded to UniFi controller 5.4.9 on phusion baseimage:latest
  • Upgraded to UniFi controller 5.4.11 on phusion baseimage:latest
  • Upgraded to UniFi controller 5.5.19 on phusion baseimage:latest

  • Upgraded to UniFi controller 5.5.24 on phusion baseimage:latest

  • Add support for a BETA branch.  Just add :beta on the repository field in the Docker Edit page. (5.6.19 currently).

 

UniFi-Video Controller (NVR) - https://registry.hub.docker.com/u/pducharme/unifi-video-controller/

 

  • Website - http://ubnt.com
  • UniFi-Video-controller 3.0.8 on phusion baseimage 0.9.16
  • Upgraded to UniFi-Video-controller 3.1.2 on phusion baseimage 0.9.17
  • Upgraded to UniFi-Video-controller 3.1.3 on phusion baseimage 0.9.18
  • Upgraded to UniFi-Video-controller 3.6.0 on phusion baseimage:latest
  • Upgraded to UniFi-Video-controller 3.6.1 on phusion baseimage:latest
  • Upgraded to UniFi-Video-controller 3.6.3 on phusion baseimage:latest
  • Add support for a BETA branch.  Just add :beta on the repository field in the Docker Edit page.

 

Thanks:

 

  • gfjardim - for his great dockerman page
  • smdion - this post I used from his, help to get my repo up.

 

 

Change Log:

12.15.14 - PlexConnect - Release - with Fanart support.

12.16.14 - PlexConnect - Upgrade docker baseimage to phusion 0.9.15.

12.17.14 - UniFi - Release ubiquiti UniFi 4.2.0 with baseimage phusion 0.9.15.

12.18.14 - PlexConnect - Modify Instructions

12.22.14 - PlexConnect - Modify so you can provide your own Settings.cfg in /config.

12.31.14 - PlexConnect - Modify so you can provide your own ATVSettings.cfg in /config.

01.13.15 - UniFi - Update UniFi Controller to 4.5.2.

02.19.15 - UniFi - Update UniFi Controller to 4.6.0 with phusion/baseimage 0.9.16

03.11.15 - UniFi-Video-Controller - Initial release, version 3.0.8 on phusion/baseimage 0.9.16

06.30.15 - PlexConnect - Switch to CyberGhost84 Fork of PlexConnect

07.13.15 - UniFi - Update UniFi Controller to 4.6.6 version.

10.28.15 - UniFi - Update UniFi Controller to 4.7.5 version on phusion/baseimage 0.9.17

10.28.15 - UniFi-Video-Controller - Update UniFi-Video-Controller to 3.1.2 version on phusion/baseimage 0.9.17

10.30.15 - UniFi - Update UniFi Controller to 4.7.6 version on phusion/baseimage 0.9.17

02.02.16 - UniFi - Update UniFi Controller to 4.8.12 version on phusion/baseimage 0.9.18

02.12.16 - UniFi-Video-Controller - Update UniFi-Video-Controller to 3.1.3 version on phusion/baseimage 0.9.18

05.09.16 - UniFi - Update UniFi Controller to 4.8.18 version.

10.06.16 - UniFi - Update UniFi Controller to 5.2.9 version.

01.23.17 - UniFi - Update UniFi Controller to 5.4.9 version.

01.23.17 - UniFi-Video-Controller - Update UniFi-Video-Controller to 3.6.0.

02.06.17 - UniFi - Update UniFi Controller to 5.4.11 version.

02.09.17 - UniFi-Video-Controller - Update UniFi-Video-Controller to 3.6.1.

03.29.17 - UniFi-Video-Controller - update to version 3.6.3

08.09.17 - UniFi - Update UniFi Controller to 5.5.19 version.

08.30.17 - UniFi-Video-Controller -- Add Beta branch, 3.8.0 beta 4.

10.17.17 - UniFi - Update UniFi Controller to 5.5.24.  Also add a Beta Branch, 5.6.19.

Edited by Pducharme

Share this post


Link to post

Awesome. Got a question about the PlexConnect. Can you specify the location of settings.cfg? I want to specify what app to capture. Thanks.

Share this post


Link to post

I did tried but wasn't able yet. i'm working on it right now.  My last try is Building on docker, i'll go to bed.  If it doesn't work, my docker will stay "broken" until late tomorrow night. 

 

The plan is to remove all Variables and just allow access to the Settings.cfg outside the docker.  Currently, i'm trying to use the existing one if it exists, if not, will use a new one.

Share this post


Link to post

Awesome. Got a question about the PlexConnect. Can you specify the location of settings.cfg? I want to specify what app to capture. Thanks.

 

Ok, Here what I was able to do :

 

When the PlexConnect Docker starts, it copy the Settings.cfg to inside the docker and use it.  If you don't have one, it will generate one INSIDE the docker and use it.  In short, you can download PlexConnect to your computer, run python Settings.cfg to generate a new Settings.cfg, modify it as you want and drop it in the same place than the SSL certificates (or any other place where you point the /config folder).

 

Also, If you want to modify it, you'll have to Stop/Start the PlexConnect docker so it can load up the new one inside the container when it launch.

 

I would have prefer being able to create a symlink, but I wasn't successful after so many tries.

 

Maybe a "pro" can try to give some instructions to have it working with a symlink.

Share this post


Link to post

I noticed Unifi is now on version 4.5.2. have you tried to update it on your side?

 

Thanks

 

Update is done.  I remove completely my Unifi folder on appdata share to start from "empty", deleted the Container + image and then Reload Info, then download the new version.

Share this post


Link to post

Thanks!

How hard would it be to build a docker for the nVR? I'm currently running it on a VM but thinking of trying to make one.

 

Share this post


Link to post

Thanks!

How hard would it be to build a docker for the nVR? I'm currently running it on a VM but thinking of trying to make one.

 

Hi BillyJ, I just created a docker from scratch using the same phusion/baseimage 0.9.16.  When you first install it, you'll have to start it; it will create a system.properties file wherever you specified on the docker appdata folder.  You'll need to edit and add at the top : is_default=true

 

After, you just restart the docker, you can access the initial wizard of the Unifi-video-controller.

Share this post


Link to post

Thanks!

How hard would it be to build a docker for the nVR? I'm currently running it on a VM but thinking of trying to make one.

 

Hi BillyJ, I just created a docker from scratch using the same phusion/baseimage 0.9.16.  When you first install it, you'll have to start it; it will create a system.properties file wherever you specified on the docker appdata folder.  You'll need to edit and add at the top : is_default=true

 

After, you just restart the docker, you can access the initial wizard of the Unifi-video-controller.

 

Awesome thanks!

Share this post


Link to post

Trying to get UrBackup going and this is what the log file pops up with and then the containwer stops

 

/usr/bin/docker logs --tail=350 -f UrBackup 2>&1
2015-04-05 15:52:42: ERROR: Error preparing Query [sELECT tvalue FROM misc WHERE tkey='db_version']: no such table: misc
2015-04-05 15:52:42: ERROR: Error preparing Query [sELECT tvalue FROM misc WHERE tkey='db_version']: no such table: misc
2015-04-05 15:52:42: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_idx ON files (shahash, filesize, clientid)]: no such table: main.files
2015-04-05 15:52:42: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_did_count ON files (did_count)]: no such table: main.files
2015-04-05 15:52:42: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_backupid ON files (backupid)]: no such table: main.files
2015-04-05 15:52:42: ERROR: Error preparing Query [sELECT value FROM settings_db.settings WHERE key=? AND clientid=0]: no such table: settings_db.settings
2015-04-05 15:52:42: ERROR: Error preparing Query [uPDATE misc SET tvalue=? WHERE tkey='files_cache']: no such table: misc
2015-04-05 15:52:42: ERROR: Error preparing Query [sELECT linkname, linktarget FROM directory_link_journal]: no such table: directory_link_journal
2015-04-05 15:52:54: ERROR: Error preparing Query [sELECT tvalue FROM misc WHERE tkey='db_version']: no such table: misc
2015-04-05 15:52:54: ERROR: Error preparing Query [sELECT tvalue FROM misc WHERE tkey='db_version']: no such table: misc
2015-04-05 15:52:54: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_idx ON files (shahash, filesize, clientid)]: no such table: main.files
2015-04-05 15:52:54: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_did_count ON files (did_count)]: no such table: main.files
2015-04-05 15:52:54: ERROR: Error preparing Query [CREATE INDEX IF NOT EXISTS files_backupid ON files (backupid)]: no such table: main.files
2015-04-05 15:52:54: ERROR: Error preparing Query [sELECT value FROM settings_db.settings WHERE key=? AND clientid=0]: no such table: settings_db.settings
2015-04-05 15:52:54: ERROR: Error preparing Query [uPDATE misc SET tvalue=? WHERE tkey='files_cache']: no such table: misc
2015-04-05 15:52:54: ERROR: Error preparing Query [sELECT linkname, linktarget FROM directory_link_journal]: no such table: directory_link_journal

 

Any ideas?

Share this post


Link to post

@dalben:  Yes, I was trying to fix the issue of the lost configuration when you edit/save the docker.  Currently, the docker is defective and i'll revert back to previous build because it was working.  The way they have the configuration saved inside the docker, it seems it can't live outside the docker itself.

 

**EDIT**

 

It should now work.  You'll need to go in the WebUI setting page of UrBackup and change the backup location to /backup (that you should have point to your array).

 

Settings changes survived Start/Stop of the docker, but not if you edit and save the docker (or update it).  Currently, I have no solution for this trouble...

Share this post


Link to post

`configure' configures urbackup-server 1.4.8.1014 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking ...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc.  You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR            user executables [EPREFIX/bin]
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  --libexecdir=DIR        program executables [EPREFIX/libexec]
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  --libdir=DIR            object code libraries [EPREFIX/lib]
  --includedir=DIR        C header files [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR           info documentation [DATAROOTDIR/info]
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  --mandir=DIR            man documentation [DATAROOTDIR/man]
  --docdir=DIR            documentation root [DATAROOTDIR/doc/urbackup-server]
  --htmldir=DIR           html documentation [DOCDIR]
  --dvidir=DIR            dvi documentation [DOCDIR]
  --pdfdir=DIR            pdf documentation [DOCDIR]
  --psdir=DIR             ps documentation [DOCDIR]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [bUILD]

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules   less verbose build output (undo: "make V=1")
  --disable-silent-rules  verbose build output (undo: "make V=0")
  --enable-install_initd  Enables installing of supplied init.d file into
                          /etc/init.d
  --enable-packaging      Will be installed for packaging.
  --disable-fortify       Disable GCC/runtime fortification
  --enable-dependency-tracking
                          do not reject slow dependency extractors
  --disable-dependency-tracking
                          speeds up one-time build

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --without-mail          Disables server mailing features. Use this to remove
                          the dependency on libcurl.
  --without-crypto        Disables cryptography functions. Internet mode will
                          not be available. Use this to remove the dependency
                          on libcrypto++.
  --with-mountvhd         Enable mounting of VHD files via fuse.

Some influential environment variables:
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  LIBS        libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>
  CC          C compiler command
  CFLAGS      C compiler flags
  CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <martin@urbackup.org>.

 

 

that's the configure options in the source code.

 

looking at that, perhaps using the option --without-crypto might solve the issue, but then would disable the internet backup feature. it's fairly easy to build though.

Share this post


Link to post

I prefer to leave the Internet Backup option active, I think the OP want that too.  For now, i hope it's good AS IS because I don't have more time to put for now.

Share this post


Link to post

I prefer to leave the Internet Backup option active, I think the OP want that too.  For now, i hope it's good AS IS because I don't have more time to put for now.

 

It didn't work anyways, lol.

 

But I did discover something, and i've not seen this with any other container and i've absolutely no idea why it happens.

If i disable running the start server and then exec in to the container, it will start if i issue the command manually.

 

 

Share this post


Link to post

The original version you posted worked for me, I did the update that was available I think yesterday and all of my settings got wiped and It's not seeing clients even after redoing the config, any ideas?

Share this post


Link to post

The original version you posted worked for me, I did the update that was available I think yesterday and all of my settings got wiped and It's not seeing clients even after redoing the config, any ideas?

 

Basically until the databases can be saved outside of the container, then this is going to be unusable.

 

if you don't update the container then settings will not be lost, but fairly quickly those databases will be in the gb size range, at some point they'll outgrow the size of the docker.img file and the app will crash, not good in a backup app.

Share this post


Link to post

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.