notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

same domain - multiple ports

Open wgalafassijr opened this issue 3 years ago • 0 comments

Hi,

I have nc running on alternative ports because port 80/443 aren't avaliable; nc.domain:4443 - nc.domain.4444

I'm trying to make notify_push to work and i need some help.

Already tried to create multiple services with diferent ports (ports listening ok): [Unit] Description = Push daemon for Nextcloud clients [Service] Environment=PORT=7868 Environment=NEXTCLOUD_URL=https://nc.domain:4443 ExecStart=/var/www/nextcloud2/apps/notify_push/bin/x86_64/notify_push /var/www/nextcloud2/config/config.php User=www-data [Install] WantedBy = multi-user.target

on nginx location ^~ /push/ { proxy_pass http://localhost:7868/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }

Have tried in this 2 ways to make work...

sudo -u www-data php occ Notify_push:setup This setup wizard is intended for use on single server instances where the nextcloud server, web server/reverse proxy and push daemon all run on the same machine. If your setup is more complex or involves any kind of load balancing you should follow the manual setup instruction on the README instead https://github.com/nextcloud/notify_push Press enter to continue or ESC to cancel...

Push binary seems to be running already 🗴 failed to run self-test. test output: ✓ redis is configured 🗴 using unencrypted https for push server is strongly discouraged 🗴 push server url is set to localhost, the push server will not be reachable from other machines ✓ push server is receiving redis messages 🗴 push server can't load mount info from database

See the steps in the README for manual setup instructions: https://github.com/nextcloud/notify_push

and

sudo -u www-data php occ Notify_push:setup https://nc.domain:4443 ✓ redis is configured 🗴 push server is not receiving redis messages (received 636671883, got 0)

Some idea to make this work (if is possible)?

Thank you, Wilson

wgalafassijr avatar May 07 '21 18:05 wgalafassijr