Steps to reproduce
The steps are in line with the instructions given in https://doc.owncloud.org/server/10.0/admin_manual/installation/apps_management_installation.html#using-custom-app-directories
- Enable maintenance mode.
- Disable the apps that you want to move.
- Create a new apps directory and assign it the same user and group, and ownership permissions as the core apps directory.
- Move the apps from the old apps directory to the new apps directory.
- Add a new app directory in config/config.php.
- If youâre using a cache, such as Redis or Memcached, ensure that you clear the cache.
- Re-enable the apps.
- Disable maintenance mode.
Expected behaviour
The apps should function normally as they were installed in the core apps directory
Actual behaviour
The webpage shows an error message
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.
More details can be found in the server log
Technical details
- Remote Address: client_ip
- Request ID: OI4n7Z6ahQUfPx7CPenr
Server configuration
Operating system:
Debian 8.11
Web server:
Apache 2.4.10
Database:
MySQL 5.5.60-0+deb7u1
PHP version:
5.6.39+dfsg-0+deb8u1
ownCloud version: (see ownCloud admin page)
10.0.10
Updated from an older ownCloud or fresh install:
Updated from an older ownCloud: 9.0.5 -> 9.1.1 -> 10.0.7 -> 10.0.10
Where did you install ownCloud from:
From tarball
Signing status (ownCloud 9.0 and above):
No errors have been found.
The content of config/config.php:
{
âsystemâ: {
âinstanceidâ: â52828dcf1ab2câ,
âpasswordsaltâ: âREMOVED SENSITIVE VALUEâ,
âdatadirectoryâ: â/srv/httpd/owncloud/owncloud-dataâ,
âdbtypeâ: âmysqlâ,
âversionâ: â10.0.10.4â,
âdbnameâ: âREMOVED SENSITIVE VALUEâ,
âdbhostâ: âREMOVED SENSITIVE VALUEâ,
âdbtableprefixâ: âoc_â,
âdbuserâ: âREMOVED SENSITIVE VALUEâ,
âdbpasswordâ: âREMOVED SENSITIVE VALUEâ,
âinstalledâ: true,
âthemeâ: ââ,
âmaintenanceâ: false,
âtrusted_domainsâ: [
âREMOVED SENSITIVE VALUEâ
],
âforcesslâ: true,
âmail_smtpmodeâ: âsmtpâ,
âmail_smtpnameâ: âREMOVED SENSITIVE VALUEâ,
âmail_smtppasswordâ: âREMOVED SENSITIVE VALUEâ,
âmail_smtpsecureâ: âtlsâ,
âmail_smtpauthtypeâ: âPLAINâ,
âmail_smtpauthâ: 1,
âmail_smtphostâ: âREMOVED SENSITIVE VALUEâ,
âmail_smtpportâ: â587â,
âmail_from_addressâ: âREMOVED SENSITIVE VALUEâ,
âmail_domainâ: âREMOVED SENSITIVE VALUEâ,
âlog_rotate_sizeâ: 104857600,
âloglevelâ: â2â,
âapps_pathsâ: [
{
âpathâ: â/srv/httpd/owncloud/htdocs/appsâ,
âurlâ: â/appsâ,
âwritableâ: false
},
{
âpathâ: â/srv/httpd/owncloud/owncloud-appsâ,
âurlâ: â/apps2â,
âwritableâ: true
}
],
âsecretâ: âREMOVED SENSITIVE VALUEâ,
âuser_backendsâ: [
{
âclassâ: âOC_User_IMAPâ,
âargumentsâ: [
â{localhost:143/imap/readonly}â
]
}
],
âtrashbin_retention_obligationâ: âautoâ,
âmemcache.localâ: â\OC\Memcache\APCuâ,
âldapIgnoreNamingRulesâ: false,
âapp.mail.imaplog.enabledâ: false,
âupdatecheckerâ: false,
âappstore.experimental.enabledâ: false,
âoverwrite.cli.urlâ: âREMOVED SENSITIVE VALUEâ
}
}
List of activated apps:
Enabled:
- activity: 2.4.1
- calendar: 1.6.1
- comments: 0.3.0
- configreport: 0.1.1
- contacts: 1.5.5
- dav: 0.4.0
- external: 1.2
- federatedfilesharing: 0.3.1
- federation: 0.1.0
- files: 1.5.1
- files_external: 0.7.1
- files_sharing: 0.11.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 16.1.1
- market: 0.3.0
- notifications: 0.3.5
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- tasks: 0.9.7
- templateeditor: 0.4.0
- updatenotification: 0.2.1
- user_external: 0.4
- user_ldap: 0.13.0
Disabled: - encryption
Are you using external storage, if yes which one: local/smb/sftp/âŚ
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/âŚ
user_ldap
LDAP configuration (delete this part if not used)
Client configuration
Browser:
FireFox/Edge/Chrome
Operating system:
Windows7/MacOs Mojave/High Sierra
Logs
Web server error log
âGET /owncloud/ HTTP/1.1â 302 -
âGET /owncloud/index.php/apps/files/ HTTP/1.1â 500 18929
âGET /owncloud/apps2/activity/css/style.css?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 235
âGET /owncloud/apps2/activity/js/formatter.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 237
âGET /owncloud/apps2/activity/js/activitymodel.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 241
âGET /owncloud/apps2/activity/js/activitycollection.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 246
âGET /owncloud/apps2/activity/js/filesplugin.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 239
âGET /owncloud/apps2/activity/js/activitytabview.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 243
âGET /owncloud/apps2/activity/js/formatter.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 237
âGET /owncloud/apps2/activity/js/activitymodel.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 241
âGET /owncloud/apps2/activity/js/activitycollection.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 246
âGET /owncloud/apps2/activity/js/activitytabview.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 243
âGET /owncloud/apps2/activity/js/filesplugin.js?v=70cea708a0ae7b98e17a7174f4e6fbf6 HTTP/1.1â 404 239
âGET /owncloud/index.php/apps/files/undefined/img/notifications.svg HTTP/1.1â 302 -
âGET /owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1â 200 108
âGET /owncloud/index.php/apps/gallery/config?extramediatypes=1 HTTP/1.1â 412 31
âGET /owncloud/index.php/apps/files/ HTTP/1.1â 500 18929
âGET /owncloud/index.php/apps/files/undefined/img/notifications.svg HTTP/1.1â 302 -
âGET /owncloud/index.php/apps/files/ HTTP/1.1â 500 18929
ownCloud log (data/owncloud.log)
{âreqIdâ:âpp4bXIHngFEQr759UtYoâ,âlevelâ:3,âtimeâ:â2018-12-27T13:26:32+00:00â,âremoteAddrâ:âclientâ,âuserâ:âistvanâ,âappâ:âindexâ,âmethodâ:âGETâ,âurlâ:"/owncloud/index.php/apps/files/",âmessageâ:âException: {âExceptionâ:âRuntimeExceptionâ,âMessageâ:âimage not found: image:default-app-icon webroot:\/owncloud serverroot:\/srv\/httpd\/owncloud\/owncloud-10.0.10â,âCodeâ:0,âTraceâ:â#0 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/NavigationManager.php(176): OC\\URLGenerator->imagePath(âcoreâ, âdefault-app-icoâŚâ)\n#1 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/NavigationManager.php(93): OC\\NavigationManager->init()\n#2 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/legacy\/app.php(673): OC\\NavigationManager->getAll()\n#3 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/TemplateLayout.php(75): OC_App::getNavigation()\n#4 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/legacy\/template.php(239): OC\\TemplateLayout->__construct(âuserâ, âfilesâ)\n#5 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/public\/AppFramework\/Http\/TemplateResponse.php(149): OC_Template->fetchPage()\n#6 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/AppFramework\/Http\/Dispatcher.php(108): OCP\\AppFramework\\Http\\TemplateResponse->render()\n#7 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/AppFramework\/App.php(100): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), âindexâ)\n#8 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(46): OC\\AppFramework\\App::main(âViewControllerâ, âindexâ, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#9 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#10 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/Route\/Router.php(342): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#11 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/base.php(909): OC\\Route\\Router->match(â\/apps\/files\/â)\n#12 \/srv\/httpd\/owncloud\/owncloud-10.0.10\/index.php(54): OC::handleRequest()\n#13 {main}",âFileâ:"\/srv\/httpd\/owncloud\/owncloud-10.0.10\/lib\/private\/URLGenerator.php",âLineâ:173}"}
Browser log
ReferenceError: oc_appconfig is not defined[Learn More] shareconfigmodel.js:24:4
<owncloud_instance>/core/js/shareconfigmodel.js:24:4
<owncloud_instance>/core/js/shareconfigmodel.js:13:2
TypeError: link is undefined[Learn More] js.js:198:4
filePath
<owncloud_instance>/core/js/js.js:198:4
<owncloud_instance>/apps/files_videoplayer/js/viewer.js:4:131
Loading failed for the with source â<owncloud_instance>/apps2/activity/js/formatter.js?v=70cea708a0ae7b98e17a7174f4e6fbf6â. files:141:1
Loading failed for the with source â<owncloud_instance>/apps2/activity/js/activitymodel.js?v=70cea708a0ae7b98e17a7174f4e6fbf6â. files:142:1
Loading failed for the with source â<owncloud_instance>/apps2/activity/js/activitycollection.js?v=70cea708a0ae7b98e17a7174f4e6fbf6â. files:143:1
Loading failed for the with source â<owncloud_instance>/apps2/activity/js/activitytabview.js?v=70cea708a0ae7b98e17a7174f4e6fbf6â. files:144:1
Loading failed for the with source â<owncloud_instance>/apps2/activity/js/filesplugin.js?v=70cea708a0ae7b98e17a7174f4e6fbf6â. files:145:1
ReferenceError: oc_isadmin is not defined[Learn More] js.js:773:3
isUserAdmin
<owncloud_instance>/core/js/js.js:773:3
initialize
<owncloud_instance>/apps/systemtags/js/systemtagsinfoview.js:48:14
Backbone.View
<owncloud_instance>/core/vendor/backbone/backbone.js:1192:5
child
<owncloud_instance>/core/vendor/backbone/backbone.js:1852:34
child
<owncloud_instance>/core/vendor/backbone/backbone.js:1852:34
attach
<owncloud_instance>/apps/systemtags/js/filesplugin.js:34:32
attach
<owncloud_instance>/core/js/js.js:891:16
initialize
<owncloud_instance>/apps/files/js/filelist.js:356:4
FileList
<owncloud_instance>/apps/files/js/filelist.js:37:3
initialize
<owncloud_instance>/apps/files/js/app.js:82:20
<owncloud_instance>/apps/files/js/app.js:320:3
_.delay/<
<owncloud_instance>/core/vendor/underscore/underscore.js:768:14