Steps to reproduce
- Successfully login to webdav or app
- Click on directory
- Click on file
Expected behaviour
File should display (picture, video, etc)
Actual behaviour
App gives error “The requested URL was not found on this server” and webdav gives error “Not found”
Server configuration
Operating system: Ubuntu 20.04.2
Web server: Apache
Database: MySQL
PHP version: 7.4
ownCloud version: (see ownCloud admin page) latest
Updated from an older ownCloud or fresh install: fresh install
Where did you install ownCloud from: command line
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
or
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder
{
"system": {
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"updatechecker": false,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"sanitized",
"sanitized"
],
"datadirectory": "\/mnt\/owncloud\/data",
"overwrite.cli.url": "http:\/\/localhost",
"dbtype": "mysql",
"version": "10.8.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\/owncloud\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/owncloud\/apps-external",
"url": "\/apps-external",
"writable": true
}
],
"installed": true,
"instanceid": "ocea44e9w4mj",
"loglevel": 4
}
}
*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
Enabled:
- activity:
- Version: 2.6.1
- Path: /var/www/owncloud/apps/activity
- comments:
- Version: 0.3.0
- Path: /var/www/owncloud/apps/comments
- configreport:
- Version: 0.2.0
- Path: /var/www/owncloud/apps/configreport
- dav:
- Version: 0.6.0
- Path: /var/www/owncloud/apps/dav
- federatedfilesharing:
- Version: 0.5.0
- Path: /var/www/owncloud/apps/federatedfilesharing
- federation:
- Version: 0.1.0
- Path: /var/www/owncloud/apps/federation
- files:
- Version: 1.5.2
- Path: /var/www/owncloud/apps/files
- files_external:
- Version: 0.8.0
- Path: /var/www/owncloud/apps/files_external
- files_mediaviewer:
- Version: 1.0.4
- Path: /var/www/owncloud/apps/files_mediaviewer
- files_pdfviewer:
- Version: 0.12.2
- Path: /var/www/owncloud/apps/files_pdfviewer
- files_sharing:
- Version: 0.14.0
- Path: /var/www/owncloud/apps/files_sharing
- files_texteditor:
- Version: 2.3.1
- Path: /var/www/owncloud/apps/files_texteditor
- files_trashbin:
- Version: 0.9.1
- Path: /var/www/owncloud/apps/files_trashbin
- files_versions:
- Version: 1.3.0
- Path: /var/www/owncloud/apps/files_versions
- firstrunwizard:
- Version: 1.2.0
- Path: /var/www/owncloud/apps/firstrunwizard
- market:
- Version: 0.6.1
- Path: /var/www/owncloud/apps/market
- notifications:
- Version: 0.5.4
- Path: /var/www/owncloud/apps/notifications
- provisioning_api:
- Version: 0.5.0
- Path: /var/www/owncloud/apps/provisioning_api
- systemtags:
- Version: 0.3.0
- Path: /var/www/owncloud/apps/systemtags
- templateeditor:
- Version: 0.4.0
- Path: /var/www/owncloud/apps/templateeditor
- updatenotification:
- Version: 0.2.1
- Path: /var/www/owncloud/apps/updatenotification
Disabled:
- admin_audit:
- Path: /var/www/owncloud/apps/admin_audit
- announcementcenter:
- Path: /var/www/owncloud/apps/announcementcenter
- customgroups:
- Path: /var/www/owncloud/apps/customgroups
- encryption:
- Path: /var/www/owncloud/apps/encryption
- enterprise_key:
- Path: /var/www/owncloud/apps/enterprise_key
- external:
- Path: /var/www/owncloud/apps/external
- files_antivirus:
- Path: /var/www/owncloud/apps/files_antivirus
- files_classifier:
- Path: /var/www/owncloud/apps/files_classifier
- files_external_dropbox:
- Path: /var/www/owncloud/apps/files_external_dropbox
- files_external_ftp:
- Path: /var/www/owncloud/apps/files_external_ftp
- files_ldap_home:
- Path: /var/www/owncloud/apps/files_ldap_home
- files_lifecycle:
- Path: /var/www/owncloud/apps/files_lifecycle
- firewall:
- Path: /var/www/owncloud/apps/firewall
- graphapi:
- Path: /var/www/owncloud/apps/graphapi
- guests:
- Path: /var/www/owncloud/apps/guests
- metrics:
- Path: /var/www/owncloud/apps/metrics
- oauth2:
- Path: /var/www/owncloud/apps/oauth2
- openidconnect:
- Path: /var/www/owncloud/apps/openidconnect
- password_policy:
- Path: /var/www/owncloud/apps/password_policy
- ransomware_protection:
- Path: /var/www/owncloud/apps/ransomware_protection
- sharepoint:
- Path: /var/www/owncloud/apps/sharepoint
- systemtags_management:
- Path: /var/www/owncloud/apps/systemtags_management
- theme-enterprise:
- Path: /var/www/owncloud/apps/theme-enterprise
- user_external:
- Path: /var/www/owncloud/apps/user_external
- user_ldap:
- Path: /var/www/owncloud/apps/user_ldap
- user_shibboleth:
- Path: /var/www/owncloud/apps/user_shibboleth
- web:
- Path: /var/www/owncloud/apps/web
- windows_network_drive:
- Path: /var/www/owncloud/apps/windows_network_drive
- wopi:
- Path: /var/www/owncloud/apps/wopi
- workflow:
- Path: /var/www/owncloud/apps/workflow
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser: Chrome, app
Operating system: MacOS
Logs
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
These logs are all large, not sure what all you need, please let me know!