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

Update Apprise CLI version #5519

Closed
wioch opened this issue Jan 11, 2025 · 1 comment
Closed

Update Apprise CLI version #5519

wioch opened this issue Jan 11, 2025 · 1 comment
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added

Comments

@wioch
Copy link

wioch commented Jan 11, 2025

πŸ“‘ I have found these related issues/pull requests

Related to #4928, uptime-kuma cannot send notifications to Apprise, because of too old Apprise CLI version (1.6.0).

🏷️ Feature Request Type

Change to existing notification-provider

πŸ”– Feature description

Update the apprise CLI.

βœ”οΈ Solution

Update the apprise CLI to at least version 1.8.0, so is supports 64 char long API keys.

❓ Alternatives

Changing length of API key (from 64 to 32) to satisfy old apprise CLI is not at solution/workaround for me. API key is already utilized elsewhere.

πŸ“ Additional Context

With apprise CLI in version 1.6.0, uptime-kuma generates following error when trying to send notification:

Error: Process exited with code 1
    at ChildProcess.done (/app/node_modules/promisify-child-process/index.cjs:70:19)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at ChildProcess._handle.onexit (node:internal/child_process:303:5) {
  code: 1,
  signal: null,
  stdout: '2025-01-11 18:54:36,573 - WARNING - The Apprise API token specified (b6d4edfe6d13d89c6dbca59bf09b84bd2c271bb119987bd235ca2537154f5d8a) is invalid.\n' +
    '2025-01-11 18:54:36,573 - ERROR - Could not load Apprise API URL: apprise://1...1:8000/b...a/?tags=all\n' +
    '2025-01-11 18:54:36,573 - ERROR - There are no service(s) to notify\n',
  stderr: ''
}

uptime-kuma version: 1.23.16
apprise CLI (in uptime-kuma): 1.6.0:

[root@hora~]# docker exec -it uptime-kuma bash
root@1fcc97723a2f:/app# /usr/local/bin/apprise -V
Apprise v1.6.0
...
root@1fcc97723a2f:/usr/local/bin# date
Sat Jan 11 20:33:42 UTC 2025

apprise (as docker) version: 1.9.3

@wioch wioch added the feature-request Request for new features to be added label Jan 11, 2025
@CommanderStorm CommanderStorm added the area:notifications Everything related to notifications label Jan 17, 2025
@CommanderStorm
Copy link
Collaborator

Resolved by #5251 and included in the beta for v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added
Projects
None yet
Development

No branches or pull requests

2 participants