Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Nextcloud to 28.0.6 #1112

Merged
merged 3 commits into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions public/v4/apps/nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
image: nextcloud:$$cap_nextcloud_version
volumes:
- $$cap_appname-data:/var/www/html
- $$cap_appname-conf:/usr/local/etc/php/conf.d
restart: always
environment:
OVERWRITEPROTOCOL: $$cap_http_https_cors
Expand Down Expand Up @@ -57,8 +58,8 @@ services:
caproverOneClickApp:
variables:
- id: $$cap_nextcloud_version
label: NextCloud Version
defaultValue: 26.0.3
label: Nextcloud Version
defaultValue: 28.0.6
description: >-
Check out their Docker page for the valid tags https://hub.docker.com/_/nextcloud?tab=tags

Expand All @@ -67,12 +68,12 @@ caproverOneClickApp:
validRegex: /^((?!fpm)\S)+$/
- id: $$cap_redis_version
label: Redis Version
defaultValue: 6.2.12
defaultValue: 6.2.14
description: Check out their Docker page for the valid tags https://hub.docker.com/_/redis?tab=tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_mariadb_version
label: MariaDB (database) version
defaultValue: 10.6.14
defaultValue: 10.6.18
description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_db_user
Expand Down Expand Up @@ -106,11 +107,13 @@ caproverOneClickApp:
instructions:
start: A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms. http://Nextcloud.com
end: >-
NextCloud is deployed and will be available on few minutes as $$cap_appname.
Nextcloud is deployed and will be available on few minutes as $$cap_appname.

If you set the cors sections to https, please enable https on your app. If you do not activate it you will have an error.


Fix Nextcloud warning:

For better performances and compliance, click on "edit default nginx configuration" button then
below `proxy_set_header X-Forwarded-Proto $scheme;`
add `add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;` into the nginx configuration.
Expand All @@ -121,10 +124,19 @@ caproverOneClickApp:

`location /.well-known/caldav {return 301 $scheme://$host/remote.php/dav;}`

You can see HSTS parts of the nextcloud security documentation [https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html](https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html) for further informations
You can define the `default_phone_region` by executing:

`sudo docker exec -u www-data $(sudo docker ps --filter name='srv-captain--$$cap_appname.1' -q) php occ config:system:set default_phone_region --value="FR"`

You can define the `maintenance_window_start` by executing:

`sudo docker exec -u www-data $(sudo docker ps --filter name='srv-captain--$$cap_appname.1' -q) php occ config:system:set maintenance_window_start --type=integer --value=3`


You can see HSTS parts of the Nextcloud security documentation [https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html](https://docs.nextcloud.com/server/21/admin_manual/installation/harden_server.html) for further informations


You can also scan your nextcloud instance on [https://scan.nextcloud.com/](https://scan.nextcloud.com/)
You can also scan your Nextcloud instance on [https://scan.nextcloud.com/](https://scan.nextcloud.com/)
displayName: Nextcloud
isOfficial: true
description: Nextcloud is a suite of client-server software for creating and using file hosting services
Expand Down
Loading