https://bugs.koozali.org/show_bug.cgi?id=12994

            Bug ID: 12994
           Summary: add support for notify_push
    Classification: Contribs
           Product: SME Contribs
           Version: 11.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-nextcloud
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

see https://github.com/nextcloud/notify_push

need template from Bug 12993 

then 
occ app:install notify_push

needs, then: 
# cat /etc/systemd/system/notify_push.service
[Unit]
Description = Push daemon for Nextcloud clients

[Service]
Environment=PORT=7867
Environment=NEXTCLOUD_URL=https://cloud.pialasse.com
ExecStart=/usr/share/nextcloud/apps/notify_push/bin/x86_64/notify_push
/usr/share/nextcloud/config/config.php
Type=notify
User=apache

[Install]
WantedBy = sme-server.target

systemctl enable --now notify_push

then need to configure lan as proxy, default is 

# occ config:system:get trusted_proxies
127.0.0.1
::1


would need to add in /etc/e-smith/events/actions/nextcloud-occ-conf
OCC "config:system:set trusted_proxies 0 --value=127.0.0.1" 
OCC "config:system:set trusted_proxies 1 --value=::1" 
OCC "config:system:set trusted_proxies 2 --value=$local" 

then 
occ notify_push:setup https://cloud.DOMAIN.com/push

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to