IceWhaleTech / CasaOS-AppStore

Manifest files for CasaOS Apps
Apache License 2.0
154 stars 253 forks source link

[App Request] Unifi Network Application #371

Closed GiuseppeGalilei closed 5 months ago

GiuseppeGalilei commented 6 months ago

App Information

Why do you want this app?

I noticed that CasaOS Appstore currenty delivers Unifi Controller as linuxserver/unifi-controller:8.0.7, however this container wll not be mantained starting from 01/01/2024, you can read more about it here The replacement is linuxserver/unifi-network-application. This contaner however requires quite a bit more configuration compared to before, anyone willing to take a look at it? Thanks!

GiuseppeGalilei commented 6 months ago

I'm trying to work on this issue, however I'm encountering issues while deploying the mongodb container, I'm using version 3.6. I'm getting this error Unable to determine status of lock file in the data directory /data/db: boost::filesystem::status: Permission denied: "/data/db/mongod.lock", terminating I would normaly try to solve it by changing permissions on the target folder manually, however given that i'm trying to create a compose file to share, this is not viable.

to reproduce it, use the compose file here at Apps/MongoDB4/docker-compose.yml and change version to 3.6 Any idea on how to solve it?

UPDATE: I managed to get it working, however there are a few thngs to consider: -the permission problem was solved by downgrading casaos to vesion 0.4.4-2, the bug was already reported on the main casaos repo here -I choose version 3.6 for mongo because I'm working with a raspberry pi 3 and mongo in newer versions needs ARMv8.2, while raspberry pis (even the newer pi4) have ARMv8-A. -It is workng, however Unifi Network Application is fairly memory hungry, quickly saturates the pi 1gb of memory, anyone knows if this is fixable?