How to allow iFrame / Update /var/www/nextcloud/lib/public/AppFramework/Http/ContentSecurityPolicy.php

Hallo zusammen,

ich habe eine fragen an euch, wenn ein Update kommt wird jedes mail diese Datei überschrieben (ContentSecurityPolicy.php)

How to allow iFrame

/var/www/nextcloud/lib/public/AppFramework/Http/ContentSecurityPolicy.php

Link

Wie kann ich verhindern das sie vom Update überschrieben wird?

Ich bedanke mich im voraus

Martin Schmidt


Hello, everyone,

I have a question for you, if an update comes, every mail will overwrite this file (ContentSecurityPolicy.php)

How to allow iFrame

/var/www/nextcloud/lib/public/AppFramework/Http/ContentSecurityPolicy.php

link

How can I prevent it from being overwritten by the update?

I thank you in advance

Martin Schmidt

Ich denke das geht nicht.

Downloading: downloads the code in the version it should update to. This is also shown in the web UI before the update is started. This archive is downloaded to /updater-INSTANCEID/downloads/.

Extracting: extracts the archive to the same folder.

Upgrade via built-in updater — Nextcloud latest Administration Manual latest documentation

Mögliche Lösung:
Du könntest dir aber ein Script schreiben, welches den Updater aufruft und anschließend deine Vorlage in den Ordner kopiert.

Hallo zusammen,

ich danke dir, gibt es evtl. einen Auslösser wenn das Update gemacht wird? oder muss ich jeden Tag überschreiben lassen?

Lg Martin

Hallo zusammen,

ich habe jetzt ein Cron JOB erstellt wo die Datei immer überschreieben wird.

Gibt es ein Verbesserung Vorschlag wo man sich melden kann?
VG Martin