Problems creating deploy (location plugin)
-
-
The issue is “known” about and I forgot that it may not be immediately apparent as to what’s causing this. The code itself is operationally running properly. It’s the database table (specifically locationAssoc) that’s causing the issue.
You could try creating a new location association table, and remove all the duplicate entries. You could, also, try just updating the location on each host. (possibly through a group as well?)
I’ve added code that should correct this issue if you don’t want to uninstall/reinstall, but it would be wise to do so as the schema did change to ensure something like this doesn’t happen in the future accidentally.
-
This appears to me that you have duplicated “FOG” web mount points. This issue was known about and has since been fixed.
Can you check
ls -l /var/www
andls -l /var/www/html
-
-
Because this is a location, is that location updated to the same?
-
The issue is “known” about and I forgot that it may not be immediately apparent as to what’s causing this. The code itself is operationally running properly. It’s the database table (specifically locationAssoc) that’s causing the issue.
You could try creating a new location association table, and remove all the duplicate entries. You could, also, try just updating the location on each host. (possibly through a group as well?)
I’ve added code that should correct this issue if you don’t want to uninstall/reinstall, but it would be wise to do so as the schema did change to ensure something like this doesn’t happen in the future accidentally.
-
Uninstalled and reinstalled the location plugin.
Assigned hosts to the locations and deploy now works like a charm.Thanks a lot @Tom-Elliott