Steps to reproduce
Try to use any client to connect to the server.
Expected behaviour
Well, it should work.
Actual behaviour
I’m getting message that system can’t write to the config.
Server configuration
Operating system: Arch Linux
Web server: Apache/2.4.46 with php-fpm
Database: MariaDB 10.4.13
PHP version: 7.4.11
ownCloud version: 10.5.0
Updated from an older ownCloud or fresh install: Update from 10.3
Where did you install ownCloud from: Manually
Signing status (ownCloud 9.0 and above):
Don’t know what it is, can’t log in even to try and see.
The content of config/config.php:
{
"system": {
"instanceid": "oc11a7lsh7wt",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "10.5.0.10",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "tls",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"redis": {
"host": "localhost",
"port": 6379
},
"memcache.locking": "\\OC\\Memcache\\Redis",
"theme": "",
"loglevel": 0,
"log_type": "owncloud",
"debug": true,
"maintenance": false,
"htaccess.RewriteBase": "\/",
"updater.secret": "***REMOVED SENSITIVE VALUE***",
"upgrade.automatic-app-update": true
}
}
List of activated apps:
Enabled:
- comments: 0.3.0
- configreport: 0.2.0
- dav: 0.6.0
- federatedfilesharing: 0.5.0
- federation: 0.1.0
- files: 1.5.2
- files_external: 0.7.1
- files_mediaviewer: 1.0.3
- files_sharing: 0.13.0
- files_texteditor: 2.3.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- firstrunwizard: 1.2.0
- market: 0.6.0
- notifications: 0.5.2
- provisioning_api: 0.5.0
- templateeditor: 0.4.0
- twofactor_totp: 0.7.0
- updatenotification: 0.2.1
Disabled:
- activity
- admin_audit
- announcementcenter
- camerarawpreviews
- customgroups
- encryption
- enterprise_key
- external
- files_antivirus
- files_classifier
- files_external_dropbox
- files_external_ftp
- files_ldap_home
- files_pdfviewer
- firewall
- gallery
- gpxpod
- guests
- oauth2
- password_policy
- ransomware_protection
- sharepoint
- systemtags
- systemtags_management
- theme-enterprise
- user_external
- user_ldap
- user_shibboleth
- windows_network_drive
- wopi
- workflow
Are you using external storage, if yes which one: Nope
Are you using encryption: no
Are you using an external user-backend, if yes which one: Nope
Client configuration
Browser: Firefox 82.0b9
Operating system: Windows 10
Logs
Web server error log
Nothing in the logs
ownCloud log (data/owncloud.log)
Nothing in the logs
Browser log
Nothing in the logs
Updated from 10.3 and I did that like before - by manualy downloading package and replacing everything with the upgrade guide providing me with steps. But this time I can’t access the server from any client (web also) because system gives me info about permission issue with writing to config. I checked all the folders for both ownership and permission mask and it’s exactly the same as it was before - server owns it:
drwxr-xr-x 12 http http 4096 08-03 09:20 .
drwxr-xr-x 7 root root 4096 10-12 22:26 ..
-rw-r--r-- 1 http http 4599 10-12 22:35 .htaccess
-rw-r--r-- 1 http http 163 08-03 09:20 .user.ini
-rw-r--r-- 1 http http 8859 08-03 09:20 AUTHORS
-rw-r--r-- 1 http http 234862 08-03 09:20 CHANGELOG.md
-rw-r--r-- 1 http http 34520 08-03 09:20 COPYING
-rw-r--r-- 1 http http 2157 08-03 09:20 README.md
drwxrwxrwx 52 http http 4096 10-12 22:34 apps
drwxrwxrwx 2 http http 4096 10-12 22:29 config
-rw-r--r-- 1 http http 4624 08-03 09:20 console.php
drwxr-xr-x 16 http http 4096 08-03 09:21 core
-rw-r--r-- 1 http http 1717 08-03 09:20 cron.php
-rw-r--r-- 1 http http 31204 08-03 09:20 db_structure.xml
-rw-r--r-- 1 http http 179 08-03 09:20 index.html
-rw-r--r-- 1 http http 3524 08-03 09:20 index.php
drwxr-xr-x 6 http http 4096 08-03 09:20 lib
-rwxr-xr-x 1 http http 283 08-03 09:20 occ
drwxr-xr-x 2 http http 4096 08-03 09:20 ocm-provider
drwxr-xr-x 2 http http 4096 08-03 09:20 ocs
drwxr-xr-x 2 http http 4096 08-03 09:20 ocs-provider
-rw-r--r-- 1 http http 3135 08-03 09:20 public.php
-rw-r--r-- 1 http http 5618 08-03 09:20 remote.php
drwxr-xr-x 4 http http 4096 08-03 09:20 resources
-rw-r--r-- 1 http http 26 08-03 09:20 robots.txt
drwxr-xr-x 12 http http 4096 08-03 09:20 settings
-rw-r--r-- 1 http http 2231 08-03 09:20 status.php
drwxr-xr-x 6 http http 4096 2019-11-14 updater
-rw-r--r-- 1 http http 281 08-03 09:20 version.php
I also have open_basedir setup through php-fpm config file to include owncloud install folder. The only thing that I did change was finally moving instance to the PHP 7.4 instead of 7.3 at which it worked before. Upgrade process went fine, without any errors. occ check
also doesn’t output anything. What’s weird for me is that there’s nothing in any error logs, whatever log level is set to. Access log gives info about entering site but that’s it.
I’ve already tried to sudo -u http ls -la owncloud/config
to see if the webserver user has access…and it has. I tried to even edit config file this way and it worked without issue.
Do you have any tips what I could do to debug this? I’ve already tried setting new version twice.