What changed in your environment to cause you to notice the add button is
missing and that you had an ancient version of the plugin? I'm not aware of
such old versions of the plugin, that would seem imply it was a commercial
version from before the plugin was open-sourced, since the first open
source version was 6.3.0-3
<https://github.com/gocd/gocd-ecs-elastic-agent/releases/tag/v6.3.0-3>.

I'm not aware of any mechanism internal to GoCD that would cause plugins to
re-appear with the plugins/external folder. GoCD via container has an
optional automated download mechanism, but seems you are not using that if
using systemctl to restart.

Do you have some proprietary rsync/cron job or something from an external
source that syncs stuff into the plugins directory from elsewhere?

In any case, it would seem very unlikely that an ancient version of the
plugin like that works correctly now, so we should probably focus on
getting the latest version there, and only the latest version (not
duplicates).

-Chad

On Fri, Jun 14, 2024 at 11:31 PM Charles Haron <ceha...@gmail.com> wrote:

> Hello,
>
> I'm having some trouble with the ECS elastic agent plugin.
>
> I have no "Add" button as shown in the documentation
> <https://github.com/gocd/gocd-ecs-elastic-agent/blob/master/docs/cluster_profile_configuration.md>.
> I thought it might be due to an older version of the plugin (2.0.0-157).
> So, I attempted to update the plugin to 7.4.0-663.
>
> I started by removing
> /var/lib/go-server/plugins/external/ecs-elastic-agent-plugin-2.0.0-157.jar
> and adding
> /var/lib/go-server/plugins/external/ecs-elastic-agent-plugin-7.4.0-663.jar.
> I then restarted the service with "sudo systemctl restart
> go-server.service".
>
> After the restart, ecs-elastic-agent-plugin-2.0.0-157.jar returned to
> /var/lib/go-server/plugins/external/ and the logs say "Loading plugin
> com.thoughtworks.gocd.elastic-agent.ecs version 2.0.0"
>
> So, I have two questions...
>
>    1. How do I upgrade the plugin?
>    2. Why is there no "Add" button for creating a cluster profile?
>
> My GoCD server version is 23.3.0
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/b3c74d79-1971-473f-a838-580f8b1b3a93n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/b3c74d79-1971-473f-a838-580f8b1b3a93n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAA1RwH-KvxT2ZinpBXxsu9OWR8hZ5gKF1XZ6FL60dzKo-pEyoQ%40mail.gmail.com.

Reply via email to