-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
My 32.0.3 instance runs well. After pulling the 32.0.4 and firing the containers up I got errors and the container just restarted forever.
Steps to reproduce
- Find a running 32.0.3 instance
- Upgrade it to 32.0.4
Expected behavior
Upgrading process should be successfully finished.
Nextcloud Server version
32
Operating system
Other
PHP engine version
Other
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
N/AList of activated Apps
N/ANextcloud Signing status
N/ANextcloud Logs
N/AAdditional info
I use docker for my services. The php engine, web server, etc. are shipped within in the image. The docker logs -f nextcloud-app-1 output:
Can't start Nextcloud because the version of the data (
Warning: Invalid "upload_max_filesize" setting. Invalid quantity "10240M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Invalid "post_max_size" setting. Invalid quantity "10240M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Invalid "memory_limit" setting. Invalid quantity "4096M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Failed to set memory limit to 0 bytes (Current memory usage is 2097152 bytes) in Unknown on line 0
32.0.3.2) is higher than the docker image version (
Warning: Invalid "upload_max_filesize" setting. Invalid quantity "10240M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Invalid "post_max_size" setting. Invalid quantity "10240M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Invalid "memory_limit" setting. Invalid quantity "4096M": value is out of range, using overflow result for backwards compatibility in Unknown on line 0
Warning: Failed to set memory limit to 0 bytes (Current memory usage is 2097152 bytes) in Unknown on line 0
32.0.4.1) and downgrading is not supported. Are you sure you have pulled the newest image version?
Then the same content just repeats as the container restarts. It seems like a mixture of warnings for several "invalid" settings and a failure of upgrade because it thinks that 32.0.4 is a lower version than 32.0.3.🤣
For referrence, here is my compose file for the nextcloud-app-1 service:
app:
image: nextcloud:32.0.4
container_name: nextcloud-app-1
restart: unless-stopped
ports:
- 30030:80
depends_on:
- db
- redis
- onlyoffice
- push
volumes:
- /mnt/Data/AppData/nextcloud/ncdata/:/var/www/html
- /mnt/Data/TANK:/mnt/Data/TANK
- ... # other external storages
environment:
- MYSQL_PASSWORD=***
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
- PHP_MEMORY_LIMIT=4096M
- PHP_UPLOAD_LIMIT=10240M
- OPcache=1024M
- APACHE_BODY_LIMIT=0
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
networks:
- nc_net
extra_hosts:
- "host:host-gateway"
aHcVolle