Coder Social home page Coder Social logo

mattfryer / hassio-addons Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 14.0 98 KB

My personal add-ons for Home Assistant. Most are wrappers for existing Docker images.

License: GNU General Public License v3.0

Dockerfile 9.56% Shell 90.44%
add-on hassio home-assistant homeassistant omada omada-controller tp-link

hassio-addons's People

Contributors

mattfryer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hassio-addons's Issues

Not able to start addon TPLINK Omada.

HI,

Im trying to run the application but it isnt really starting because of failing mongodb.

INFO: Time zone set to 'Europe/Amsterdam'
INFO: Starting Omada Controller as user omada
tail: cannot open '/opt/tplink/EAPController/logs/server.log' for reading: No such file or directory
tail: '/opt/tplink/EAPController/logs/server.log' has appeared; following new file
2022-04-01 15:37:40 [log4j-thread] [INFO]-[SourceFile:29] - success to load configuration omada.properties
2022-04-01 15:37:40 [main] [INFO]-[SourceFile:91] - going to start local mongod.
2022-04-01 15:39:20 [main] [WARN]-[SourceFile:151] - Fail to start mongo DB server
2022-04-01 15:39:20 [main] [WARN]-[SourceFile:78] - com.tplink.omada.start.a.a: Fail to start mongo DB server
com.tplink.omada.start.a.a: Fail to start mongo DB server
at com.tplink.omada.start.b.d.a(SourceFile:152) ~[omada-start.jar:?]
at com.tplink.omada.start.b.b.e(SourceFile:75) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaBootstrap.d(SourceFile:224) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaBootstrap.r(SourceFile:309) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaBootstrap.a(SourceFile:101) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaBootstrap.e(SourceFile:246) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaLinuxMain.b(SourceFile:80) ~[omada-start.jar:?]
at com.tplink.omada.start.OmadaLinuxMain.main(SourceFile:25) ~[omada-start.jar:?]

Settings lost for Omada Controller everytime Hassio reboots

I've had Omada Controller running on Portainer before I found this amazing addon. Every since I cleaned up un-used images and volumes on Portainer, every reboot of Hassio my Omada configuration from this addon is deleted. I've already reinstalled Portainer and this addon without success.

The log doesn't show any useful information:

INFO: Starting Omada Controller as user omada
tail: cannot open '/opt/tplink/EAPController/logs/server.log' for reading: No such file or directory
tail: '/opt/tplink/EAPController/logs/server.log' has appeared;  following new file
2021-11-21 22:14:36 [log4j-thread] [INFO]-[SourceFile:29] - success to load configuration omada.properties
2021-11-21 22:14:39 [main] [INFO]-[SourceFile:91] - going to start local mongod.
2021-11-21 22:14:42 [main] [INFO]-[SourceFile:167] - mongodb process id is 43
2021-11-21 22:14:42 [main] [INFO]-[SourceFile:148] - Mongo DB server started
2021-11-21 22:15:41 [main] [INFO]-[SourceFile:193] - User do not configure max.device, use defaultValue 1500.
2021-11-21 22:15:56 [main] [INFO]-[SourceFile:38] - monitor context initialing...
2021-11-21 22:15:58 [main] [INFO]-[SourceFile:193] - User do not configure max.device, use defaultValue 1500.
2021-11-21 22:15:59 [main] [INFO]-[SourceFile:193] - User do not configure max.device, use defaultValue 1500.
2021-11-21 22:16:04 [main] [INFO]-[SourceFile:463] - restart all customize tasks.
2021-11-21 22:16:04 [main] [INFO]-[SourceFile:471] - GeneralSetting not exist?may be quick setup unfinished. Skip Global Dst Job.
2021-11-21 22:16:04 [main] [INFO]-[SourceFile:73] - DisconnectRequestServer start
2021-11-21 22:16:10 [device-discovery-server] [INFO]-[SourceFile:59] - Start device discovery server
2021-11-21 22:16:10 [device-manage-server] [INFO]-[SourceFile:116] - Start device manage server
2021-11-21 22:16:10 [device-adopt-server] [INFO]-[SourceFile:87] - Start device adopt server
2021-11-21 22:16:12 [main] [INFO]-[SourceFile:152] - no need to compatible db.
2021-11-21 22:16:12 [main] [INFO]-[SourceFile:20] - Omada Controller started
2021-11-21 22:16:12 [site-event-bus-0] [INFO]-[SourceFile:107] - Success sending config to devices.
2021-11-21 22:16:12 [site-event-bus-0] [WARN]-[SourceFile:439] - restart hotspot task failed, site : Default, timeZone : null
2021-11-21 22:16:19 [qtp809300666-76] [WARN]-[HttpChannel.java:593] - /modules/settings/maintenance/models-e8ebc4bd54.js java.io.IOException: Close org.eclipse.jetty.server.HttpConnection$SendCallback@345430f0[PROCESSING][i=null,cb=org.eclipse.jetty.server.HttpChannel$SendCallback@5fa91883] in state PROCESSING```

Not working on new HA version

Not sure if this is still an active project, but I've been using this add-on for a while and it recently stopped working after a few updates of HA, giving me this error:
INFO: Time zone set to 'America/New_York'
INFO: Starting Omada Controller as user omada
tail: cannot open '/opt/tplink/EAPController/logs/server.log' for reading: No such file or directory
tail: '/opt/tplink/EAPController/logs/server.log' has appeared; following new file
2023-02-08 21:03:30 [log4j-thread] [INFO]-[SourceFile:29] - success to load configuration omada.properties
2023-02-08 21:03:31 [main] [INFO]-[SourceFile:91] - going to start local mongod.
2023-02-08 21:04:01 [main] [ERROR]-[SourceFile:115] - Failed to delete old mongod.lock, exit starting mongod
2023-02-08 21:04:03 [main] [WARN]-[SourceFile:239] - Failed to stop mongod, pid is null
2023-02-08 21:04:33 [main] [ERROR]-[SourceFile:273] - Failed to delete old mongod.lock, exit repair mongod

I reinstalled and get this error:
INFO: Time zone set to 'America/New_York'
INFO: Omanda Controller directory missing; creating '/data/omada_controller'
done
WARNING: owner or group (0:0) not set correctly on '/opt/tplink/EAPController/work'
INFO: setting correct permissions
WARNING: owner or group (0:0) not set correctly on '/opt/tplink/EAPController/logs'
INFO: setting correct permissions
INFO: Database directory missing; creating '/data/omada_controller/data'
done
INFO: Starting Omada Controller as user omada
error: failed switching to "omada": unable to find user omada: no matching entries in passwd file
error: failed switching to "omada": unable to find user omada: no matching entries in passwd file

After some searching, seems like others are experiencing the same issue on recent versions:
https://community.home-assistant.io/t/hass-tp-link-omada-integration/286918/9

Omada Controller not starting v0.3.4

INFO: Time zone set to 'Asia/Dubai'
WARNING: owner or group (0:0) not set correctly on '/opt/tplink/EAPController/work'
INFO: setting correct permissions
WARNING: owner or group (0:0) not set correctly on '/opt/tplink/EAPController/logs'
INFO: setting correct permissions
INFO: Starting Omada Controller as user omada
error: failed switching to "omada": unable to find user omada: no matching entries in passwd file
error: failed switching to "omada": unable to find user omada: no matching entries in passwd file

Error: Could not find or load main class com.tplink.omada.start.OmadaLinuxMain

INFO: Time zone set to 'America/Toronto'
INFO: Starting Omada Controller as user omada
tail: cannot open '/opt/tplink/EAPController/logs/server.log' for reading: No such file or directory
Error: Could not find or load main class com.tplink.omada.start.OmadaLinuxMain

I get this error when disabling ssl and starting the container. I've checked with Portainer to make sure there are no duplicate containers and have deleted all the Omada images before reinstalling this addon. Error still persists.

Use Letsencrypt certs for https

Thanks for the addon, exactly what I was looking for! One feature request though: it would be great to be able to use the letsencrypt certs generated by for example the duckdns add-on.

amd64 support

Hi, I would really like to run this on my nuc as I just got my first EAP, so I would really appreciate support for amd64 architecture.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.