PeteAsking

Members
  • Posts

    676
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by PeteAsking

  1. Im confused by your comment. What is raspi4? Like raspberry pi? Unclear how to interpret your message.
  2. If this works for you then we will need to wait for more testers to check the deployment is easy enough to follow.
  3. To start from scratch and check directory perms are working as intended: Make a backup in running docker Stop docker Use gui to remove docker and check "also remove image" SSH: rm -r unifi-controller-reborn/ rm /boot/config/plugins/dockerMan/templates-user/my-unifi-controller-reborn.xml Everything is now clear, install as normal and use backup file. Follow instructions on page 1 (updated them). check directory perms using ls -l should be : drwxr-xr-x 1 nobody users P @wgstarks
  4. I have an image that is now expected to work without changing the directory permissions, I have updated the XML but have to wait for community apps to refresh. I will check back in 4 hours and see if its refreshed and test it.
  5. You are correct, when you do a restore, there is no confirmation at all it has restored. You simply see the docker stop on unraid and when it is stopped, then you can start it again, and the restore completed. No other information is presented.
  6. Interesting, thank you. Does clicking on the docker and choosing "webui" work for you now? Also I will try fix the directory permissions but this is a harder problem to resolve. I will update the support forum link
  7. No problem. Thank you for testing this. I will try to work on areas that need improvement. Many thanks for your help.
  8. Interesting @bmartino1 - so what is working and what is not working at this time?
  9. @bmartino1 I will fix (or try to) the web ui error - blocked at some point this week. Once the restore happens is the docker stopped? Can you start it again and it is functional or no?
  10. You cannot change the uid and gid of the docker at this time. It is unsupported. also unclear why you are changing other variables such as privileged and so on. the docker is in alpha state. Changes like this have not been attempted or tested at all. Only a very basic config is working at this time. I would encourage not to change anything beyond what is instructed.
  11. One other thing. This particular tag had an issue where sometimes you have to restart a device to get it to adopt… unifi issue. If that happens just try powercycling the affected device. Could just be a transient error.
  12. @bmartino1 starting afresh sounds fine. Do a restore and let me know. Dont forget to stop the old unifi docker.
  13. Also what is actually not working? It appears like you can connect with the app after? @bmartino1
  14. @bmartino1 please stop the docker from running and use this command: chmod 777 /mnt/user/appdata/unifi-controller-reborn then post the ls -l again. It is not altering the permissions from your output above. I believe the tags are correct.
  15. Please also tell me what version of the controller the backup was made from.
  16. unifi-controller-reborn/ drwxr-xr-x 1 nobody users 16 Nov 5 14:18 appears inconsistent. You need to set the permissions to 777 for it to run correctly at this time.
  17. Can you post issues on the other thread @bmartino1? Start also by showing me an ls -l on the appdata folder so I can verify permissions are correct. Probably you also need to backup and restore like versions. As in dont try to backup on the old controller a very okd version then restore to the new docker container running a much later configuration that same backup. Forst bring the current docker into compliance and then do a backup/restore. This is the thread here:
  18. You guys have to read the last few pages @bmartino1 and @kiwijunglist or you will miss what is happening. You currently have 2 options - go with linuxserver.io and 2 docker images running that communicate with each other as per @wgstarks work or a single new docker option that is the same as /similar to this current linuxserver option that I am working on. The entire hope and point of this exercise is that the community hopefully selects the most reliable/best option and eventually this is used going forward. That can only happen if you make an informed decision and post back your experience and preference after reviewing the options. Hope this makes sense. @wgstarks has been super helpful with everything so far.
  19. Unsupported versions list: 8.0.24-unraid (Known regressions, skipped version). 8.0.28-unraid (Version skipped, did not pass testing).
  20. ADVANCED/EXPERIENCED USERS QUICK INFO: Choose your own adventure tag: https://hub.docker.com/r/11notes/unifi/tags Current recommended Home User tag: 11notes/unifi:8.1.113-unraid Current Company/Corporate recommended tag: 11notes/unifi:8.1.113-unraid Current Critical Infrastructure (no downtime) tag: 11notes/unifi:7.5.187-unraid NORMAL USERS START HERE: The important information at a glance section: --------------------------------------------------------------------------------------------------------------------------------------------------------- Development status of community app: Canary: 31/10/2023 - 04/11/2023 [COMPLETE] Alpha: 04/11/2023 - 23/11/2023 [COMPLETE] Beta: 23/11/2023 - 08/01/2024 [COMPLETE] Delta: 08/01/2024 - Stable: n/a Canary - Dev build only, not public use. Alpha - Testing only, not suitable for home or production use. Request for community to help to test if able. Beta - Suitable home use only. Delta - Suitable home or production use, requires specific steps to be followed to function. Stable - Suitable all deployments, easy deploy ready. --------------------------------------------------------------------------------------------------------------------------------------------------------- Docker tags of unifi builds: Alpha: This ‘latest’ tag is now currently disabled as we are not currently testing and does not exist at this time. Stable: 11notes/unifi:8.1.113-unraid Old Stable: 11notes/unifi:8.1.113-unraid Old Old Stable: 11notes/unifi:7.5.187-unraid When a new release is available from unifi, the first 7 days after it is released are reserved for internal testing. No tag will be made available until after 7 days irrespective of how many people complain they really need the new version right now. Deal with it. VERY IMPORTANT NOTE, CRITICAL: In the repository there are 2 types of image. version-unraid and just version. eg: 7.5.187-unraid vs 7.5.187. the pure version numbers run the docker in 1000:1000 and require special changes to the appdata directory permissions to function. If you use the latest tag, you will need to make these changes. If however you are a normal non alpha tester, you can use the version-unraid tag which correctly sets the user as 99:100 eg: 7.5.187-unraid When selecting a new tag to upgrade to, always use the version-unraid tag. These are tested specifically for Unraid. The other tags are for pure docker deployments. Alpha (latest tag, do not use) : This tag is either "latest" or has been released by unifi and reverted back to release candidate due to issues. Do not use except for specific reasons understood by you (do not complain to me when deployment breaks, its on you to fix). Stable: Latest stable build vetted by community for home use only. Newest features present, that are stable. Old Stable: Latest stable build in production vetted by community for home or production use. Old Old stable: Production builds that lag behind to avoid issues. Updated less often and skips low quality builds, has fewest new features by design. --------------------------------------------------------------------------------------------------------------------------------------------------------- Unifi-Controller: Unifi. Unraid. Reborn. https://github.com/pallebone/UnifiUnraidReborn The how to section: This docker expects you to use tags to move between builds. When you install the docker you will note that a specific tag has been chosen for you on deployment. Do not use "latest" tag. Using latest tag means we cannot and will not support or help you on this thread. You are considered the fixer/expert if you use latest. To choose a desired tag review the tags here: https://hub.docker.com/r/11notes/unifi/tags To install this docker Instructions include moving from a different docker image/community app however these steps can be ignored if not appropriate. 1) Login to current running controller web interface and take a backup of 7 days on current controller. You will obtain a backup file such as: network_backup_02.11.2023_08-10_v7.5.187.unf Make sure old version of unifi controller is the same version you will be migrating to. Unifi is difficult if the versions are different. 2) Stop old Unraid controller/Other controller and turn off autostart/disable from self starting. You can leave this old deployment alone at this point in case you ever need it again. 3) Go to apps and install new controller (unifi-controller-reborn). Avoid changing random values you dont understand/cant fix yourself in the template. 4) Start container and set to autostart. Restore your backup, it will require you to manually start it again after backup is restored. Note: When you restore, there is no confirmation the restore completes. After a minute or so the docker simply stops on unraid (refresh docker page on unraid ui) and the unifi web page just hangs on restoring. You must manually start the docker image again when its stops. The container should now be running normally at this point. If not check steps again and ask for help. To Upgrade this docker - eg: from version 7.5.187-unraid to unifi:8.0.7-unraid To upgrade simply edit the docker, change the tag and then hit apply. Your previous tag will look something like: 11notes/unifi:7.5.187-unraid you will change it to some later version like: 11notes/unifi:8.0.7-unraid YOU WILL NOT ALTER ANY OTHER SETTING DURING THIS UPGRADE STEP. YOU WILL NOT EDIT NETWORKING, PORTS, OR ANYTHING. DONT DO IT. This will result in the best success rate of the docker upgrading if you do this, and then readopting the devices. --------------------------------------------------------------------------------------------------------------------------------------------------------- Notes: Your networking should be the same if coming from an old controller or devices wont re adopt eg: ”I had my networking on the old container set to br0 and a fixed IP - it wouldn't adopt in the new world until I made that match” KNOWN ISSUES: 1) Clicking on the docker under a brX network implementation and using the "WebUI" button does not work. This will never be fixed. Type the ip you set and port you set into a web browser if you use brX networking (instead of bridge). Use bridge networking if this is a deal breaker for you. 2) When restoring a unifi config backup file the docker stops, and does not start again automatically due to some error. You must manually intervene and start it when it stops during the restore process. This is being investigated. Removed install instructions no longer needed: 3) Set directory permissions for new container (can be done after deploying image in step 4, see and read instructions). To do this prior to deploying the app, use command such as: install -d -m 777 -o 99 -g 100 /mnt/user/appdata/unifi-controller-reborn Commands must be used via ssh or the web terminal (little icon in top right of unraid web interface). If you deploy the image first by following step 4 without doing this, and let it create the docker appdata directory, then you will need to stop the docker then run these commands and start it again afterwards: mkdir /mnt/user/appdata/unifi-controller-reborn chmod 777 /mnt/user/appdata/unifi-controller-reborn chown nobody /mnt/user/appdata/unifi-controller-reborn chgrp users /mnt/user/appdata/unifi-controller-reborn The entire point of this is that if you do a 'ls -l' on the directory with your docker containers you will see the permissions are set as: drwxrwxrwx 1 nobody users 0 Nov 3 16:41 unifi-controller-reborn/ By default if you do not do this, the permissions will be drwxr-xr-x and the docker app will not be able to run and write files to this directory.
  21. Im going to make a support thread for this new docker container option, then on this thread everyone can discuss the direction you think works best for the community without worrying about what I think. Will edit this comment when the support thread has been moved by a mod and post the link. Hopefully some people provide their opinion so its not like 3 people making a decision for 100s of people. edit:
  22. I have updated the docker to post a popup message for now when installing instructing users what to do on first install. As far as I can tell, so long as you follow the initial setup instructions everything works fine after that. So summary: 1) Take backup 7 days on current controller. 2) Stop old unraid controller and turn off autostart. 3) Set directory permissions (can be done after deploying image if preferred, see notes). 4) Go to apps and install new controller (unraid-controller-reborn) 5) Start container and set to autostart. Ensure it can write files and functions normally and you can change/update it etc as required. Restore backup, will require you to manually start it again after backup is restored. It seems pretty basic, just dont have an immediate fix for the "fix directory permissions" issue at this moment. It is a one time thing, however, not needed ever again.