generated from NethServer/ns8-kickstart
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add scripts to expand config and update settings for Nextcloud 28
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../actions/create-module/20expandconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# | ||
# Copyright (C) 2024 Nethesis S.r.l. | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
# | ||
|
||
# added for nextcloud 28 (1.0.8) | ||
# set trusted proxies to avoid warnings | ||
occ config:system:set trusted_proxies 0 --value='127.0.0.1' | ||
|
||
# set maintenance window start (maintenance cron will run at 1:00) | ||
occ config:system:set maintenance_window_start --value=1 --type=integer | ||
|
||
# with nextcloud 28 the logreader app is compatible only with `file` log type | ||
# see https://github.com/nextcloud/server/issues/45517 | ||
# Failed to get an iterator for log entries: Logreader application only supports "file" log_type | ||
occ app:disable logreader | ||
# added for nextcloud 28 (1.0.8) | ||
# end |