When running the installer, I'm getting the following error:
ERROR: The Compose file './docker-compose.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Installation complete!
The initial docker-compose.yml is created, but nothing starts. So I took the compose file and deployed it manually through Portainer. When running the installer after that, it recognizes that Pangolin is installed and prompts to install Crowdsec. When I choose yes, it prompts me to confirm the information and then returns the same error.
Docker version 20.10.17, build 100c701
Originally created by @grokdesigns on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/263
When running the installer, I'm getting the following error:
> ERROR: The Compose file './docker-compose.yml' is invalid because:
> 'name' does not match any of the regexes: '^x-'
>
> You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
> For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
> Installation complete!
The initial docker-compose.yml is created, but nothing starts. So I took the compose file and deployed it manually through Portainer. When running the installer after that, it recognizes that Pangolin is installed and prompts to install Crowdsec. When I choose yes, it prompts me to confirm the information and then returns the same error.
Docker version 20.10.17, build 100c701
Used this as an excuse to upgrade to the latest version of Ubuntu and update my Docker version. Seems to be working now.
<!-- gh-comment-id:2692842087 -->
@grokdesigns commented on GitHub (Mar 2, 2025):
Used this as an excuse to upgrade to the latest version of Ubuntu and update my Docker version. Seems to be working now.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @grokdesigns on GitHub (Mar 2, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/263
When running the installer, I'm getting the following error:
The initial docker-compose.yml is created, but nothing starts. So I took the compose file and deployed it manually through Portainer. When running the installer after that, it recognizes that Pangolin is installed and prompts to install Crowdsec. When I choose yes, it prompts me to confirm the information and then returns the same error.
Docker version 20.10.17, build 100c701
@grokdesigns commented on GitHub (Mar 2, 2025):
Used this as an excuse to upgrade to the latest version of Ubuntu and update my Docker version. Seems to be working now.