Internal server error right after admin page setup

Fresh install, was able to create the database and Nextcloud is writing to it just fine. File permissions are fine and this isn’t an SELinux issue as the problem persists if I disable SELinux.

OS: Ubuntu 16.04 LT

I’m seeing this is the apache log:

message":“Exception: {\“Exception\”:\“RuntimeException\”,\“Message\”:\“Could not get appdata folder for js\”,\“Code\”:0,\“Trace\”:\”#0 /opt/nextcloud/lib/private/Files/AppData/AppData.php(105): OC\Files\AppData\AppData->getAppDataFolder()\\n#1 /opt/nextcloud/lib/private/Template/JSCombiner.php(89): OC\Files\AppData\AppData->getFolder(‘core’)\\n#2 /opt/nextcloud/lib/private/Template/JSResourceLocator.php(113): OC\Template\JSCombiner->process(’/opt/nextcloud’, ‘core/js/merged-…’, ‘core’)\\n#3 /opt/nextcloud/lib/private/Template/JSResourceLocator.php(69): OC\Template\JSResourceLocator->cacheAndAppendCombineJsonIfExist(’/opt/nextcloud’, ‘core/js/merged-…’)\\n#4 /opt/nextcloud/lib/private/Template/ResourceLocator.php(78): OC\Template\JSResourceLocator->doFind(‘js/merged-templ…’)\\n#5 /opt/nextcloud/lib/private/TemplateLayout.php(308): OC\Template\ResourceLocator->find(Array)\\n#6 /opt/nextcloud/lib/private/TemplateLayout.php(144): OC\TemplateLayout::findJavascriptFiles(Array)\\n#7 /opt/nextcloud/lib/private/legacy/template.php(207): OC\TemplateLayout->__construct(‘error’, ‘’)\\n#8 /opt/nextcloud/lib/private/Template/Base.php(132): OC_Template->fetchPage()\\n#9 /opt/nextcloud/lib/private/legacy/template.php(351): OC\Template\Base->printPage()\\n#10 /opt/nextcloud/index.php(65): OC_Template::printExceptionErrorPage(Object(RuntimeException))\\n#11 {main}\",\“File\”:\"/opt/nextcloud/lib/private/Files/AppData/AppData.php\",\“Line\”:94}",“userAgent”:“Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.31 Safari\/537.36”,“version”:“13.0.0.14”

2 Likes