Upgrade from 32.0.10 to 32.0.14 fails with write permission ploblem

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.10
  • Operating system and version (e.g., Ubuntu 24.04):
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • just trying to upgrade via web interface
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • tar gz archive
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • NO

Summary of the issue you are facing:

trying to upgrade from 32.0.10 to 32.0.14 step 3 of the update process (Check for write permissions) gives this error:

Check for write permissions
The following places can not be written to:

    python3
    python
    python
    python3
    python
    python3

Steps to replicate it (hint: details matter!):

  1. go to web update interface

  2. start update

  3. step 3 is as described above

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

no related logs

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

nothing relevant 

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "amilcare.iuse.it"
        ],
        "overwriteprotocol": "https",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/amilcare.iuse.it",
        "dbtype": "mysql",
        "version": "32.0.10.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 3,
        "maintenance": false,
        "theme": "",
        "htaccess.RewriteBase": "\/",
        "updater.release.channel": "stable",
        "has_rebuilt_cache": true,
        "app_install_overwrite": [
            "sharerenamer",
            "dropit",
            "impersonate",
            "talk_simple_poll",
            "sharingpath",
            "richdocuments",
            "files_texteditor",
            "files_markdown",
            "llm"
        ],
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "maintenance_window_start": 1,
        "dav": {
            "chunked_upload": true,
            "chunked_upload_deleted_files": true,
            "chunked_upload_deleted_files_max_age": 604800,
            "browser": true
        },
        "log_rotate_size": 104857600,
        "log_max_history": 5
    }
}

Apps

The output of occ app:list (if possible).

Enabled:

admin_audit: 1.22.0

calendar: 6.5.4

cloud_federation_api: 1.16.0

contacts: 8.3.19

dashboard: 7.12.0

dav: 1.34.2

event_update_notification: 2.8.0

federatedfilesharing: 1.22.0

files: 2.4.0

files_linkeditor: 1.1.26

files_markdown: 2.4.1

files_pdfviewer: 5.0.0

files_reminders: 1.5.0

files_sharing: 1.24.1

files_texteditor: 2.15.1

files_trashbin: 1.22.0

files_versions: 1.25.0

impersonate: 3.0.1

logcleaner: 1.5.9

logreader: 5.0.0

lookup_server_connector: 1.20.0

mail: 5.11.3

nextcloud_announcements: 4.0.0

notifications: 5.0.0

oauth2: 1.20.0

passwords: 2026.7.20

profile: 1.1.0

provisioning_api: 1.22.0

richdocuments: 9.2.1

serverinfo: 4.0.0

settings: 1.15.1

sharebymail: 1.22.0

spreed: 22.0.17

tasks: 0.18.1

text: 6.0.2

theming: 2.7.0

thesearchpage: 2.3.1

twofactor_backupcodes: 1.21.0

updatenotification: 1.22.0

viewer: 5.0.0

workflowengine: 2.14.0
Disabled:

activity: 5.0.0 (installed 5.0.0)

announcementcenter: 7.5.0 (installed 7.5.0)

app_api: 32.0.0 (installed 4.0.6)

backup: 1.4.0 (installed 1.4.0)

bookmarks: 16.2.6 (installed 16.2.6)

bruteforcesettings: 5.0.0 (installed 3.0.0)

calendar_resource_management: 0.12.2 (installed 0.12.2)

circles: 32.0.0 (installed 25.0.0)

comments: 1.22.0 (installed 1.22.0)

contactsinteraction: 1.13.1 (installed 1.1.0)

deck: 1.16.7 (installed 1.16.7)

emlviewer: 2.0.3 (installed 2.0.3)

encryption: 2.20.0

extract: 1.3.6 (installed 1.3.6)

federation: 1.22.0 (installed 1.22.0)

files_downloadactivity: 1.18.1 (installed 1.18.1)

files_downloadlimit: 5.0.0 (installed 2.0.0)

files_emailviewer: 0.1.6 (installed 0.1.6)

files_external: 1.24.1 (installed 1.22.0)

files_fulltextsearch: 32.0.2 (installed 32.0.2)

files_fulltextsearch_tesseract: 32.0.0 (installed 32.0.0)

files_zip: 2.3.0 (installed 2.3.0)

firstrunwizard: 5.0.0 (installed 2.18.0)

fulltextsearch: 32.0.0 (installed 32.0.0)

groupfolders: 20.1.18 (installed 20.1.18)

guests: 4.9.0 (installed 4.9.0)

llm: 1.2.1 (installed 1.2.1)

mailnotifier: 0.0.3 (installed 0.0.3)

notify_push: 1.4.0 (installed 1.4.0)

onlyoffice: 9.14.2 (installed 9.14.2)

ownershiptransfer: 1.5.0 (installed 1.5.0)

password_policy: 4.0.0 (installed 1.19.0)

photos: 5.0.0 (installed 1.2.0)

polls: 9.2.1 (installed 9.2.1)

privacy: 4.0.0 (installed 1.13.0)

recommendations: 5.0.0 (installed 3.0.0)

related_resources: 3.0.0 (installed 3.0.0)

root_cache_cleaner: 0.1.11 (installed 0.1.11)

support: 4.0.0 (installed 1.8.0)

survey_client: 4.0.0 (installed 1.8.0)

suspicious_login: 10.0.0 (installed 7.0.0)

systemtags: 1.22.0 (installed 1.15.0)

tables: 1.0.9 (installed 1.0.9)

talk_matterbridge: 1.33.1026000 (installed 1.33.1026000)

talk_simple_poll: 1.3.1 (installed 1.3.1)

twofactor_nextcloud_notification: 6.0.0

twofactor_totp: 14.0.0

user_ldap: 1.23.0

user_status: 1.12.0 (installed 1.10.0)

weather_status: 1.12.0 (installed 1.5.0)

webhook_listeners: 1.3.0 (installed 1.1.0-dev)

workflow_pdf_converter: 3.0.0 (installed 3.0.0)

Hi,

maybe helps this:

sudo chown -R www-data:www-data /var/www/nextcloud/

thanks, but it’s a shared hosting and this is not doable.

I’ve updated this instance many times, so I’m really sure this is a owner/group issue, but I may be wrong of course…

In this case I would recommend to contact your hosting provider to get this issue fixed.

Thanks for the suggestion!

I’m wondering anyway why python or python3 should be writable, anyway. Is it a normal requirement?

/me puzzled :wink:

It’s likely the llm app:

Search the forum e.g.

“python3”

Gee thanks! removing the llm dir under apps solved this weird problem!