Nextcloud version (eg, 12.0.2): 18.0.1
Operating system and version (eg, Ubuntu 17.04): linux x86_64
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.1): 7.2.27
The issue you are facing:
Unable to download and enable Community Document Server.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Download the documentserver_community.tar.gz from apps.nextcloud.com
- Extract and upload it to /nextcloud/apps
- Enabling it on the server resulted in ‘An error occured during the request. Unable to proceed.’ pop-up. Failed to Enable it
The output of your Nextcloud log in Admin > Logging:
Error index Exception: fclose() expects parameter 1 to be resource, null given
0. /home/xiom3155/public_html/cloud/lib/private/AppFramework/App.php - line 125:OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")
1. /home/xiom3155/public_html/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})
2. <<closure>>OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})
3. /home/xiom3155/public_html/cloud/lib/private/Route/Router.php - line 299:call_user_func(OC\AppFramew ... {}, { _route: "s ... "})
4. /home/xiom3155/public_html/cloud/lib/base.php - line 1008:OC\Route\Router->match("/settings/apps/enable")
5. /home/xiom3155/public_html/cloud/index.php - line 38:OC::handleRequest()
Caused by TypeError: fclose() expects parameter 1 to be resource, null given
0. /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/Document/FontManager.php - line 66:fclose(null)
1. /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/LocalAppData.php - line 78:OCA\DocumentServer\Document\FontManager->OCA\DocumentServer\Document\{closure}("*** sensiti ... *")
2. /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/Document/FontManager.php - line 72:OCA\DocumentServer\LocalAppData->getReadLocalPath(OC\Files\Sim ... {}, Closure {})
3. /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/Migration/RebuildFonts.php - line 46:OCA\DocumentServer\Document\FontManager->rebuildFonts()
4. /home/xiom3155/public_html/cloud/lib/private/Repair.php - line 104:OCA\DocumentServer\Migration\RebuildFonts->run(OC\Repair {})
5. /home/xiom3155/public_html/cloud/lib/private/legacy/app.php - line 981:OC\Repair->run()
6. /home/xiom3155/public_html/cloud/lib/private/Installer.php - line 154:OC_App::executeRepairSteps("documentserver_community", { step: "OCA ... "})
7. /home/xiom3155/public_html/cloud/apps/settings/lib/Controller/AppSettingsController.php - line 443:OC\Installer->installApp("documentserver_community")
8. /home/xiom3155/public_html/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:OCA\Settings\Controller\AppSettingsController->enableApps([ "documentserver_community"], [])
9. /home/xiom3155/public_html/cloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "enableApps")
10. /home/xiom3155/public_html/cloud/lib/private/AppFramework/App.php - line 125:OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")
11. /home/xiom3155/public_html/cloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})
12. <<closure>>OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})
13. /home/xiom3155/public_html/cloud/lib/private/Route/Router.php - line 299:call_user_func(OC\AppFramew ... {}, { _route: "s ... "})
14. /home/xiom3155/public_html/cloud/lib/base.php - line 1008:OC\Route\Router->match("/settings/apps/enable")
15. /home/xiom3155/public_html/cloud/index.php - line 38:OC::handleRequest() 2020-02-25T13:27:49+0700
Error PHP Undefined offset: 0 at /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/Document/FontManager.php#66 2020-02-25T13:27:49+0700
Error PHP proc_open() has been disabled for security reasons at /home/xiom3155/public_html/cloud/apps/documentserver_community/lib/Document/FontManager.php#64 2020-02-25T13:27:49+0700
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
),
'datadirectory' => '',
'dbtype' => 'mysql',
'version' => '18.0.1.3',
'overwrite.cli.url' => '',
'dbname' => '',
'dbhost' => '',
'dbport' => '',
'dbtableprefix' => '',
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'maintenance' => false,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'tech',
'mail_domain' => '',
'mail_smtphost' => '',
'mail_smtpport' => '',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'updater.release.channel' => 'stable',
'theme' => '',
'loglevel' => 2,
'app_install_overwrite' =>
array (
0 => 'occweb',
1 => 'files_frommail',
2 => 'drawio',
),
'has_rebuilt_cache' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
No access on shared hosting.