-
Notifications
You must be signed in to change notification settings - Fork 424
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
Unifi network application #374
Unifi network application #374
Conversation
The dashboard is on port 8443. |
have you followed the instructions about the init-mongo.js file? |
Other useful information can be found here: |
First of all, thank you very much for your contribution. We truly appreciate it! Due to the fact that many CasaOS users lack the necessary software coding and configuration skills, we are unable to recommend this app for inclusion in the Apptore. If you believe that there is a subset of users who would benefit from it, we invite you to reach out to ETWang in IceWhale Server on Discord. We can provide a simple manual configuration tutorial on our forum to assist those who are interested. We highly value user feedback and strive to meet the needs of our community. If you have any other suggestions or questions, please feel free to contact us.🥺 |
Thanks for the review. In thinking about this process I took inspiration from the NginxProxyManager app, which has some clear instructions about install process, requiring to free some ports. A nice way would be to automatically create the init file on deployment, to make it a truly one click experience, however I don't know how to do that. Did you find any particular issue in the deployment process? I'll be happy to help. |
We are evaluating upgrading the Docker Compose engine to the latest version, which provides support for inline files. However this would require some time, because such change would involve some change in UI. If it is convenient for u, would u be able to help with testing the latest Docker Compose engine for this feature? |
Cool! This would be perfect! So, to better understand your point of view, the only issue you encountered was the creation of the init file? |
Not the only problem. I tried creating the file and installing Unifi again. I still can't get into the app with the same issue (404). I think this is caused by my wrong operation. So I think users only need to click once to use it. Otherwise, it's a hassle for most CasaOS users like me who don't like reading long tutorials. 🤣 |
I get it, but the tutorial is not that long 🤣 Quick idea: The problems you are encountering might be related to this issue, in my case I "solved" it by downgrading to CasaOS 0.4.4-2, sorry for not mentioning it before. |
|
Thanks! Seems like mongo is not using the init file, the rest is working fine. Keep in mind that such file is used only on the very first deployment of the container. then, you should follow this instructions in the correct order:
Keep me posted 😉 |
Thanks, It is working now😄 |
Awesome!
|
@CorrectRoadH any news? |
In our upcoming release, we've upgraded Docker Compose engine to accomodate inline file. Once it's out, we will need your help to update your compose YAML with the inline file you mentioned, and get it tested. |
Cool! I'll work on it in the coming days. Any advice you can give me about the file inline feature? |
@CorrectRoadH @tigerinus the new deployment seems to work correctly, can you confirm it? I guess the last thing to do is to rewrite the app description and decide what to do with the optional ports:
Should I enable them from the compose or just leave that option to the user? I don't want to interfere with other apps that may use those ports. |
if these optional port didn't map to the host. what are the functions of uni network will not work? |
I don't use the guest network, so I couldn't test the need of ports 8843 8880 |
Thank you for your contribution. I'm doing final testing and trying to merge it into our app store. 🤩 |
Perfect, let me only rewrite the description real quick to remove the instructions to create the file, given that it is not needed anymore. It will be a few minutes EDIT: @CorrectRoadH done! |
Thanks for the collaboration guys!😊 I remain at your disposal for any issue that might arise. |
@CorrectRoadH This has caused the App Store to break.
![]() ![]() This should be changed to handle cases where the title or tagline is NULL. How you fix the app store not loading:
You might have to wait for this app store to show up:
You can check if it's shown up by running:
Made a script to do this: https://community.bigbeartechworld.com/t/fix-the-casaos-app-store-not-loading/593?u=dragonfire1119 |
I managed to fix it.
|
@riccardobellitto Glad that it's working now! |
This doesn't fix other app stores... |
I have not install any container on my machine but appstore could not be open today .
after unregister all app-store and register app-store https://github.com/IceWhaleTech/CasaOS-AppStore/archive/19b9149ce0bd50ffb8c898e283dc441605a3a369.zip
Although the Appstore can also work. But not only when I reboot the system, but also a few minutes after downloaded this file, Casaos app-management will download this zip file again and again. |
So all I did was unregister all Appstore's added
I then re-added all the stores that I wanted per https://awesome.casaos.io/content/3rd-party-app-stores/list.html#_3-casaos-coolstore However I noticed that 4. CasaOS (Edge) AppStore
All other app stores lists add in with 0 problems |
Hi guys, I'm the developer behind this app. As has been pointed out the issue seems to be related to title and taglines being NULL. @CorrectRoadH has, I guess temporarely, removed this app from the store until this issue gets fixed. I believe it would be best to report any new issues, unrelated to this app, in the main casaos repo, for example here: IceWhaleTech/CasaOS#1659 This PR should serve as a development space for the App, not to discuss AppStore issues.😉 |
Yes, it just is a temporarely remove. It is back to App Store right now! 🤩 We've fixed the bug of CasaOS that cause App Store always loading, and we will add more test for new application. Very Thanks for your contribute. offering a very nice app for every users of CasaOS. |
Closes #371
As said in issue #371, casaos currently offers unifi-controller, which is being deprecated starting January 1st.
Linuxserver has replaced it with unifi-network-application. However deployment is a bit more complicated.
You can read more here.
I wrote a compose file that deploys both unifi-network-application and mongodb.
For mongoDB the chosen version is 3.6 and I believe it should not be changed, because:
For unifi-network-application I tested the latest version (as of today 8.0.24) and it seems to work well, however I'm asking for more testing and opinions, reason why in the compose I left the "latest" tag.
The compose also creates a bridge network, needed for hostname resolution between the two services, needed at least until this issue is resolved.
The only caveats, from a user perspective, are described in the app "tips", I paste them here:
I'm currently using an almost identical compose, deployed through portainer on a Raspberry Pi 3 not using CasaOS, and it is working flawlessly. (be careful on low memory devices because this application can use about 500MB of memory)
I tested this PR on an x86 device and I can confirm deployment is succesful and the network-application launches and configures correctly. However I didn't test the adoption of unifi devices and everyday usage.
I believe there should be no issue, but any other test is warmly welcomed.
Other useful info: https://github.com/GiuseppeGalilei/Ubiquiti-Tips-and-Tricks/blob/main/Unifi%20network%20application%20-%20CasaOS/instructions.md
Happy holidays!