Skip to content

Update README.md with corrected mongo-init.sh #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

rdehuyss
Copy link

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description:

Add new required role clusterMonitor for mongo in init-mongo.sh example in the readme.md.

Benefits of this PR and context:

Docker image lscr.io/linuxserver/unifi-network-application:9.1.120 does not work with the current documentation.
This PR fixes the init-mongo.sh example and adds the required role.

How Has This Been Tested?

  • I first followed the installation to the letter using docker.io/mongo:8.0.9 and unifi-network-application:9.1.120 in docker-compose.yml. The Unifi Controller in Docker keeps restarting and spamming server.log
  • I fixed the mongo-init.sh script, cleared all data and restarted. All is working again.

Source / References:

Add new required role `clusterMonitor` for mongo in `init-mongo.sh`.

See also 
https://community.ui.com/questions/External-Mongodb-question/2ae888c9-978c-4fd6-9032-a80a8b9f96d8
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this pull request! Be sure to follow the pull request template!

@LinuxServer-CI
Copy link
Contributor

I am a bot, here is the pushed image/manifest for this PR:

ghcr.io/linuxserver/lspipepr-unifi-network-application:9.1.120-pkg-b44959ec-dev-cf050f06e1e3c8de9a521e7e9fa2e7f8c55c2d96-pr-154

@Roxedus
Copy link
Member

Roxedus commented May 29, 2025

As noted in the contributing guideline, this change will get overwritten

@rdehuyss rdehuyss mentioned this pull request May 29, 2025
1 task
@rdehuyss
Copy link
Author

Closed as replaced by #155.

@rdehuyss rdehuyss closed this May 29, 2025
@LinuxServer-CI LinuxServer-CI moved this from PRs to Done in Issue & PR Tracker May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants