Closed clee closed 9 months ago
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-unifi-network-application:7.5.176-pkg-3f48ad74-dev-514af1526bd5fbc2d60a46f056f7ab2802798411-pr-19
I didn't encounter the dbOwner requirement when performing a restore, but there's no real harm in using it over readWrite in this instance so I've no problem updating the readme. However, you need to make the changes to readme-vars.yml as per the contributing guidelines, because the readme.md is generated on build and any changes made to it will be overwritten.
I didn't encounter the dbOwner requirement when performing a restore, but there's no real harm in using it over readWrite in this instance so I've no problem updating the readme. However, you need to make the changes to readme-vars.yml as per the contributing guidelines, because the readme.md is generated on build and any changes made to it will be overwritten.
Changes made to readme-vars.yml and pushed.
I am a bot, here is the pushed image/manifest for this PR:
ghcr.io/linuxserver/lspipepr-unifi-network-application:7.5.176-pkg-3f48ad74-dev-5d4ea38d1e39be6186572b99f5ce8bc42743a169-pr-19
Description:
Update the instructions for initializing MongoDB, as the provided instructions led to errors when I followed them.
Benefits of this PR and context:
closes #12
How Has This Been Tested?
c91e20ea07438
unifi
database and one for theunifi_stats
database. This created two separate users in mongoDB,unifi.unifi
andunifi_stats.unifi
, with distinct UUIDs.unifi
database in mongo and attempt startup, but produced errors in the unifi server.log,not authorized on unifi_stat to execute command { listCollections: 1
.unifi.unifi
user to add{ 'role': 'readWrite', 'db': 'unifi_stat' }
allows the unifi server to start up successfully, but attempting to import my backup produced a new error in server.log:not authorized on unifi to execute command { dropDatabase: 1, $db: "unifi"
. Apparently importing a backup requires the ability to drop the database.dbOwner
instead ofreadWrite
for both databases, and finally was able to successfully import my backup and run the unifi-network-application image.Source / References:
None