Skip to content

Commit

Permalink
feat: Add scripts to expand config and update settings for Nextcloud 28
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Sep 5, 2024
1 parent 6c3a66d commit d64c8d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions imageroot/update-module.d/10expand_config
20 changes: 20 additions & 0 deletions imageroot/update-module.d/15update_settings
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

0 comments on commit d64c8d9

Please sign in to comment.