Coder Social home page Coder Social logo

unifi-docker's People

Contributors

3dinfluence avatar danielmuller avatar drewgwallace avatar dwaler avatar hemsleyk avatar hinni avatar jacobalberty avatar jcberthon avatar jinie avatar jpvriel-sb avatar sheurich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unifi-docker's Issues

Site Migration - Instance doesn't recover after reboot

I created everything you did here after finding this fork off of a write up on Reddit I found. I replicated the entire site - actually several times and have attempted to import my old site running on Windows to this server / docker. At the beginning, with the data folders mapped to my home directory as in your README, I select to restore from a backup and upload my file. As soon as that happens the site goes to "reboot" but just shuts down. With Portainer I see it's stopped and I then restart it, which looks like it collected the data but I can never log in. The password is blown up and even docker exec bashing in and playing with Mongo I can find no data. It actually looks like it's looking in an empty database, one that isn't in the data folder at all. At that point I'm unable to continue and have tried multiple things to get this working.

Any ideas on what else I can try? I did try to start the container, go through the wizard, then import my site with the same results. Import, does stuff, reboots, and back to the same instance but no data import. Imported back to my old controller to troubleshoot and it works there. Thanks in advance. Let me know what data I can put together if needed.

unifi cannot start. Please create unifi user, and chown -R unifi /var/lib/unifi /var/log/unifi /var/run/unifi

Since Unifi Controller 5.7 and for the LTS branch for 5.6.36 and newer (the 5.6.31 was still working), the controller fails to start with the following error:

unifi cannot start. Please create unifi user, and chown -R unifi /var/lib/unifi /var/log/unifi /var/run/unifi

The problem is due to capabilities. I will have to remove a security feature I had implemented and which worked since last summer because Unifi messed-up the feature.

Actually, back in summer 2017, I implemented several security feature in my Unifi Controller container. First I dropped all capabilities (Linux privilege access feature) and then I created a Unifi user which run the controller instead of root. Unifi has since been implementing these features which broke several times my container. And lastly I'm very annoyed because they do try to dropped a lot of capabilities, but before doing that they increase their capability set. Therefore forcing me to increase mine at the container level. But at the container level I control the set for both their Java application (for which they drop some) but also for the MongoDB database (for which they do not drop any). Therefore I'm not happy that the obvious solution to fix the issue (increasing the capability set) will reduce the overall security of my container. Not cool Unifi!

Switching stable to new 5.7 branch

Ubiquiti has now 5.7 has the stable branch and 5.6 as the old stable or LTS.

Automated build needs to be updated to reflect the new versioning.

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.