Uh oh!
There was an error while loading. Please reload this page.
feat(nextcloud): add notify_push support - #581
Conversation
4c3cee5 to
46eb0e9Comparef5f716e to
6ed673aCompareAndreKoepke
commented
Jun 12, 2024
Can we ensure that the notify_push-plugin is installed? Maybe something like this? lifecycle:
postStart:
exec:
command: ["occ", "app:install notify_push"]And we have to active that plugin by running |
provokateurin
commented
Jun 12, 2024
I think it makes sense to give this option so the installation and setup is completely automatic, but I'd rather put it behind a second config flag: notify_push:
enabled: trueautomatic_setup: trueMaybe some people don't want to have this done automatically, so it's nice to give them the option. |
Therefore we has that hook of the container script (see #525), i write a ConfigMap for it. PS: the same way, then in #480 (@provokateurin you wanted to take a look there ...) PSS: Does somebody test this/my code? |
andre@server:~/k8s/nextcloud$ helm upgrade -n nextcloud akops-nextcloud -f values.yml ./helm/charts/nextcloud/Error: UPGRADE FAILED: template: nextcloud/templates/notify_push/deployment.yaml:41:31: executing "nextcloud/templates/notify_push/deployment.yaml" at <$.Values.global.image.registry>: nil pointer evaluating interface {}.image |
There was a problem hiding this comment.
When I remove the global-references, then I got this error:
andre@server:~/k8s/nextcloud$ helm upgrade -n nextcloud akops-nextcloud -f values.yml ./helm/charts/nextcloud/Error: UPGRADE FAILED: YAML parse error on nextcloud/templates/notify_push/deployment.yaml: error converting YAML to JSON: yaml: line 41: did not find expected keyUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
wrenix
commented
Jun 18, 2024
Oh sorry, that was a copy-paste error. |
Uh oh!
There was an error while loading. Please reload this page.
I was able to try an install. The result was this: ConfiguringRedis as session handler
=>Searching for scripts (*.sh) to run, located in the folder:/docker-entrypoint-hooks.d/before-starting
==>Running the script (cwd:/var/www/html):"/docker-entrypoint-hooks.d/before-starting/notify_push.sh"
notify_push already installed
✓ redis is configured
🗴 push server is not receiving redis messages (received 272721789, got 0)
==>Failed at executing "/docker-entrypoint-hooks.d/before-starting/notify_push.sh".Exit code:1EditI have a password for redis and it was not set. Can add this like this? - name: REDIS_URLvalue: "redis://:<PASSWORD>@{{ template "nextcloud.redis.fullname" . }}-master:{{ .Values.redis.master.service.ports.redis }}"When I did this locally, then we have the chicken-egg-problem ... Maybe there is a better hook after nextcloud has started? |
Uh oh!
There was an error while loading. Please reload this page.
AndreKoepke
commented
Jun 19, 2024
With the fixed port, I still unable to run it. Logs from notify_push pod: |
jessebot
commented
Jul 26, 2024
@wrenix I'm updated your push file to be |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
43ba133 to
fc97749Compare98d1ac1 to
9f12fdbComparef26ef2f to
9d58975Comparewrenix
commented
Feb 20, 2025
move the test developing to #697 |
01746cf to
21021f0Comparee0481da to
e87e507Comparee87e507 to
8ab29bbCompare62c7b33 to
a1e156dComparea1e156d to
ec9a851CompareSigned-off-by: WrenIX <dev.github@wrenix.eu>
Signed-off-by: WrenIX <dev.github@wrenix.eu>
Pull Request
Description of the change
Not yet tested
Benefits
Possible drawbacks
Applicable issues
Additional information
Checklist
Chart.yamlaccording to semver.TODO
Todo after Review: