-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrade from 32.0.1 to 32.0.2 fails with "Check for write permissions" for "config.php,v" when using Nextcloud's web updater.
I use RCS to version my nextcloud/config/config.php file, Nextcloud has no reason to write to RCS/config.php,v (RCS's created file).
Steps to reproduce
- Create an
RCSdirectory undernextcloud/config/ - Within
nextcloud/configuse RCS'sci -l config.phpwhich creates anRCS/config.php,vfile (note permissions onRCS/config.php,vdo not include "writable") - Open Nextcloud's web updater and click "Start update"
- "Check for write permissions" fails with the following text:
The following places can not be written to:
config.php,v
Expected behavior
Update passes write permissions check for files not managed by Nextcloud.
Nextcloud Server version
32
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
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?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.1.2",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"htaccess.RewriteBase": "\/",
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***",
"timeout": 1.5
},
"maintenance": false,
"theme": "",
"loglevel": 2,
"log_type": "file",
"logfile": "\/var\/log\/nextcloud.log",
"logfilemode": 416,
"logdateformat": "F d, Y H:i:s",
"enable_previews": true,
"preview_max_x": 1920,
"preview_max_y": 1080,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\PDF",
"OC\\Preview\\SVG",
"OC\\Preview\\TIFF",
"OC\\Preview\\Font",
"OC\\Preview\\Movie"
],
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mysql.utf8mb4": true,
"defaultapp": "apporder",
"default_phone_region": "AU",
"maintenance_window_start": 16,
"app_install_overwrite": []
}
}List of activated Apps
Enabled:
- activity: 5.0.0-dev.0
- bookmarks: 16.0.1
- bruteforcesettings: 5.0.0-dev.0
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contactsinteraction: 1.13.1
- dashboard: 7.12.0
- dav: 1.34.2
- deck: 1.16.1
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0-dev.0
- files_external: 1.24.0
- files_pdfviewer: 5.0.0-dev.0
- files_reminders: 1.5.0
- files_sharing: 1.24.0
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0-dev.0
- impersonate: 3.0.0
- logreader: 5.0.0-dev.0
- lookup_server_connector: 1.20.0
- metadata: 0.23.0
- notifications: 5.0.0-dev.0
- oauth2: 1.20.0
- password_policy: 4.0.0-dev.0
- photos: 5.0.0-dev.1
- previewgenerator: 5.11.0
- privacy: 4.0.0-dev.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- related_resources: 3.0.0-dev.0
- serverinfo: 4.0.0-dev.0
- settings: 1.15.1
- sharebymail: 1.22.0
- support: 4.0.0-dev.0
- systemtags: 1.22.0
- tasks: 0.17.1
- text: 6.0.1
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0-dev.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled:
- admin_audit: 1.22.0
- app_api: 32.0.0 (installed 32.0.0)
- encryption: 2.20.0
- nextcloud_announcements: 4.0.0-dev.0 (installed 1.4.0)
- recommendations: 5.0.0-dev.0 (installed 0.8.0)
- survey_client: 4.0.0-dev.0 (installed 1.7.0)
- suspicious_login: 10.0.0-dev.0
- twofactor_nextcloud_notification: 6.0.0-dev.0
- twofactor_totp: 14.0.0
- user_ldap: 1.23.0Nextcloud Signing status
No errors have been found.Nextcloud Logs
From updater.log:
2025-11-21T10:35:12+1100 nEHWevIAdp [info] getChangelogURL()
2025-11-21T10:35:12+1100 nEHWevIAdp [info] end of checkForUpdate() Update to Nextcloud 32.0.2 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-32.0.2.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#32-0-2" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] request to updater
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] currentStep()
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] POST request for step "1"
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] startStep("1")
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] checkForExpectedFilesAndFolders()
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] end of checkForExpectedFilesAndFolders()
2025-11-21T10:35:32+1100 DNRyyTAD3o [info] endStep("1")
2025-11-21T10:35:32+1100 6oU8xxfS0m [info] request to updater
2025-11-21T10:35:32+1100 6oU8xxfS0m [info] currentStep()
2025-11-21T10:35:32+1100 6oU8xxfS0m [info] Step 1 is in state "end".
2025-11-21T10:35:32+1100 6oU8xxfS0m [info] POST request for step "2"
2025-11-21T10:35:33+1100 6oU8xxfS0m [info] startStep("2")
2025-11-21T10:35:33+1100 6oU8xxfS0m [info] checkWritePermissions()
2025-11-21T10:35:33+1100 6oU8xxfS0m [error] POST request failed with UpdateException
2025-11-21T10:35:33+1100 6oU8xxfS0m [error] Exception: UpdateException
Message:
Code:0
Trace:
#0 /var/www/html/nextcloud/updater/index.php(1421): Updater->checkWritePermissions()
nextcloud/server#1 {main}
File:/var/www/html/nextcloud/updater/index.php
Line:398
Data:
Array
(
[0] => config.php,v
)Additional info
No response