-
Notifications
You must be signed in to change notification settings - Fork 40
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
App Broken after 0.6.4 upgrade #355
Comments
I downgraded to 0.6.3 and all seems to work now root@nextcloud:~# sudo -u www-data php /var/www/nextcloud/occ notify_push:self-test |
I noticed this too. If you go into /var/www/nextcloud/apps/notify_push/bin you will find that there is a new binary for x86 that has a random letter name. Don't know if this was intentional but It meant I had to start from scratch with the setup... |
I noticed that the permissions were wrong, so a |
Same problem here. After chmod the service is starting. WARN src/connection.rs:94: Invalid credentials but the push is working |
@Dennis1993 I've had this issue on 1 out of 4 machines too. A server restart fixed it. Furthermore, I noticed that the setup command is not working correctly.
It seems to search for FreeBSD binaries on an Ubuntu 22.04 machine. |
Hopefully dev has a solution for this. My server OS is Ubuntu 22.04 |
DerFranke is %100 correct. That was my experience as well though I had resolved it quite a few hours before and forgot how. Lol i didn't recognize fbsd was freebsd and assumed it was a randomly generated name! |
@AndyXheli Can you tell me how to downgrade to 0.6.3 with occ command ? |
For me the update to 0.6.4 was normal but after the update to 0.6.5 Ubuntu 22.04.3 LTS (GNU/Linux 5.15.0-88-generic x86_64), PHP-FPM, Version 8.2.12 |
Solved it as follows:
|
I'm running NC 27.1.3 all was working after i upgraded this app to version 0.6.4 from 0.6.3 app is not working
× notify_push.service - Push daemon for Nextcloud clients
Loaded: loaded (/etc/systemd/system/notify_push.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2023-11-08 00:30:37 UTC; 7s ago
Process: 6221 ExecStart=/var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud/config/config.php (code=exited, status=203/EXEC)
Main PID: 6221 (code=exited, status=203/EXEC)
CPU: 2ms
Nov 08 00:30:37 nextcloud systemd[1]: Started Push daemon for Nextcloud clients.
Nov 08 00:30:37 nextcloud systemd[6221]: notify_push.service: Failed to locate executable /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push: Permission denied
Nov 08 00:30:37 nextcloud systemd[6221]: notify_push.service: Failed at step EXEC spawning /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push: Permission denied
Nov 08 00:30:37 nextcloud systemd[1]: notify_push.service: Main process exited, code=exited, status=203/EXEC
Nov 08 00:30:37 nextcloud systemd[1]: notify_push.service: Failed with result 'exit-code'.
root@nextcloud:~# sudo -u www-data php /var/www/nextcloud/occ notify_push:setup
🗴 bundled binaries are not available.
If you're trying to setup the app from git, you can find build instruction in the README: https://github.com/nextcloud/notify_push
And pre-built binaries for x86_64, armv7, aarch64 and freebsd (amd64) in the github actions.
Once you have a notify_push binary it should be placed in /var/www/nextcloud/apps/notify_push/bin/fbsd_x86_64
root@nextcloud:~# sudo -u www-data php /var/www/nextcloud/occ notify_push:self-test
<title>503 Service Unavailable</title>✓ redis is configured
🗴 can't connect to push server: Server error:
GET https://cloud.server.org/push/test/cookie
resulted in a503 Service Unavailable
response:The text was updated successfully, but these errors were encountered: