I have 2 instances of Nextcloud 24 on a single x86 linux server. I have succefuly enabled Push Notifications on the 1st one, but I don’t know how to set the 2nd.
I’ve tried to :
add lines in the etc/systemd/system/notify_push.service → but then the service doesn’t run.
create a 2nd etc/systemd/system/notify_push_2.service → but it’s not recognized by the occ notify_push:setup
Is it possible to configure 2 High-Performance Backend on the same machine ?
Thanks @neocult-de ! I can now have both services running on 7867 and 7868, but I have this message when I do the setup with the 7868 config : đź—´ failed to run self-test.
Do you have a clue ?
First thing, after installing the services and enabling them on the different ports, run the setup again and then self-test. (Especially for the :7868 instance)
Second, if the self-test still fails, it helped me to debug the notify_push service by running in directly on the console. Take the line from your service files accordingly:
BUT: Switch to the right user first and define your environment variable for the domain by copying the line to your console. Then the service will give you a direct output about whats wrong.