The Basics
- Nextcloud Server version (e.g., 29.x.x):
32.0.8
- Operating system and version (e.g., Ubuntu 24.04):
Debian 13
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.66
- Reverse proxy and version _(e.g. nginx 1.27.2)
---
- PHP version (e.g, 8.3):
8.3.30
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
---
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Hello, when I try to add a logo or background, I always get the following error:
Could not create path "/appdata_oc5rahz5rvam/theming/global/images/logo"
Maybe there is a problem, because I have an alternative data-directory set.
But, everything else is working like a charm.
Steps to replicate it (hint: details matter!):
- Try to add a logo or a background image via Webinterface
Log entries
Nextcloud
{"reqId":"5DuR2q0tdF3sZtfxh8JQ","level":2,"time":"2026-04-19T21:18:17+00:00","remoteAddr":"90.146.104.191","user":"xxxxx","app":"PHP","method":"POST","url":"/index.php/apps/theming/ajax/uploadImage","scriptName":"/index.php","message":"file_put_contents(/mnt/localblockstorage1/data/appdata_oc5rahz5rvam/theming/global/images/logo): Failed to open stream: No such file or directory at /home/users/xxxxxxxxxxxxxxxxx/www/nextcloud/lib/private/Files/Storage/Local.php#306","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36","version":"32.0.8.2","data":{"app":"PHP"},"id":"69e5d8dc2208c"}
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
422 POST /index.php/apps/theming/ajax/uploadImage HTTP/2.0
Configuration
Nextcloud
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"xxxxxxxxxxxx.at",
"www.xxxxxxxxxxxx.at"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "32.0.8.2",
"overwrite.cli.url": "http:\/\/xxxxxxxxxxxxxx.at",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"remember_login_cookie_lifetime": 15552000,
"session_lifetime": 86400,
"session_keepalive": true,
"auto_logout": false,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"maintenance": false,
"trashbin_retention_obligation": "auto, 30",
"theme": "",
"loglevel": 2,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"maintenance_window_start": 1,
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"updater.release.channel": "stable",
"has_rebuilt_cache": true,
"app_install_overwrite": [
"bookmarks"
],
"default_phone_region": "AT",
"mysql.utf8mb4": true,
"memories.exiftool": "\/home\/users\/princessandhoney\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/home\/users\/princessandhoney\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memories.db.triggers.fcu": true,
"preview_max_x": 2048,
"preview_max_y": 2048,
"memories.gis_type": 1,
"defaultapp": "",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\TIFF"
],
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
Apps
- activity: 5.0.0
- app_api: 32.0.0
- bookmarks: 16.1.4
- bruteforcesettings: 5.0.0
- calendar: 6.2.2
- circles: 32.0.0
- cloud_federation_api: 1.16.0
- comments: 1.22.0
- contacts: 8.3.8
- contactsinteraction: 1.13.1
- cookbook: 0.11.6
- cospend: 3.2.0
- dashboard: 7.12.0
- dav: 1.34.2
- external: 7.0.0
- federatedfilesharing: 1.22.0
- federation: 1.22.0
- files: 2.4.0
- files_downloadlimit: 5.0.0
- files_external: 1.24.1
- files_pdfviewer: 5.0.0
- files_reminders: 1.5.0
- files_sharing: 1.24.1
- files_trashbin: 1.22.0
- files_versions: 1.25.0
- firstrunwizard: 5.0.0
- forms: 5.2.7
- keeweb: 0.6.22
- logreader: 5.0.0
- lookup_server_connector: 1.20.0
- metadata: 0.23.0
- music: 3.0.0
- nextcloud_announcements: 4.0.0
- notifications: 5.0.0
- oauth2: 1.20.0
- password_policy: 4.0.0
- photos: 5.0.0
- polls: 9.0.1
- privacy: 4.0.0
- profile: 1.1.0
- provisioning_api: 1.22.0
- recommendations: 5.0.0
- related_resources: 3.0.0
- serverinfo: 4.0.0
- settings: 1.15.1
- sharebymail: 1.22.0
- support: 4.0.0
- survey_client: 4.0.0
- systemtags: 1.22.0
- tasks: 0.17.1
- theming: 2.7.0
- twofactor_backupcodes: 1.21.0
- twofactor_totp: 14.0.0
- updatenotification: 1.22.0
- user_status: 1.12.0
- viewer: 5.0.0
- weather_status: 1.12.0
- webhook_listeners: 1.3.0
- workflowengine: 2.14.0
Disabled:
- admin_audit: 1.22.0
- deck: 1.11.4 (installed 1.11.4)
- encryption: 2.20.0
- notes: 4.9.4 (installed 4.9.4)
- quicknotes: 0.8.10 (installed 0.8.10)
- suspicious_login: 10.0.0
- text: 6.0.1 (installed 1.1.1)
- twofactor_nextcloud_notification: 6.0.0
- user_ldap: 1.23.0
