profile
viewpoint
Matt Bentley mbentley Mirantis, Inc. (@Mirantis) Indianapolis, IN https://www.mbentley.net

ehazlett/circuit 36

Container Network Management

mbentley/docker-aws-manage-user 2

Script to add/remove AWS users

mbentley/docker-crond 2

Docker image that uses crond from Alpine Linux

mbentley/docker-cs-engine-downloader 2

Tool to download the DEBs or RPMs for the Docker CS engine for offline installation

mbentley/aptitude-gui 1

Debian packaging of Stratus_ss's aptitude-gui application for Overclockix

mbentley/docker-bind-tools 1

Docker image for bind-tools (dig, nslookup, etc)

mbentley/docker-context-root-example 1

Context root routing example w/nginx

create barnchmbentley/docker-ums

branch : transcode-test

created branch time in 5 hours

push eventmbentley/docker-mariadb

Matt Bentley

commit sha c8da23f4bfa67e1b1de2eb28ae0017de6d73b759

Pin to specific version of alpine Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 6 hours

delete branch mbentley/docker-timemachine

delete branch : sc-fixes

delete time in 7 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha dc147d7faccaace54aa6d05f0fd5053fcf567465

Cleanup for shellcheck Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha bc53e7fce1a038e56441292d17bb519a0e176d3a

Merge pull request #28 from mbentley/sc-fixes Cleanup for shellcheck

view details

push time in 7 days

PR merged mbentley/docker-timemachine

Cleanup for shellcheck

Signed-off-by: Matt Bentley mbentley@mbentley.net

+5 -5

0 comment

1 changed file

mbentley

pr closed time in 7 days

PR opened mbentley/docker-timemachine

Cleanup for shellcheck

Signed-off-by: Matt Bentley mbentley@mbentley.net

+5 -5

0 comment

1 changed file

pr created time in 7 days

create barnchmbentley/docker-timemachine

branch : sc-fixes

created branch time in 7 days

pull request commentmbentley/docker-timemachine

bugfix-smb-dirs: /var/lib/samba/private, /var/log/samba/cores

Upon further inspection, this is likely to only occur if you're utilizing a bind mounted volume as the directories, while they do not exist, can be created just fine as we have the correct permissions with using docker managed volumes. That's why I hadn't seen that in my logs previously. Either way, it's not terrible to have a sanity check so thank you.

grizmin

comment created time in 7 days

issue commentmbentley/docker-timemachine

ready-start for smb + few more ideas

I haven't forgotten about this; I'll have to take a look at implementing some of your suggestions when I have some more time.

tmc975

comment created time in 7 days

Pull request review commentmbentley/docker-timemachine

composefile-smb: Added docker compose file for smb.

+version: "3.7"+services:+  timemachine:+    network_mode: "host"+    environment:+      - CUSTOM_SMB_CONF=false+      - CUSTOM_USER=false+      - LOG_LEVEL=info+      - EXTERNAL_CONF=+      - HIDE_SHARES=no+      - MIMIC_MODEL=TimeCapsule8,119+      - TM_USER=timemachine+      - TM_GROUPNAME=timemachine+      - TM_UID=1000+      - TM_GID=1000+      - PASSWORD=timemachine+      - SET_PERMISSIONS=false+      - SHARE_NAME=TimeMachine+      - VOLUME_SIZE_LIMIT=0+      - WORKGROUP=WORKGROUP+    restart: unless-stopped+    ports:+     - "548:548"+     - "636:636"+    volumes:+     - /path/to/your/timemachine/volume:/opt/timemachine+     - ./timemachine-var-log:/var/log

Just want to verify that you intended on having these be relative paths; I had left them as docker managed volumes as there is not really any critical data in those directories but I don't like writing to the CoW filesystem.

grizmin

comment created time in 7 days

Pull request review commentmbentley/docker-timemachine

composefile-smb: Added docker compose file for smb.

+version: "3.7"+services:+  timemachine:+    network_mode: "host"+    environment:+      - CUSTOM_SMB_CONF=false+      - CUSTOM_USER=false+      - LOG_LEVEL=info+      - EXTERNAL_CONF=+      - HIDE_SHARES=no+      - MIMIC_MODEL=TimeCapsule8,119+      - TM_USER=timemachine+      - TM_GROUPNAME=timemachine+      - TM_UID=1000+      - TM_GID=1000+      - PASSWORD=timemachine+      - SET_PERMISSIONS=false+      - SHARE_NAME=TimeMachine+      - VOLUME_SIZE_LIMIT=0+      - WORKGROUP=WORKGROUP+    restart: unless-stopped+    ports:+     - "548:548"

The ports will be ignored in host mode (completely fine to leave them for users to be able to utilize them if they wish to not use host mode) but for SMB, the ports are:

  • 137:137/udp
  • 138:138/udp
  • 139:139
grizmin

comment created time in 7 days

Pull request review commentmbentley/docker-timemachine

composefile-smb: Added docker compose file for smb.

+version: '3'+services:+  timemachine:+    network_mode: "host"+    environment:+      - CUSTOM_AFP_CONF=false+      - LOG_LEVEL=info+      - MIMIC_MODEL=TimeCapsule6,106+      - TM_USERNAME=timemachine+      - TM_GROUPNAME=timemachine+      - TM_UID=1000+      - TM_GID=1000+      - PASSWORD=timemachine+      - SET_PERMISSIONS=false+      - SHARE_NAME=TimeMachine+      - VOLUME_SIZE_LIMIT=0+    restart: unless-stopped+    ports:+     - "548:548"+     - "636:636"+    volumes:+     - /path/to/your/timemachine/volume:/opt/timemachine+     - ./timemachine-netatalk:/var/netatalk

Same comment on the volumes here with a relative path vs a docker managed volume.

grizmin

comment created time in 7 days

push eventmbentley/docker-timemachine

Konstantin Krastev

commit sha 7a3d3cec9a3956570690db3499f75c6205846c71

bugfix-smb-dirs: /var/lib/samba/private, /var/log/samba/cores

view details

Konstantin Krastev

commit sha 97762abf9cd9d1eae56b794fa4e842225d13709f

bugfix-smb-dirs: removed bash dependency

view details

Matt Bentley

commit sha 6b4cbf4cbd0b19861a7636f080a81a0c64aebdf4

Merge pull request #25 from grizmin/bugfix-smb-dirs bugfix-smb-dirs: /var/lib/samba/private, /var/log/samba/cores

view details

push time in 7 days

pull request commentmbentley/docker-timemachine

bugfix-smb-dirs: /var/lib/samba/private, /var/log/samba/cores

Awesome, like the function mkdir and chown cleanup. I haven’t had a chance to test but just adding a directory certainly won’t impact anything in a negative way. Thanks for the PR! LTGM

grizmin

comment created time in 7 days

pull request commentmbentley/docker-timemachine

bugfix-smb-dirs: /var/lib/samba/private, /var/log/samba/cores

I’ll have to take a look; I hadn’t paid much attention to any errors as everything seemed to be working fine. Also, I don’t see anything you’re doing besides using arrays that actually requires bash right off the bat. Unless there is a reason to add bash, I would prefer to keep it using sh. While it only saves a few MB in size, it’s a few MB.

grizmin

comment created time in 8 days

issue commentmbentley/docker-omada-controller

[RE-OPEN] typo on --publish 29180 UDP port

Ah, thanks, I didn't catch that! Fixed.

proap

comment created time in 8 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 58649b84dd7d79c432b9ef4dd6bf6b5980ef8022

typo in port; Fixes #21 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 8 days

issue closedmbentley/docker-omada-controller

[RE-OPEN] typo on --publish 29180 UDP port

Sorry for re-openning the ticket. What I meant, was that in your docker script launch you have a typo:

-p 29810:29180/udp \

as the documentation mentions it, the port UDP 29810 should be open for EAP discovery. So I think the paramenter should be:

-p 29810:29810/udp \

otherwise, the port UDP29810 is being NATed to the port 29180 on the container which isn't listenning. s

closed time in 8 days

proap

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha d8eb95784d110de59863233e54398220fcc94d69

Updated readme Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 8 days

issue closedmbentley/docker-omada-controller

typo on --publish 29180 UDP port

The option should be -p 29180:29180/udp \

otherwise the controller won't see the AP.

closed time in 8 days

proap

issue commentmbentley/docker-omada-controller

typo on --publish 29180 UDP port

Also, the documentation lists the following:

8043 (TCP) for https, 8088 (TCP) for http, 27001 (UDP) for controller discovery, 27002 (TCP) for controller searching, 27217(TCP) for mongo DB server (This used to be 27017(TCP) before EAP Controller 3.0.0), 29810 (UDP) for EAP discovery, 29811 (TCP) for EAP management, 29812 (TCP) for EAP adoption, 29813 (TCP) for EAP upgrading

To make them easier to read:

8043 (TCP) for https
8088 (TCP) for http
27002 (TCP) for controller searching
27217 (TCP) for mongo DB server (This used to be 27017(TCP) before EAP Controller 3.0.0)
29811 (TCP) for EAP management
29812 (TCP) for EAP adoption
29813 (TCP) for EAP upgrading

27001 (UDP) for controller discovery
29810 (UDP) for EAP discovery

All of those are exposed per the example in the README.md.

proap

comment created time in 8 days

issue commentmbentley/docker-omada-controller

typo on --publish 29180 UDP port

Hmm, I'm using macvan so I don't have any ports exposed manually but I also do not see anything related to 29180 in my netstat output:

# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.11:38373        0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:8043            0.0.0.0:*               LISTEN      -
tcp        0      0 127.0.0.1:27217         0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:29811           0.0.0.0:*               LISTEN      -
tcp        0      0 0.0.0.0:29812           0.0.0.0:*               LISTEN      -
tcp        0      0 192.168.2.160:29811     192.168.0.2:51466       ESTABLISHED -
tcp        0      0 127.0.0.1:27217         127.0.0.1:39944         ESTABLISHED -
tcp        0      0 192.168.2.160:29811     192.168.0.3:41620       ESTABLISHED -
tcp        0      0 127.0.0.1:27217         127.0.0.1:39768         ESTABLISHED -
tcp        0      0 127.0.0.1:27217         127.0.0.1:39628         ESTABLISHED -
tcp        0      0 127.0.0.1:39628         127.0.0.1:27217         ESTABLISHED -
tcp        0      0 127.0.0.1:39768         127.0.0.1:27217         ESTABLISHED -
tcp        0      0 127.0.0.1:39842         127.0.0.1:27217         ESTABLISHED -
tcp        0      0 127.0.0.1:39944         127.0.0.1:27217         ESTABLISHED -
tcp        0      0 192.168.2.160:44414     3.224.113.94:443        ESTABLISHED -
tcp        0      0 127.0.0.1:27217         127.0.0.1:39842         ESTABLISHED -
udp        0      0 127.0.0.11:44801        0.0.0.0:*                           -
udp        0      0 0.0.0.0:29810           0.0.0.0:*                           -
udp        0      0 0.0.0.0:27001           0.0.0.0:*                           -
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path
unix  2      [ ACC ]     STREAM     LISTENING     295669227 -                    /tmp/mongodb-27217.sock
unix  2      [ ]         STREAM     CONNECTED     295686510 -
unix  2      [ ]         STREAM     CONNECTED     295668983 -
proap

comment created time in 8 days

push eventmbentley/docker-in-docker

Matt Bentley

commit sha 01cf7c22532ed90b40d65474aa26283732af0298

Manually start containerd Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 70ba547282064d91ad333731cf4653d4e0ce61e9

Updates for UCP 3.3.x Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 12 days

pull request commentmbentley/docker-omada-controller

Updated entrypoint to set permissions and added gosu

Ah very nice. I have not used a Synology but that makes sense. I appreciate the reasoning behind why it’s helping to solve a problem.

mbentley

comment created time in 13 days

issue commentmoby/moby

Docker fails to create Windows Containers with a file larger than 8gB

Thanks for the detail on the 8GB+ file. I was running into a similar issue trying to help someone containerize an application that also had a bunch of sample data. I tried with many 1 GB files but I failed to try with one single very large file as I wasn't aware of the data might be in a single file which I believe is true in my case as well. I also received the same issue on Windows Server 2016 (10.0.14393.3443)

PS C:\Users\Administrator\Desktop\test> docker version
Client: Docker Engine - Enterprise
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        2ee0c57608
 Built:             11/13/2019 08:00:16
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Enterprise
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.24)
  Go version:       go1.12.12
  Git commit:       2ee0c57608
  Built:            11/13/2019 07:58:51
  OS/Arch:          windows/amd64
  Experimental:     false
PS C:\Users\Administrator\Desktop\test> docker build -t test .
Sending build context to Docker daemon   8.59GB
Step 1/3 : FROM mcr.microsoft.com/windows/servercore:10.0.14393.3443
 ---> c5fa141503c7
Step 2/3 : COPY vim.reg c:/vim.reg
 ---> ae18b54b345d
Step 3/3 : COPY directory c:/directory
re-exec error: exit status 1: output: time="2020-02-03T11:11:49-05:00" level=error msg="hcsshim::ImportLayer - failed failed in Win32: The system cannot find the path specified. (0x3)" error="hcsshim::ImportLayer - failed failed in Win32: The system cannot find the path specified. (0x3)" importFolderPath="D:\\docker\\tmp\\hcs855616843" path="\\\\?\\D:\\docker\\windowsfilter\\de6a0175bfc53935bd1f0fcfb3ad7b08e882753d465a25edc078bbf54cb4bdb3"
hcsshim::ImportLayer - failed failed in Win32: The system cannot find the path specified. (0x3)
TBBle

comment created time in 14 days

push eventmbentley/docker-nginx-php7

Matt Bentley

commit sha cbb8fd68eca6d8618a2025068e6dee95204e8cd3

Switch from supervisor to s6 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha 4849763d06953edca9ea9487c74121b2c075cc19

removed supervisor config for smb Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

push eventmbentley/docker-apt-cacher-ng

Matt Bentley

commit sha b6030256f253f23c682ca45e071512bbb2af5588

Removed supervisor conf Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

push eventmbentley/docker-apt-cacher-ng

Matt Bentley

commit sha 35f9749e2aeec1f03088132fa172e7b3ac9de192

Switched from supervisor to s6 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

create barnchmbentley/docker-s6-example

branch : master

created branch time in 15 days

created repositorymbentley/docker-s6-example

Simple s6 example for Docker

created time in 15 days

delete branch mbentley/docker-timemachine

delete branch : smb-supervisor-to-s6

delete time in 15 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha 77c2d51cfa472b49197ff4dd002c8c19c78b521f

Switch from supervisor to s6 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 59b123a4072abe217707fedefaafd316f92ce326

Merge pull request #24 from mbentley/smb-supervisor-to-s6 Switch from supervisor to s6

view details

push time in 15 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha 77c2d51cfa472b49197ff4dd002c8c19c78b521f

Switch from supervisor to s6 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha c801c008b9efde05edf7429ac5ec12d9170c9878

Switch debug from 2 to 1 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

PR opened mbentley/docker-timemachine

Switch from supervisor to s6

Signed-off-by: Matt Bentley mbentley@mbentley.net

+28 -3

0 comment

7 changed files

pr created time in 15 days

create barnchmbentley/docker-timemachine

branch : smb-supervisor-to-s6

created branch time in 15 days

delete branch mbentley/docker-timemachine

delete branch : smb-multiple-users

delete time in 15 days

push eventmbentley/docker-timemachine

Matt Bentley

commit sha ee443085be30ebad80a94ff26ed7348f4ec9a141

Clarify env vars in readme Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 496c271b40b6291c870cd3faecf869ceb7bccac8

Merge pull request #23 from mbentley/smb-multiple-users Clarify env vars in readme

view details

push time in 15 days

PR opened mbentley/docker-timemachine

Clarify env vars in readme

Signed-off-by: Matt Bentley mbentley@mbentley.net

+2 -2

0 comment

1 changed file

pr created time in 15 days

push eventmbentley/dockerfile.vim

Matt Bentley

commit sha c090dc0529ad96285bbe17e40cb279e2f4776552

0.5 -> 0.6 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 15 days

CommitCommentEvent

delete branch mbentley/docker-omada-controller

delete branch : enhance-entrypoint

delete time in 16 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 7e05bd80841f2462ca6e5a9db4d1a512df2d4cf4

Updated entrypoint to set permissions and added gosu Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 871c6bd63e0fa4ca82df422c72b121f528772620

Merge pull request #19 from mbentley/enhance-entrypoint Updated entrypoint to set permissions and added gosu

view details

push time in 16 days

create barnchmbentley/docker-omada-controller

branch : enhance-entrypoint

created branch time in 16 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 5bfa00295cb2ef096a5a62e5edc5f125f437b316

Updated README and added gid check Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

CommitCommentEvent
CommitCommentEvent
CommitCommentEvent

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 273c66712d570b80384a1735401e07bf54713798

Moved setting default TZ from Dockerfile to entrypoint Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

pull request commentmbentley/docker-omada-controller

Added docs about persistent data permissions; fixes #11

Thanks for the heads up. I added an entrypoint script to handle that https://github.com/mbentley/docker-omada-controller/pull/18

mbentley

comment created time in 16 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 27dc624a828ceac1b5ac53a46750cf2845a055a3

Added entrypoint to create directory and add checks Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 853a21ad8ca442560ead4ee79a6dcd101971cbc2

Merge pull request #18 from mbentley/add-entrypoint Added entrypoint to create directory and add checks

view details

push time in 16 days

create barnchmbentley/docker-omada-controller

branch : add-entrypoint

created branch time in 16 days

push eventmbentley/docker-airsonic

Matt Bentley

commit sha 918620cca6b2b1e13843c42ae83a890e9dc30eef

updated readme Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

push eventmbentley/docker-airsonic

Matt Bentley

commit sha 6e074299dea2421afd11620cc0d13fb91abdb9a8

No need to link to the log; it rotates Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

push eventmbentley/docker-airsonic

Matt Bentley

commit sha e4ab97dbd89cd69038131b42f416357bb8531264

Updated entrypoint Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

push eventmbentley/docker-libresonic

Matt Bentley

commit sha c441e94a25e387d076aac3008c28ff4afac7fb8f

updated readme to deprecate Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

push eventmbentley/docker-airsonic

Matt Bentley

commit sha 18780b586e3a8473e64f2386fd09b38358a85831

Updates for airsonic Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 16 days

create barnchmbentley/docker-airsonic

branch : master

created branch time in 16 days

created repositorymbentley/docker-airsonic

docker image for airsonic

created time in 16 days

create barnchmbentley/docker-open-files

branch : master

created branch time in 17 days

created repositorymbentley/docker-open-files

created time in 17 days

push eventmbentley/docker-get-dtr-cve-db

Matt Bentley

commit sha 47112268e01dcf92ffcbc09caa61010ea0a57db9

Updates for v3 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

push time in 18 days

issue closedmbentley/docker-omada-controller

errors during start and stop

hi,

thanks for providing these docker images.

During runtime of the container, I get the following error messages:

Exception in thread "Thread-0" java.lang.IllegalArgumentException: URI is not hierarchical
        at java.io.File.<init>(File.java:418)
        at com.tp_link.eap.util.g.a.a(SourceFile:47)
        at com.tp_link.eap.configuration.b.a(SourceFile:58)
        at com.tp_link.eap.util.o.c(SourceFile:443)
        at com.tp_link.eap.util.o.b(SourceFile:434)
        at com.tp_link.eap.start.f.run(SourceFile:35)
startup...
Nov 09, 2019 4:26:56 AM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 4.3.1.Final
Omada Controller started
ShutdownHook: service stopped.
Exception in thread "Thread-0" java.lang.IllegalArgumentException: URI is not hierarchical
        at java.io.File.<init>(File.java:418)
        at com.tp_link.eap.util.g.a.a(SourceFile:47)
        at com.tp_link.eap.configuration.b.a(SourceFile:58)
        at com.tp_link.eap.util.o.c(SourceFile:443)
        at com.tp_link.eap.util.o.b(SourceFile:434)
        at com.tp_link.eap.start.f.run(SourceFile:35)
startup...
Nov 09, 2019 1:05:55 PM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 4.3.1.Final
Omada Controller started


ShutdownHook: service stopped.

closed time in 19 days

mbiebl

delete branch mbentley/docker-omada-controller

delete branch : add-permissions-docs

delete time in 19 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha ad6c2c4dd78f42d6791d081d4e50d57595f19d1d

Added docs about persistent data permissions; fixes #11 Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 2c13820664b530f7bd63c2cb46dab80ff6a9e301

Merge pull request #17 from mbentley/add-permissions-docs Added docs about persistent data permissions; fixes #11

view details

push time in 19 days

issue closedmbentley/docker-omada-controller

Error starting up on Docker on OpenMediaVault

Pulled and installed the image Added PUID and GUID to match owner of the 3 file systems

I get this at startup: SLF4J: com.tp_link.eap.util.m.a SLF4J: The following set of substitute loggers may have been accessed SLF4J: during the initialization phase. Logging calls during this SLF4J: phase were not honored. However, subsequent logging calls to these SLF4J: loggers will work as normally expected. SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger Exception in thread "Thread-0" java.lang.IllegalArgumentException: URI is not hierarchical at java.io.File.<init>(File.java:418) at com.tp_link.eap.util.g.a.a(SourceFile:47) at com.tp_link.eap.configuration.b.a(SourceFile:58) at com.tp_link.eap.util.o.c(SourceFile:443) at com.tp_link.eap.util.o.b(SourceFile:434) at com.tp_link.eap.start.f.run(SourceFile:35)

and then IO failing ` 2019-11-24 22:05:42,374 main ERROR Unable to create file /opt/tplink/EAPController/logs/server.log java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:574) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:554) at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:112) at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:155) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:131) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:60) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:122) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at com.tp_link.eap.start.b.a.a.<clinit>(SourceFile:15) at com.tp_link.eap.start.EapLinuxMain.b(SourceFile:59) at com.tp_link.eap.start.EapLinuxMain.main(SourceFile:19)

2019-11-24 22:05:42,425 main ERROR Unable to inject fields into builder class for plugin type class org.apache.logging.log4j.core.appender.RollingFileAppender, element RollingFile. java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@59f99ea] unable to create manager for [/opt/tplink/EAPController/logs/server.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@27efef64[pattern=/opt/tplink/EAPController/logs/server_%d{yyyy-MM-dd}_%i.log.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true), SizeBasedTriggeringPolicy(size=20971520)]), strategy=DefaultRolloverStrategy(min=-2147483648, max=2147483647, useMax=false), advertiseURI=null, layout=%-d{yyyy-MM-dd HH:mm:ss} [%t] [%p]-[%F:%L] - %m%n]] at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114) at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:114) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:155) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:131) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:60) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:122) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at com.tp_link.eap.start.b.a.a.<clinit>(SourceFile:15) at com.tp_link.eap.start.EapLinuxMain.b(SourceFile:59) at com.tp_link.eap.start.EapLinuxMain.main(SourceFile:19)

2019-11-24 22:05:42,429 main ERROR Unable to invoke factory method in class class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile. java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:224) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:130) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:952) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:892) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:884) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:508) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:232) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:244) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:545) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:617) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:634) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:229) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:122) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:46) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at com.tp_link.eap.start.b.a.a.<clinit>(SourceFile:15) at com.tp_link.eap.start.EapLinuxMain.b(SourceFile:59) at com.tp_link.eap.start.EapLinuxMain.main(SourceFile:19)

2019-11-24 22:05:42,446 main ERROR Null object returned for RollingFile in Appenders. 2019-11-24 22:05:42,449 main ERROR Unable to locate appender "RollingFile" for logger config "root" 2019-11-24 22:05:42,450 main ERROR Unable to locate appender "RollingFile" for logger config "org"`

closed time in 19 days

khalkhal

create barnchmbentley/docker-omada-controller

branch : add-permissions-docs

created branch time in 19 days

issue commentmbentley/docker-omada-controller

Error starting up on Docker on OpenMediaVault

Ah sorry, I didn't get notifications of your issue. Sounds like one of you bind mounts has permissions that are not working. You will need to do a chown 508:508 /path/to/your/bind/mount to make sure the non-root user has appropriate access. I am going to submit a docs PR to fix that.

khalkhal

comment created time in 19 days

issue commentmbentley/docker-omada-controller

errors during start and stop

@mbiebl - think this is good to close as being fixed in 3.2.6 then? I haven't paid attention to the logs.

mbiebl

comment created time in 19 days

issue closedmbentley/docker-omada-controller

access container from outside the localhost

In order to access the container from the LAN side, it was needed to specify 0.0.0.0 when publishing the ports. ex: "-p 0.0.0.0:8088:8088/tcp"

closed time in 19 days

proap

issue commentmbentley/docker-omada-controller

access container from outside the localhost

It's not necessary to specify 0.0.0.0. That's the default.

proap

comment created time in 19 days

issue closedmbentley/docker-teamspeak

Expose new Port 10022

Can you please expose the new port (10022) for the ServerQuery via SSH?

see: https://forum.teamspeak.com/threads/136554-Release-TeamSpeak-3-Server-3-3-0-amp-3-3-1

closed time in 19 days

BenjaminBoehm

created repositorymbentley/testrepo1

created time in 19 days

push eventmbentley/docker-omada-controller

Matt Bentley

commit sha 951c698dbaa99e645ebc333fd44c0624671d110a

Reverted the disabling of mongodb journaling Signed-off-by: Matt Bentley <mbentley@mbentley.net>

view details

Matt Bentley

commit sha 7f5924bf92ed3a06b7f9e176d1b511c33062074b

Merge pull request #16 from mbentley/revert-mongo-journaling Reverted the disabling of mongodb journaling

view details

push time in 19 days

create barnchmbentley/docker-omada-controller

branch : revert-mongo-journaling

created branch time in 19 days

push eventmbentley/docker-omada-controller

Michael Biebl

commit sha 97c67194226dabc9cec7b0a0a1adb6bc5f5a6d51

Export ports required for EAP management https://www.tp-link.com/us/support/faq/865/ Q4: Which ports does EAP Controller use? ... 29810 (UDP) for EAP discovery, 29811 (TCP) for EAP management, 29812 (TCP) for EAP adoption, 29813 (TCP) for EAP upgrading. Fixes #4

view details

Michael Biebl

commit sha abeaaf8020fc1076a191c779deabcee8945e030a

Export ports for controller discovery and searching https://www.tp-link.com/us/support/faq/865/ Q4: Which ports does EAP Controller use? ... 27001 (UDP) for controller discovery, 27002 (TCP) for controller searching,

view details

Michael Biebl

commit sha 7ce3a263e149936604c0bc44fc4c9839c74939d3

Install tzdata This ensures that time will be set properly if TZ is being used. Without tzdata, timestamps in mongod.log will be off (mongod falls back to UTC). While at it, drop libcap-dev, doesn't appear to be necessary.

view details

Michael Biebl

commit sha f63410bf89d96c8546333d8683b86f6d2186f42d

Update README.md about how to specify the timezone

view details

Michael Biebl

commit sha 50c9390b85bfc15f6b6d3515782eca419d954950

Run wget in non-verbose mode

view details

Michael Biebl

commit sha d7325bb30d767433d955bba912e39e05441af920

Merge RUN statements to avoid creating an additional layer Add some debug output during the build process for the various stages.

view details

Matt Bentley

commit sha bde8f59879d2b26310b2eb8976688d3d8e31054d

Merge pull request #15 from mbiebl/for-upstream Various changes from mbiebl/docker-omada-controller

view details

push time in 19 days

issue closedmbentley/docker-omada-controller

eap discovery not working using docker run example

The docker run example doesn't forward the necessary ports to enable eap discovery. I have got it working with:

docker run -d --name omada-controller --restart unless-stopped -p 8088:8088 -p 8043:8043 -p 29810:29810/udp -p 29811:29811 -p 29812:29812 -p 29813:29813 -v omada-data:/opt/tplink/EAPController/data -v omada-work:/opt/tplink/EAPController/work -v omada-logs:/opt/tplink/EAPController/logs mbentley/omada-controller

Please fix the read.me Testen on Synology DS918+

closed time in 19 days

stefan-svandijk-nl

PR merged mbentley/docker-omada-controller

Various changes from mbiebl/docker-omada-controller

I've cherry-picked the changes from my fork which I think are suitable for upstream.

+19 -8

3 comments

2 changed files

mbiebl

pr closed time in 19 days

delete branch mbentley/docker-omada-controller

delete branch : revert-9-master

delete time in 19 days

pull request commentmbentley/docker-omada-controller

Disable MongoDB journaling

I'll merge your PR as is and this won't be in the resulting image. Problem solved :) Thanks for the extra set of eyes.

danie1k

comment created time in 19 days

create barnchmbentley/docker-omada-controller

branch : revert-9-master

created branch time in 19 days

pull request commentmbentley/docker-omada-controller

Disable MongoDB journaling

I'm only using about 300 MB myself.

danie1k

comment created time in 19 days

pull request commentmbentley/docker-omada-controller

Disable MongoDB journaling

Good catch.

With journaling enabled, if mongod stops unexpectedly, the program can recover everything written to the journal. MongoDB will re-apply the write operations on restart and maintain a consistent state.

Sounds like something that could easily happen when running in a Docker container :)

danie1k

comment created time in 19 days

created repositorymbentley/testrepo1

created time in 19 days

pull request commentmbentley/docker-omada-controller

Various changes from mbiebl/docker-omada-controller

@mbiebl - could you make one last change for me? Could you implement this in the RUN at the end so we disable MongoDB journaling?

https://github.com/mbentley/docker-omada-controller/blob/master/Dockerfile.v3.2.x#L34-L35

mbiebl

comment created time in 19 days

PR closed mbentley/docker-omada-controller

Updated to Omada Controller version 3.2.4

Hey. Thanks for creating this Docker container. In this pull request, I updated to Omada version 3.2.4 (which they just put online) Fixed an issue where the Dockerfile would try to CD to a wrong path Removed some excessive verbose Added some comments during build Updated readme file

+8 -5

2 comments

2 changed files

yaronr

pr closed time in 19 days

pull request commentmbentley/docker-omada-controller

Updated to Omada Controller version 3.2.4

@yaronr - sorry for missing the PR. Apparently I accidentally unsubscribed from notifications for this repo. I'm going to close this in favor of #15 as there are more changes there.

yaronr

comment created time in 19 days

more