This might be a continuation of Nextcloud container doesn't start after restoring from backup. If not, the AIO label might be wrong.
When trying to access the files through the web interface, I see this:
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, please include the technical details below in your report.
More details can be found in the server log.
There are no “technical details below”. This is the whole message.
Here are two tracebacks from the admin logs that should be relevant:
[core] Error: OCP\Files\NotPermittedException: at <<closure>>
0. /var/www/html/lib/private/Files/SimpleFS/SimpleFile.php line 114
OC\Files\Node\File->delete()
1. /var/www/html/lib/private/Files/SimpleFS/SimpleFile.php line 77
OC\Files\SimpleFS\SimpleFile->checkFile()
2. /var/www/html/lib/private/Template/JSCombiner.php line 119
OC\Files\SimpleFS\SimpleFile->getContent()
3. /var/www/html/lib/private/Template/JSCombiner.php line 94
OC\Template\JSCombiner->isCached("merged-index.js.deps", ["OC\\Files\\SimpleFS\\SimpleFolder"])
4. /var/www/html/lib/private/Template/JSResourceLocator.php line 125
OC\Template\JSCombiner->process("/var/www/html/apps/files", "js/merged-index.json", "files")
5. /var/www/html/lib/private/Template/JSResourceLocator.php line 112
OC\Template\JSResourceLocator->cacheAndAppendCombineJsonIfExist("/var/www/html/apps/files", "js/merged-index.json", "files")
6. /var/www/html/lib/private/Template/ResourceLocator.php line 78
OC\Template\JSResourceLocator->doFind("js/merged-index")
7. /var/www/html/lib/private/TemplateLayout.php line 379
OC\Template\ResourceLocator->find(["core/js/common ... "])
8. /var/www/html/lib/private/TemplateLayout.php line 211
OC\TemplateLayout::findJavascriptFiles(["core/js/common ... "])
9. /var/www/html/lib/private/legacy/OC_Template.php line 184
OC\TemplateLayout->__construct("error", "")
10. /var/www/html/lib/private/Template/Base.php line 132
OC_Template->fetchPage()
11. /var/www/html/lib/private/legacy/OC_Template.php line 333
OC\Template\Base->printPage()
12. /var/www/html/index.php line 74
OC_Template::printExceptionErrorPage(["OCP\\Files\\NotPermittedException"], 500)
GET /apps/files/
from 89.182.223.95 by Philip at 2023-04-12T22:45:40+00:00
[PHP] Error: Error: file_get_contents(/mnt/ncdata/appdata_ocrybdmff32j/js/files/merged-index.js.deps): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#304 at <<closure>>
0. <<closure>>
OC\Log\ErrorHandler::onError(2, "file_get_conten ... y", "/var/www/html/l ... p", 304)
1. /var/www/html/lib/private/Files/Storage/Local.php line 304
file_get_contents("/mnt/ncdata/app ... s")
2. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 247
OC\Files\Storage\Local->file_get_contents("appdata_ocrybdm ... s")
3. /var/www/html/lib/private/Files/View.php line 1181
OC\Files\Storage\Wrapper\Wrapper->file_get_contents("appdata_ocrybdm ... s")
4. /var/www/html/lib/private/Files/View.php line 600
OC\Files\View->basicOperation("file_get_contents", "/appdata_ocrybd ... s", ["read"])
5. /var/www/html/lib/private/Files/Node/File.php line 56
OC\Files\View->file_get_contents("/appdata_ocrybd ... s")
6. /var/www/html/lib/private/Files/SimpleFS/SimpleFile.php line 74
OC\Files\Node\File->getContent()
7. /var/www/html/lib/private/Template/JSCombiner.php line 119
OC\Files\SimpleFS\SimpleFile->getContent()
8. /var/www/html/lib/private/Template/JSCombiner.php line 94
OC\Template\JSCombiner->isCached("merged-index.js.deps", ["OC\\Files\\SimpleFS\\SimpleFolder"])
9. /var/www/html/lib/private/Template/JSResourceLocator.php line 125
OC\Template\JSCombiner->process("/var/www/html/apps/files", "js/merged-index.json", "files")
10. /var/www/html/lib/private/Template/JSResourceLocator.php line 112
OC\Template\JSResourceLocator->cacheAndAppendCombineJsonIfExist("/var/www/html/apps/files", "js/merged-index.json", "files")
11. /var/www/html/lib/private/Template/ResourceLocator.php line 78
OC\Template\JSResourceLocator->doFind("js/merged-index")
12. /var/www/html/lib/private/TemplateLayout.php line 379
OC\Template\ResourceLocator->find(["core/js/common ... "])
13. /var/www/html/lib/private/TemplateLayout.php line 211
OC\TemplateLayout::findJavascriptFiles(["core/js/common ... "])
14. /var/www/html/lib/private/legacy/OC_Template.php line 184
OC\TemplateLayout->__construct("error", "")
15. /var/www/html/lib/private/Template/Base.php line 132
OC_Template->fetchPage()
16. /var/www/html/lib/private/legacy/OC_Template.php line 333
OC\Template\Base->printPage()
17. /var/www/html/index.php line 74
OC_Template::printExceptionErrorPage(["OCP\\Files\\NotPermittedException"], 500)
GET /apps/files/
from 89.182.223.95 by Philip at 2023-04-12T22:45:40+00:00
Happy to provide additional logs or information if needed.
Similar issues:
- https://help.nextcloud.com/t/internal-server-error-when-accessing-files/126573: Resolved by fixing permissions. Asked about that first in Default user and group of files?, but didn’t resolve my issue
- https://help.nextcloud.com/t/internal-server-error-when-trying-to-access-files-only-when-files-trashbin-is-enabled/126243: Couldn’t find an option to enable / disable, but happy to try if needed