Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pritunl-client: command not found #209

Closed
JosueCL11 opened this issue Jul 25, 2024 · 6 comments
Closed

pritunl-client: command not found #209

JosueCL11 opened this issue Jul 25, 2024 · 6 comments

Comments

@JosueCL11
Copy link

JosueCL11 commented Jul 25, 2024

Good afternoon, a question, I have been using githubaction: nathanielvarona/pritunl-client-github-action@v1, and everything had been working correctly, but until today it gave me this error, is there something I need?

Captura de pantalla 2024-07-25 a la(s) 5 22 08 p m
@JosueCL11
Copy link
Author

JosueCL11 commented Jul 25, 2024

This is mi definition :

  • name: Setup Pritunl Profile and Start VPN Connection
    uses: nathanielvarona/pritunl-client-github-action@v1
    with:
    profile-file: ${{ secrets.PRITUNL_PROFILE_FILE }}
    profile-pin: ${{ secrets.PRITUNL_PROFILE_PIN }}

@Alex-Munro
Copy link

I'm getting the same error across all my actions that use this step:

      - name: Setup Pritunl Profile and Start VPN Connection
        uses: nathanielvarona/pritunl-client-github-action@v1
        with:
          profile-file: ${{ secrets.PRITUNL_PROFILE_FILE }}
          profile-pin: ${{ secrets.PRITUNL_PROFILE_PIN }}

@nathanielvarona
Copy link
Owner

Hello @JosueCL11 and @Alex-Munro, thank you for reporting the issue.

This issue is related to the GitHub Actions Apt Repositories List and Cache.
This is solely from the GitHub Actions Virtual Environment Images releases issue.

There is a fix for this, however, I need to validate and fully test it.
(As much as possible I won't touch anything in the GitHub action Virtual Environment to maintain the integrity of this action)

For now, I would suggest using a specific client installation. This method obtains the pritunl-client package from the https://github.com/pritunl/pritunl-client-electron/releases instead of the https://repo.pritunl.com/stable/apt/dists/jammy/.

Here is an example:

- name: Setup Pritunl Profile
  id: pritunl-connection
  uses: nathanielvarona/pritunl-client-github-action@v1
  with:
    profile-file: ${{ secrets.PRITUNL_PROFILE_FILE }}
    profile-pin: ${{ secrets.PRITUNL_PROFILE_PIN }}
    client-version: 1.3.3883.60 # <-- PLEASE ADD THIS INPUT IN YOUR ACTION

My tests earlier:
Test # 1: Failed - Installation using Apt Registry
Test # 2: Passing - Specify the Client Version
https://github.com/nathanielvarona/gha-pub-test-repo/actions/workflows/connection-tests-manual-install-only.yml

Let me know if this fixes the issue on your side.

Again good day and have a nice weekend.

@nathanielvarona
Copy link
Owner

UPDATES:

Installation Test

As of this moment testing, the Packager Manager (Apt Repo) Based installation is now working https://github.com/nathanielvarona/gha-pub-test-repo/actions/runs/10122164747.

I haven't changed anything in our code, the issues you might experiencing could either be from the GitHub Actions Virtual Environment https://github.com/actions/runner-images or from the Pritul Apt Repo https://repo.pritunl.com/stable/apt/.

Recommendation

Still, I would suggest using the Action input client-version and specifying the later/latest version of desired. To install the pritunl-client from the Pritunl Client GitHub Releases https://github.com/pritunl/pritunl-client-electron/releases.

Thanks,
Nil

@Alex-Munro
Copy link

Thanks @nathanielvarona!

Adding the client-version worked for me

@nathanielvarona
Copy link
Owner

I updated the README for other or future GitHub Action users.
Documentation Section: Noticeable Issues and Solutions
Release: https://github.com/nathanielvarona/pritunl-client-github-action/releases/tag/v1.6.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants