sablierapp / sablier

Start your containers on demand, shut them down automatically when there's no activity. Docker, Docker Swarm Mode and Kubernetes compatible.
https://sablierapp.dev/
GNU Affero General Public License v3.0
1.36k stars 46 forks source link

problems downloading V2.0.0 #50

Closed Sblop closed 2 years ago

Sblop commented 2 years ago

Hi, I have some problems...

--experimental.plugins.sablier.modulename=github.com/acouvreur/sablier/plugins/traefik --experimental.plugins.sablier.version=v2.0.0 gives error

time="2022-10-01T21:29:50+02:00" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/acouvreur/sablier: error: 500: {\"error\":\"Failed to get plugin github.com/acouvreur/sablier@v2.0.0\"}\n"

Then I tried

--experimental.plugins.sablier.modulename=github.com/acouvreur/sablier --experimental.plugins.sablier.version=v2.0.0

gives

time="2022-10-01T21:23:00+02:00" level=error msg="Plugins are disabled because an error has occurred." error="failed to download plugin github.com/acouvreur/sablier: error: 500: {\"error\":\"Failed to get plugin github.com/acouvreur/sablier@v2.0.0\"}\n"

Okay... Back to orig setup...

--experimental.plugins.sablier.modulename=github.com/acouvreur/traefik-ondemand-plugin --experimental.plugins.sablier.version=v1.3.0

But still error...

time="2022-10-01T21:27:33+02:00" level=error msg="Plugins are disabled because an error has occurred." error="failed to check archive integrity of the plugin github.com/acouvreur/traefik-ondemand-plugin: plugin integrity check failed"

Any ideas how to proceed?

acouvreur commented 2 years ago

Thanks for the feedback, the release on main was unintentional, I will be updating beta soon so you can try with the prereleases.

acouvreur commented 2 years ago
      - --experimental.plugins.ondemand.moduleName=github.com/acouvreur/traefik-ondemand-plugin
      - --experimental.plugins.ondemand.version=v1.3.0

I created a repo that matches the old name while traefik fixes their plugin catalog You should be able to use the plugin like before

Sblop commented 2 years ago

Thanks so much

ldez commented 2 years ago

The plugin catalog follows the same rules as a Go proxy, so there is no bug here from the point of view of the catalog.

the full error is not found: github.com/acouvreur/sablier@v2.1.0-beta.3: invalid version: module contains a go.mod file, so module path must match major version (\"github.com/acouvreur/sablier/v2\")