Giter VIP home page Giter VIP logo

unifi-network-application's Introduction

unifi-network-application's People

Contributors

giuseppegalilei 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

unifi-network-application's Issues

ERROR when install.sh runs

Is anyone else getting this error when running install.sh? I get this error and the dockers are not created (obviously since the docker-compose.yml file isn't interpreted correctly):

ERROR: In file './docker-compose.yml', service 'name' must be a mapping not a string.

Error on install.sh - Wainting containers to start

I use Debian12 and installed docker-compose.

`Enter an absolute path to place the installation directory (or press Enter for the home folder): /mnt/Docker/Unifi
Installation directory already exists. Grant sudo access and let the script handle it, or delete it manually and restart the script.

Enter the password for the database (or press Enter for the default value: pass):

ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'

You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
services.unifi-network-application.depends_on contains unsupported option: 'required'
Waiting for containers to start...
Waiting for containers to start...
Waiting for containers to start...
Waiting for containers to start...
`

It creates some folders at the paths. Thats it.
After: "Waiting for containers to start..." nothing happens

Error when Docker compose up -d

Hello Giuseppe,

i've an issue with the command docker compose up-d

unknown shorthand flag: 'd' in -d
See 'docker --help'.

thank you for your work ๐Ÿ‘

Unable to Create Directories

Good Evening Giuseppe!
Thank you so much for this script it looks amazing!

My Issue: Unable to create directories at the path "/docker".

Error output from the script below.

Enter an absolute path to place the installation directory (or press Enter for the home folder): /docker
mkdir: cannot create directory โ€˜/docker/unifiโ€™: Permission denied

Recreate issue: Run the single line with or without the sudo command and use the absolute path "/docker".

/docker and its recursive directories are owned by root as they were created by the docker RUN command.

Is there any way to run this command as a sudoer or work around this?

Could not find user unifi@#optional

I copied your generic version and gave it a spin, but I cannot get it to work. These are the logs from "docker logs unifi-db"
Error message is "UserNotFound: Could not find user unifi@#optional"

The web page does not load

2024-02-10T13:30:03.693+0000 I ACCESS   [conn755] SCRAM-SHA-1 authentication failed for unifi on #optional from client 192.168.96.3:51506 ; UserNotFound: Could not find user unifi@#optional
2024-02-10T13:30:03.693+0000 I NETWORK  [conn755] end connection 192.168.96.3:51506 (2 connections now open)
2024-02-10T13:30:03.694+0000 I NETWORK  [conn754] end connection 192.168.96.3:51496 (1 connection now open)
2024-02-10T13:30:04.191+0000 I NETWORK  [listener] connection accepted from 192.168.96.3:51522 #756 (2 connections now open)
2024-02-10T13:30:04.191+0000 I NETWORK  [conn756] received client metadata from 192.168.96.3:51522 conn756: { driver: { name: "mongo-java-driver|sync", version: "4.6.1" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "6.5.0-17-generic" }, platform: "Java/Private Build/17.0.9+9-Ubuntu-122.04" }
2024-02-10T13:30:04.194+0000 I NETWORK  [listener] connection accepted from 192.168.96.3:51528 #757 (3 connections now open)
2024-02-10T13:30:04.194+0000 I NETWORK  [conn757] received client metadata from 192.168.96.3:51528 conn757: { driver: { name: "mongo-java-driver|sync", version: "4.6.1" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "6.5.0-17-generic" }, platform: "Java/Private Build/17.0.9+9-Ubuntu-122.04" }
2024-02-10T13:30:04.195+0000 I ACCESS   [conn757] SCRAM-SHA-1 authentication failed for unifi on #optional from client 192.168.96.3:51528 ; UserNotFound: Could not find user unifi@#optional
2024-02-10T13:30:04.196+0000 I NETWORK  [conn757] end connection 192.168.96.3:51528 (2 connections now open)
2024-02-10T13:30:04.197+0000 I NETWORK  [conn756] end connection 192.168.96.3:51522 (1 connection now open)

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.