Steps to reproduce
- Install owncloud
- Login
Expected behaviour
Folders should show up and default sample files
Actual behaviour
Showing no folders and instead Error “Encountered problem accessing the folder /”
It seems that it is trying to access / path, which is why it is getting this error
Even when in configuration the path is /var/www/html/owncloud/data
Server configuration
Operating system: Ubuntu 20.04
Web server: Nginx
Database: MySQL
PHP version: 7.4
ownCloud version: 10.7
Updated from an older ownCloud or fresh install: Fresh Install. Even old version on a different server is giving same problem even when it was working before
Where did you install ownCloud from: From Owncloud Website manual install
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
No errors have been found.
The content of config/config.php:
1 <?php
1 $CONFIG = array (
2 ‘instanceid’ => ‘occpw3kbfa63’,
3 ‘passwordsalt’ => ‘fmObTjxEtbqro2FhhLW6bI2P/D+TFb’,
4 ‘secret’ => ‘qRqZEcDouq+9BPPfYPCcwgkE92zx9rsSDEJiCcr5ioX7EpXR’,
5 ‘trusted_domains’ =>
6 array (
7 0 => ‘192.168.1.70’,
8 ),
9 ‘datadirectory’ => ‘/var/www/html/owncloud/data’,
10 ‘overwrite.cli.url’ => ‘http://192.168.1.70’,
11 ‘dbtype’ => ‘mysql’,
12 ‘version’ => ‘10.7.0.4’,
13 ‘dbname’ => ‘owncloud’,
14 ‘dbhost’ => ‘localhost’,
15 ‘dbtableprefix’ => ‘oc_’,
16 ‘mysql.utf8mb4’ => true,
17 ‘dbuser’ => ‘ownclouduser’,
18 ‘dbpassword’ => ‘test’,
19 ‘logtimezone’ => ‘UTC’,
20 ‘apps_paths’ =>
21 array (
22 0 =>
23 array (
24 | ‘path’ => ‘/var/www/html/owncloud/apps’,
25 | ‘url’ => ‘/apps’,
26 | ‘writable’ => false,
27 ),
28 1 =>
29 array (
30 | ‘path’ => ‘/var/www/html/owncloud/apps-external’,
31 | ‘url’ => ‘/apps-external’,
32 | ‘writable’ => true,
33 ),
34 ),
35 ‘installed’ => true,
36 );
{
"system": {
"instanceid": "occpw3kbfa63",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.1.70"
],
"datadirectory": "\/var\/www\/html\/owncloud\/data",
"overwrite.cli.url": "http:\/\/192.168.1.70",
"dbtype": "mysql",
"version": "10.7.0.4",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"apps_paths": [
{
"path": "\/var\/www\/html\/owncloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/owncloud\/apps-external",
"url": "\/apps-external",
"writable": true
}
],
"installed": true
}
}
List of activated apps:
Enabled:
- activity:
- Version: 2.6.0
- Path: /var/www/html/owncloud/apps/activity
- comments:
- Version: 0.3.0
- Path: /var/www/html/owncloud/apps/comments
- configreport:
- Version: 0.2.0
- Path: /var/www/html/owncloud/apps/configreport
- dav:
- Version: 0.6.0
- Path: /var/www/html/owncloud/apps/dav
- federatedfilesharing:
- Version: 0.5.0
- Path: /var/www/html/owncloud/apps/federatedfilesharing
- federation:
- Version: 0.1.0
- Path: /var/www/html/owncloud/apps/federation
- files:
- Version: 1.5.2
- Path: /var/www/html/owncloud/apps/files
- files_external:
- Version: 0.7.1
- Path: /var/www/html/owncloud/apps/files_external
- files_mediaviewer:
- Version: 1.0.4
- Path: /var/www/html/owncloud/apps/files_mediaviewer
- files_pdfviewer:
- Version: 0.11.2
- Path: /var/www/html/owncloud/apps/files_pdfviewer
- files_sharing:
- Version: 0.14.0
- Path: /var/www/html/owncloud/apps/files_sharing
- files_texteditor:
- Version: 2.3.0
- Path: /var/www/html/owncloud/apps/files_texteditor
- files_trashbin:
- Version: 0.9.1
- Path: /var/www/html/owncloud/apps/files_trashbin
- files_versions:
- Version: 1.3.0
- Path: /var/www/html/owncloud/apps/files_versions
- firstrunwizard:
- Version: 1.2.0
- Path: /var/www/html/owncloud/apps/firstrunwizard
- market:
- Version: 0.6.0
- Path: /var/www/html/owncloud/apps/market
- notifications:
- Version: 0.5.2
- Path: /var/www/html/owncloud/apps/notifications
- provisioning_api:
- Version: 0.5.0
- Path: /var/www/html/owncloud/apps/provisioning_api
- systemtags:
- Version: 0.3.0
- Path: /var/www/html/owncloud/apps/systemtags
- templateeditor:
- Version: 0.4.0
- Path: /var/www/html/owncloud/apps/templateeditor
- updatenotification:
- Version: 0.2.1
- Path: /var/www/html/owncloud/apps/updatenotification
Disabled:
- admin_audit:
- Path: /var/www/html/owncloud/apps/admin_audit
- announcementcenter:
- Path: /var/www/html/owncloud/apps/announcementcenter
- customgroups:
- Path: /var/www/html/owncloud/apps/customgroups
- encryption:
- Path: /var/www/html/owncloud/apps/encryption
- enterprise_key:
- Path: /var/www/html/owncloud/apps/enterprise_key
- external:
- Path: /var/www/html/owncloud/apps/external
- files_antivirus:
- Path: /var/www/html/owncloud/apps/files_antivirus
- files_classifier:
- Path: /var/www/html/owncloud/apps/files_classifier
- files_external_dropbox:
- Path: /var/www/html/owncloud/apps/files_external_dropbox
- files_external_ftp:
- Path: /var/www/html/owncloud/apps/files_external_ftp
- files_ldap_home:
- Path: /var/www/html/owncloud/apps/files_ldap_home
- files_lifecycle:
- Path: /var/www/html/owncloud/apps/files_lifecycle
- firewall:
- Path: /var/www/html/owncloud/apps/firewall
- graphapi:
- Path: /var/www/html/owncloud/apps/graphapi
- guests:
- Path: /var/www/html/owncloud/apps/guests
- metrics:
- Path: /var/www/html/owncloud/apps/metrics
- oauth2:
- Path: /var/www/html/owncloud/apps/oauth2
- openidconnect:
- Path: /var/www/html/owncloud/apps/openidconnect
- password_policy:
- Path: /var/www/html/owncloud/apps/password_policy
- ransomware_protection:
- Path: /var/www/html/owncloud/apps/ransomware_protection
- sharepoint:
- Path: /var/www/html/owncloud/apps/sharepoint
- systemtags_management:
- Path: /var/www/html/owncloud/apps/systemtags_management
- theme-enterprise:
- Path: /var/www/html/owncloud/apps/theme-enterprise
- user_external:
- Path: /var/www/html/owncloud/apps/user_external
- user_ldap:
- Path: /var/www/html/owncloud/apps/user_ldap
- user_shibboleth:
- Path: /var/www/html/owncloud/apps/user_shibboleth
- windows_network_drive:
- Path: /var/www/html/owncloud/apps/windows_network_drive
- wopi:
- Path: /var/www/html/owncloud/apps/wopi
- workflow:
- Path: /var/www/html/owncloud/apps/workflow
Are you using external storage, if yes which one: NO
Are you using encryption: yes/no - SSL
Are you using an external user-backend, if yes which one: NO
LDAP configuration (delete this part if not used)
There are no commands defined in the "ldap" namespace.
Client configuration
Browser: Safari / Firefox
Operating system: MacOSX
Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
{"reqId":"jfswMEI1LfppwDxEDoJV","level":3,"time":"2021-06-28T08:04:57+00:00","remoteAddr":"192.168.1.12","user":"admin","app":"PHP","method":"GET","url":"\/index.php\/core\/ajax\/appconfig.php?app=core&key=umgmt_set_password&defaultValue=false&action=getValue","message":"Undefined variable: app at \/var\/www\/html\/owncloud\/core\/ajax\/appconfig.php#38"}