Steps to reproduce
1.Install oath2 as per ownCloud Web on ownCloud Server 10.x :: ownCloud Documentation
2.Install web
3.Confiure
Expected behaviour
New design icon should run new design
Actual behaviour
Page with "File not found. "
Server configuration
Operating system: AlmaLinux 8.6
Web server: Apache/2.4.37 (AlmaLinux)
Database: sqlite3 3.26.0
PHP version: PHP 7.4.19
ownCloud version: (see ownCloud admin page) 10.9.0.3
Updated from an older ownCloud or fresh install: Update
Where did you install ownCloud from: Your website
The content of config/config.php:
{
"system": {
"updatechecker": false,
"instanceid": "oc6xn3nwfdw8",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"XXXXXXX",
"192.168.N.N",
"XXXXXXX"
],
"datadirectory": "\/Cloud",
"overwrite.cli.url": "http:\/\/localhost\/owncloud",
"dbtype": "sqlite3",
"version": "10.9.0.3",
"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,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"theme": "",
"loglevel": 2,
"maintenance": false,
"allow_user_to_change_mail_address": "",
"files_external_allow_create_new_local": "true",
"web.baseUrl": "http:\/\/tamar.home\/index.php\/apps\/web"
}
}
List of activated apps:
Enabled:
- activity:
- Version: 2.7.0
- Path: /var/www/html/owncloud/apps-external/activity
- calendar:
- Version: 1.6.4
- Path: /var/www/html/owncloud/apps-external/calendar
- 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.7.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.8.0
- Path: /var/www/html/owncloud/apps/files_external
- files_mediaviewer:
- Version: 1.0.5
- Path: /var/www/html/owncloud/apps/files_mediaviewer
- files_pdfviewer:
- Version: 1.0.1
- 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.4.1
- 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
- gallery:
- Version: 16.1.2
- Path: /var/www/html/owncloud/apps-external/gallery
- gpxpod:
- Version: 2.2.2
- Path: /var/www/html/owncloud/apps-external/gpxpod
- impersonate:
- Version: 0.5.1
- Path: /var/www/html/owncloud/apps-external/impersonate
- market:
- Version: 0.6.3
- Path: /var/www/html/owncloud/apps-external/market
- metadata:
- Version: 0.10.0
- Path: /var/www/html/owncloud/apps-external/metadata
- notifications:
- Version: 0.5.4
- Path: /var/www/html/owncloud/apps/notifications
- oauth2:
- Version: 0.5.3
- Path: /var/www/html/owncloud/apps-external/oauth2
- 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
- tasks:
- Version: 0.9.7
- Path: /var/www/html/owncloud/apps-external/tasks
- templateeditor:
- Version: 0.4.0
- Path: /var/www/html/owncloud/apps/templateeditor
- updatenotification:
- Version: 0.2.1
- Path: /var/www/html/owncloud/apps/updatenotification
- web:
- Version: 5.6.1
- Path: /var/www/html/owncloud/apps-external/web
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
- 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: YES local
Are you using encryption: yes/no NO
Are you using an external user-backend, if yes which one: NO
Client configuration
Browser: Firefox 91.10.0esr (64-bit)
Operating system: AlmaLinux
Logs
Web server error log (since last boot, 42 minutes ago)
[Sat Jul 02 10:36:07.319539 2022] [proxy_fcgi:error] [pid 2135:tid 139666623817472] [client 192.168.N.N:50220] AH01071: Got error 'Primary script unknown'
[Sat Jul 02 10:56:19.172451 2022] [proxy_fcgi:error] [pid 4130:tid 139666623817472] [client 192.168.N.N:50732] AH01071: Got error 'Primary script unknown'
ownCloud log (data/owncloud.log)
(nothing logged since 25/9/21
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Following the instructions in ownCloud Web on ownCloud Server 10.x :: ownCloud Documentation I installed both oauth2
and the web interface. I configured oauth2 as follows:
"server" : "http://XXXXXX",
"theme": "http:/XXXXXX/themes/owncloud/theme.json",
"auth": {
"clientId": "XXXXXX",
"url": "http://XXXXXX/index.php/apps/oauth2/api/v1/token",
"authUrl": "http://XXXXXX/index.php/apps/oauth2/authorize"
},
"apps" : [
"files",
"preview",
"draw-io"
],
"applications" : [
{
"title": {
"en": "Classic Design",
"de": "Klassisches Design",
"fr": "Design classique",
"zh_CN": "文件"
},
"icon": "swap-box",
"url": "http://XXXXXX/index.php/apps/files"
},
{
"icon": "settings-4",
"menu": "user",
"target": "_self",
"title": {
"de": "Einstellungen",
"en": "Settings"
},
"url": "http://XXXXXX/index.php/settings/personal"
}
]
}
again, as per the documentation. I changed https to http since this is a purely local system behind a firewall.
When the new app tries to run it accesses http://XXXXXX/index.php/apps/web/index.html and returns ```
"File not found. ", however the file is there:
# ls -l apps/web/index.html
-rwxrwxr-x 1 apache apache 2788 Dec 17 2021 apps/web/index.html
I notice that when attempting to log into the connections/activity/settings window, oauth2 pops up a mesage: “Oauth2 authentication requires a secured connection.” Is this the root of the problem and does oauth2 force me to use https?