Compare commits

..

6 commits

Author SHA1 Message Date
4c4e45cb9f Merge pull request 'Bump to 31' (#14) from develop into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #14
2025-03-10 14:39:32 +00:00
3e5398bd33 chore(Dockerfile): update Nextcloud version to 31.0.0
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
* Changed Nextcloud version from 30.0.4 to 31.0.0
2025-03-03 17:17:05 +01:00
4eb4dc28c6 Merge branch 'develop' of code.apps.glenux.net:glenux-opencontainers/service-nextcloud into develop 2025-03-03 17:16:05 +01:00
20a9abe04d Increase max_input_time to prevent file upload timeout
Without this change, users might experience timeouts during large file uploads, leading to a poor user experience and potential data loss.

* Increase max_input_time from 120 to 300 to match max_execution_time

Signed-off-by: Glenn <glenux@glenux.net>
2025-03-03 17:14:27 +01:00
f52664d880 Fix file upload issues by adjusting configuration settings
Without this change, file uploads could fail due to insufficient timeout settings, chunk size limits, and maximum body size restrictions.

* Change the order of arguments for setting lock timeout to match expected format
* Add configuration setting for max chunk size to 20971520 bytes
* Increase Nginx client max body size to 500m to accommodate larger file uploads

Signed-off-by: Glenn <glenux@glenux.net>
2025-03-03 17:14:07 +01:00
54df4b7fcd chore(Dockerfile): Update Nextcloud version to 29.0.12
* Update Nextcloud version from 29.0.7 to 29.0.12 in Dockerfile
2025-03-03 15:50:35 +01:00
3 changed files with 8 additions and 4 deletions

View file

@ -18,8 +18,8 @@
# FROM nextcloud:27.1.4-apache # FROM nextcloud:27.1.4-apache
# FROM nextcloud:28.0.1-apache # FROM nextcloud:28.0.1-apache
# FROM nextcloud:29.0.3-apache # FROM nextcloud:29.0.3-apache
# FROM nextcloud:29.0.7-apache # FROM nextcloud:30.0.4-apache
FROM nextcloud:30.0.4-apache FROM nextcloud:31.0.0-apache
# This is a stupid comment for a demo (remove later) # This is a stupid comment for a demo (remove later)

View file

@ -22,9 +22,13 @@ ssh dokku@buddha-apps.boldcode.io app-json:set cloud appjson-path /app/app.json
Run after install Run after install
config:app:set --value '30' files_lock lock_timeout config:app:set files_lock lock_timeout --value '30'
config:app:set files max_chunk_size --value 20971520
# FIXME: config:global:set --value '/Shared' share_folder
Add this in crontab Add this in crontab
dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all" dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all"
dokku nginx:set cloud client-max-body-size 500m

View file

@ -2,4 +2,4 @@ file_uploads = On
upload_max_filesize = 128M upload_max_filesize = 128M
post_max_size = 128M post_max_size = 128M
max_execution_time = 1200 max_execution_time = 1200
max_input_time = 120 max_input_time = 300