ownCloud X (10.0.1) Server Appliance Enterprise Edition - File Firewall tab Internal Server Error

Steps to reproduce

  1. Fresh Install ownCloud X Server Appliance on ESX
  2. start Enterprise trial
  3. Login to owncloud -> Admin page -> firewall, Internal Server Error instant prompt

Expected behaviour

file firewall setting page should be shown

Actual behaviour

Internal Server Error page instant prompt

Server configuration

Operating system:
ownCloud X (10.0.1) Server Appliance
Web server:
ownCloud X (10.0.1) Server Appliance
Database:
ownCloud X (10.0.1) Server Appliance
PHP version:
ownCloud X (10.0.1) Server Appliance
ownCloud version: (see ownCloud admin page)
ownCloud X (10.0.1) Server Appliance
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
ESX host
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.

No errors have been found.

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

*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.

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

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:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

16T15:04:22+08:00","remoteAddr":"172.17.42.1","user":"owncloud","app":"index","method":"GET","url":"\/owncloud\/index.php\/settings\/admin?sectionid=firewall","
message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"template file not found: template:settings\",\"Code\":0,\"Trace\":\"#0 \\\/var\\
\/www\\\/owncloud\\\/lib\\\/private\\\/legacy\\\/template.php(199): OC\\\\Template\\\\TemplateFileLocator->find('settings')

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Seems that i cant upload attachment as new user.

I see that there is a exception message about: template file not found: template:settings

I have tried to install the appliance in different ESX server but the file firewall tab always prompt for internal server error.

I post more detail owncloud log below

{"reqId":"QFwps2DlVjEO3K85LoW6","level":3,"time":"2017-10-

16T15:04:22+08:00","remoteAddr":"172.17.42.1","user":"owncloud","app":"index","method":"GET","url":"\/owncloud\/index.php\/settings\/admin?

sectionid=firewall","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"template file not found: template:settings\",\"Code\":0,\"Trace\":\"#0 \\/var\

\/www\\/owncloud\\/lib\\/private\\/legacy\\/template.php(199): OC\\Template\\TemplateFileLocator->find('settings')\n#1 \\/var\\/www\\/owncloud\\/lib\

\/private\\/legacy\\/template.php(88): OC_Template->findTemplate(Object(OC\\Theme\\Theme), 'firewall', 'settings')\n#2 \\/var\\/lib\\/univention-appcenter\

\/apps\\/owncloud\\/data\\/custom\\/firewall\\/lib\\/AdminPanel.php(25): OC_Template->__construct('firewall', 'settings')\n#3 \\/var\\/www\\/owncloud\

\/settings\\/Controller\\/SettingsPageController.php(142): OCA\\Firewall\\AdminPanel->getPanel()\n#4 \\/var\\/www\\/owncloud\\/settings\\/Controller\

\/SettingsPageController.php(104): OC\\Settings\\Controller\\SettingsPageController->getPanelsData(Array)\n#5 [internal function]: OC\\Settings\\Controller

\\SettingsPageController->getAdmin('firewall')\n#6 \\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(159):

call_user_func_array(Array, Array)\n#7 \\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(89): OC\\AppFramework\\Http\\

\Dispatcher->executeController(Object(OC\\Settings\\Controller\\SettingsPageController), 'getAdmin')\n#8 \\/var\\/www\\/owncloud\\/lib\\/private\

\/AppFramework\\/App.php(98): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\SettingsPageController), 'getAdmin')\n#9 \

\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Routing\\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('SettingsPageCon...', 'getAdmin',

Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#10 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke

(Array)\n#11 \\/var\\/www\\/owncloud\\/lib\\/private\\/Route\\/Router.php(299): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler),

Array)\n#12 \\/var\\/www\\/owncloud\\/lib\\/base.php(918): OC\\Route\\Router->match('\\/settings\\/admin')\n#13 \\/var\\/www\\/owncloud\\/index.php

(49): OC::handleRequest()\n#14 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/Template\\/TemplateFileLocator.php\",\"Line\":55}"}
{"reqId":"txBJ4ORQLXelnShkqXD0","level":3,"time":"2017-10-

16T15:04:46+08:00","remoteAddr":"172.17.42.1","user":"owncloud","app":"index","method":"GET","url":"\/owncloud\/index.php\/settings\/admin?

sectionid=firewall","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"template file not found: template:settings\",\"Code\":0,\"Trace\":\"#0 \\/var\

\/www\\/owncloud\\/lib\\/private\\/legacy\\/template.php(199): OC\\Template\\TemplateFileLocator->find('settings')\n#1 \\/var\\/www\\/owncloud\\/lib\

\/private\\/legacy\\/template.php(88): OC_Template->findTemplate(Object(OC\\Theme\\Theme), 'firewall', 'settings')\n#2 \\/var\\/lib\\/univention-appcenter\

\/apps\\/owncloud\\/data\\/custom\\/firewall\\/lib\\/AdminPanel.php(25): OC_Template->__construct('firewall', 'settings')\n#3 \\/var\\/www\\/owncloud\

\/settings\\/Controller\\/SettingsPageController.php(142): OCA\\Firewall\\AdminPanel->getPanel()\n#4 \\/var\\/www\\/owncloud\\/settings\\/Controller\

\/SettingsPageController.php(104): OC\\Settings\\Controller\\SettingsPageController->getPanelsData(Array)\n#5 [internal function]: OC\\Settings\\Controller

\\SettingsPageController->getAdmin('firewall')\n#6 \\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(159):

call_user_func_array(Array, Array)\n#7 \\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(89): OC\\AppFramework\\Http\\

\Dispatcher->executeController(Object(OC\\Settings\\Controller\\SettingsPageController), 'getAdmin')\n#8 \\/var\\/www\\/owncloud\\/lib\\/private\

\/AppFramework\\/App.php(98): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OC\\Settings\\Controller\\SettingsPageController), 'getAdmin')\n#9 \

\/var\\/www\\/owncloud\\/lib\\/private\\/AppFramework\\/Routing\\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('SettingsPageCon...', 'getAdmin',

Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#10 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke

(Array)\n#11 \\/var\\/www\\/owncloud\\/lib\\/private\\/Route\\/Router.php(299): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler),

Array)\n#12 \\/var\\/www\\/owncloud\\/lib\\/base.php(918): OC\\Route\\Router->match('\\/settings\\/admin')\n#13 \\/var\\/www\\/owncloud\\/index.php

(49): OC::handleRequest()\n#14 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/Template\\/TemplateFileLocator.php\",\"Line\":55}"}

Hi,

thanks for reporting this.

This is a known bug, and was fixed. Unfortunately the current Appliance comes with ownCloud 10.0.1, and with the buggy version of the firewall app.

Soon we hope to release the new ownCloud Appliance with the 10.0.3 App, and the current fixed version of the firewall app.

Hi dmitry,

Thanks for your information. Btw, is it possible to update appliance from ownCloud 10.0.1 to 10.0.3 by manual update?

No, since you update the app, not the software within the app. I am sorry for you inconvenience, the new app should come out soon.

that means even i update owncloud version directly in appliance server as below link, the file firewall software still remain buggy version?
https://doc.owncloud.org/server/latest/admin_manual/maintenance/upgrade.html

Or it is not recommed to update owncloud appliance?

It is not recommend. You should wait until the new app is released.

Got it, thanks so much for your information!!!

No problem. I think it should be ready until next week.