Internal Server Error - No mount for path /files_encryption/OC_DEFAULT_MODULE/

Good evening all,
We are a non-profit small private school in Spain (cooperative) that have been working with Nextcloud since some years. We moved our server from a local machine to a cloud hosting more than a year ago and was running well until a month or so ago, where the desktop app sync starting to have problems and the access via web won’t work any longer

Nextcloud version: 24.0.8
Operating system and version: can’t say, hosted on OVH cloud
Apache or nginx version: can’t say, hosted on OVH cloud
PHP version: 7.4

The issue you are facing:
sync stops working for some days, then it works again
no web access possible (intenral server error)

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. enter via web
  2. sync via desktop app

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{“reqId”:“ZVIXb8vSK1k7AB10PFHxBwAAADE”,“level”:3,“time”:“2023-11-13T12:32:48+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/index.php/login?clear=1”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#416”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#416”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,416,]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:416,“function”:“ini_set”,“args”:[“session.cookie_secure”,“true”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXb8vSK1k7AB10PFHxBwAAADE”,“level”:3,“time”:“2023-11-13T12:32:48+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/index.php/login?clear=1”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#420”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#420”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,420,]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:420,“function”:“ini_set”,“args”:[“session.cookie_httponly”,“true”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXb8vSK1k7AB10PFHxBwAAADE”,“level”:3,“time”:“2023-11-13T12:32:48+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/index.php/login?clear=1”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#424”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#424”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,424,[“/”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:424,“function”:“ini_set”,“args”:[“session.cookie_path”,“/”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXb8vSK1k7AB10PFHxBwAAADE”,“level”:3,“time”:“2023-11-13T12:32:48+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“base”,“method”:“GET”,“url”:“/index.php/login?clear=1”,“message”:“Failed to start session”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Exception”,“Message”:“Failed to start session”,“Code”:0,“Trace”:[{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:431,“function”:“__construct”,“class”:“OC\Session\Internal”,“type”:“->”,“args”:[“oc1tybalnsp3”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Session/Internal.php”,“Line”:62,“CustomMessage”:“–”}}
{“reqId”:“ZVIXb8vSK1k7AB10PFHxBwAAADE”,“level”:3,“time”:“2023-11-13T12:32:48+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/index.php/login?clear=1”,“message”:“App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“OCP\Files\NotFoundException”,“Message”:“No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “,“Code”:0,“Trace”:[{“file”:”/home/colegiolr/www-nextcloud/lib/private/Files/Filesystem.php”,“line”:320,“function”:“find”,“class”:“OC\Files\Mount\Manager”,“type”:”->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:1172,“function”:“resolvePath”,“class”:“OC\Files\Filesystem”,“type”:“::”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:552,“function”:“basicOperation”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“file_exists”,“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:269,“function”:“file_exists”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:229,“function”:“getKey”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:121,“function”:“getKeyWithUid”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”,null]},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/KeyManager.php”,“line”:614,“function”:“getSystemUserKey”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“pubShare_d72f06e1.publicKey”,“OC_DEFAULT_MODULE”]},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/KeyManager.php”,“line”:170,“function”:“getPublicShareKey”,“class”:“OCA\Encryption\KeyManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/Users/Setup.php”,“line”:62,“function”:“validateShareKey”,“class”:“OCA\Encryption\KeyManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/AppInfo/Application.php”,“line”:55,“function”:“setupSystem”,“class”:“OCA\Encryption\Users\Setup”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/appinfo/app.php”,“line”:37,“function”:“setUp”,“class”:“OCA\Encryption\AppInfo\Application”,“type”:“->”,“args”:[{“class”:“OC\Encryption\Manager”}]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:305,“args”:[“/home/colegiolr/www-nextcloud/apps/encryption/appinfo/app.php”],“function”:“require_once”},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:186,“function”:“requireAppFile”,“class”:“OC_App”,“type”:“::”,“args”:[{“class”:“OCA\Encryption\AppInfo\Application”}]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:140,“function”:“loadApp”,“class”:“OC_App”,“type”:“::”,“args”:[“encryption”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:132,“function”:“loadApps”,“class”:“OC_App”,“type”:“::”,“args”:[[“filesystem”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:340,“function”:“setupBuiltinWrappers”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:380,“function”:“setupRoot”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Mount/Manager.php”,“line”:95,“function”:“setupForPath”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:1396,“function”:“find”,“class”:“OC\Files\Mount\Manager”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/Root.php”,“line”:205,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/LazyFolder.php”,“line”:72,“function”:“call_user_func_array”,“args”:[[{“class”:“OC\Files\Node\Root”},“get”],[“appdata_oc1tybalnsp3/js/core”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/LazyFolder.php”,“line”:149,“function”:“__call”,“class”:“OC\Files\Node\LazyFolder”,“type”:“->”,“args”:[“get”,[“appdata_oc1tybalnsp3/js/core”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/AppData/AppData.php”,“line”:141,“function”:“get”,“class”:“OC\Files\Node\LazyFolder”,“type”:“->”,“args”:[“appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSCombiner.php”,“line”:88,“function”:“getFolder”,“class”:“OC\Files\AppData\AppData”,“type”:“->”,“args”:[“core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSResourceLocator.php”,“line”:123,“function”:“process”,“class”:“OC\Template\JSCombiner”,“type”:“->”,“args”:[“/home/colegiolr/www-nextcloud”,“core/js/merged-template-prepend.json”,“core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSResourceLocator.php”,“line”:76,“function”:“cacheAndAppendCombineJsonIfExist”,“class”:“OC\Template\JSResourceLocator”,“type”:“->”,“args”:[“/home/colegiolr/www-nextcloud”,“core/js/merged-template-prepend.json”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/ResourceLocator.php”,“line”:78,“function”:“doFind”,“class”:“OC\Template\JSResourceLocator”,“type”:“->”,“args”:[“core/js/merged-template-prepend”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/TemplateLayout.php”,“line”:377,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:“->”,“args”:[[“core/js/common”,“core/js/main”,“core/l10n/es”,“core/js/files_fileinfo”,“core/js/files_client”,“And 1 more entries, set log level to debug to see all entries”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/TemplateLayout.php”,“line”:205,“function”:“findJavascriptFiles”,“class”:“OC\TemplateLayout”,“type”:“::”,“args”:[[“core/js/common”,“core/js/main”,“core/l10n/es”,“core/js/files_fileinfo”,“core/js/files_client”,“And 1 more entries, set log level to debug to see all entries”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_Template.php”,“line”:185,“function”:“__construct”,“class”:“OC\TemplateLayout”,“type”:“->”,“args”:[“error”,“”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/Base.php”,“line”:132,“function”:“fetchPage”,“class”:“OC_Template”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_Template.php”,“line”:334,“function”:“printPage”,“class”:“OC\Template\Base”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:441,“function”:“printExceptionErrorPage”,“class”:“OC_Template”,“type”:“::”,“args”:[{“class”:“Exception”},500]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Files/Mount/Manager.php”,“Line”:118,“message”:“App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “,“CustomMessage”:“App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “}}
{“reqId”:“ZVIXccvSK1k7AB10PFHxGgAAACE”,“level”:3,“time”:“2023-11-13T12:32:49+00:00”,“remoteAddr”:“193.153.29.12”,“user”:”–”,“app”:“PHP”,“method”:“GET”,“url”:”/index.php/js/core/merged-template-prepend.js?v=980a6ff3-13”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#416”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#416”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,416,]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:416,“function”:“ini_set”,“args”:[“session.cookie_secure”,“true”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXccvSK1k7AB10PFHxGgAAACE”,“level”:3,“time”:“2023-11-13T12:32:49+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/index.php/js/core/merged-template-prepend.js?v=980a6ff3-13”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#420”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#420”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,420,]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:420,“function”:“ini_set”,“args”:[“session.cookie_httponly”,“true”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXccvSK1k7AB10PFHxGgAAACE”,“level”:3,“time”:“2023-11-13T12:32:49+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“PHP”,“method”:“GET”,“url”:“/index.php/js/core/merged-template-prepend.js?v=980a6ff3-13”,“message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#424”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Error”,“Message”:“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time at /home/colegiolr/www-nextcloud/lib/base.php#424”,“Code”:0,“Trace”:[{“function”:“onError”,“class”:“OC\Log\ErrorHandler”,“type”:“::”,“args”:[2,“ini_set(): Headers already sent. You cannot change the session module’s ini settings at this time”,“/home/colegiolr/www-nextcloud/lib/base.php”,424,[“/”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:424,“function”:“ini_set”,“args”:[“session.cookie_path”,“/”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Log/ErrorHandler.php”,“Line”:92,“CustomMessage”:“–”}}
{“reqId”:“ZVIXccvSK1k7AB10PFHxGgAAACE”,“level”:3,“time”:“2023-11-13T12:32:49+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“base”,“method”:“GET”,“url”:“/index.php/js/core/merged-template-prepend.js?v=980a6ff3-13”,“message”:“Failed to start session”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“Exception”,“Message”:“Failed to start session”,“Code”:0,“Trace”:[{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:431,“function”:“__construct”,“class”:“OC\Session\Internal”,“type”:“->”,“args”:[“oc1tybalnsp3”]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Session/Internal.php”,“Line”:62,“CustomMessage”:“–”}}
{“reqId”:“ZVIXccvSK1k7AB10PFHxGgAAACE”,“level”:3,“time”:“2023-11-13T12:32:49+00:00”,“remoteAddr”:“193.153.29.12”,“user”:“–”,“app”:“no app in context”,“method”:“GET”,“url”:“/index.php/js/core/merged-template-prepend.js?v=980a6ff3-13”,“message”:“App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0”,“version”:“24.0.8.2”,“exception”:{“Exception”:“OCP\Files\NotFoundException”,“Message”:“No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: “,“Code”:0,“Trace”:[{“file”:”/home/colegiolr/www-nextcloud/lib/private/Files/Filesystem.php”,“line”:320,“function”:“find”,“class”:“OC\Files\Mount\Manager”,“type”:”->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:1172,“function”:“resolvePath”,“class”:“OC\Files\Filesystem”,“type”:“::”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:552,“function”:“basicOperation”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“file_exists”,“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:269,“function”:“file_exists”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:229,“function”:“getKey”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Encryption/Keys/Storage.php”,“line”:121,“function”:“getKeyWithUid”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“/files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey”,null]},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/KeyManager.php”,“line”:614,“function”:“getSystemUserKey”,“class”:“OC\Encryption\Keys\Storage”,“type”:“->”,“args”:[“pubShare_d72f06e1.publicKey”,“OC_DEFAULT_MODULE”]},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/KeyManager.php”,“line”:170,“function”:“getPublicShareKey”,“class”:“OCA\Encryption\KeyManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/Users/Setup.php”,“line”:62,“function”:“validateShareKey”,“class”:“OCA\Encryption\KeyManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/lib/AppInfo/Application.php”,“line”:55,“function”:“setupSystem”,“class”:“OCA\Encryption\Users\Setup”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/apps/encryption/appinfo/app.php”,“line”:37,“function”:“setUp”,“class”:“OCA\Encryption\AppInfo\Application”,“type”:“->”,“args”:[{“class”:“OC\Encryption\Manager”}]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:305,“args”:[“/home/colegiolr/www-nextcloud/apps/encryption/appinfo/app.php”],“function”:“require_once”},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:186,“function”:“requireAppFile”,“class”:“OC_App”,“type”:“::”,“args”:[{“class”:“OCA\Encryption\AppInfo\Application”}]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_App.php”,“line”:140,“function”:“loadApp”,“class”:“OC_App”,“type”:“::”,“args”:[“encryption”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:132,“function”:“loadApps”,“class”:“OC_App”,“type”:“::”,“args”:[[“filesystem”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:340,“function”:“setupBuiltinWrappers”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/SetupManager.php”,“line”:380,“function”:“setupRoot”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Mount/Manager.php”,“line”:95,“function”:“setupForPath”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/View.php”,“line”:1396,“function”:“find”,“class”:“OC\Files\Mount\Manager”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/Root.php”,“line”:205,“function”:“getFileInfo”,“class”:“OC\Files\View”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“function”:“get”,“class”:“OC\Files\Node\Root”,“type”:“->”,“args”:[“/appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/LazyFolder.php”,“line”:72,“function”:“call_user_func_array”,“args”:[[{“class”:“OC\Files\Node\Root”},“get”],[“appdata_oc1tybalnsp3/js/core”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/Node/LazyFolder.php”,“line”:149,“function”:“__call”,“class”:“OC\Files\Node\LazyFolder”,“type”:“->”,“args”:[“get”,[“appdata_oc1tybalnsp3/js/core”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Files/AppData/AppData.php”,“line”:141,“function”:“get”,“class”:“OC\Files\Node\LazyFolder”,“type”:“->”,“args”:[“appdata_oc1tybalnsp3/js/core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSCombiner.php”,“line”:88,“function”:“getFolder”,“class”:“OC\Files\AppData\AppData”,“type”:“->”,“args”:[“core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSResourceLocator.php”,“line”:123,“function”:“process”,“class”:“OC\Template\JSCombiner”,“type”:“->”,“args”:[“/home/colegiolr/www-nextcloud”,“core/js/merged-template-prepend.json”,“core”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/JSResourceLocator.php”,“line”:76,“function”:“cacheAndAppendCombineJsonIfExist”,“class”:“OC\Template\JSResourceLocator”,“type”:“->”,“args”:[“/home/colegiolr/www-nextcloud”,“core/js/merged-template-prepend.json”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/ResourceLocator.php”,“line”:78,“function”:“doFind”,“class”:“OC\Template\JSResourceLocator”,“type”:“->”,“args”:[“core/js/merged-template-prepend”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/TemplateLayout.php”,“line”:377,“function”:“find”,“class”:“OC\Template\ResourceLocator”,“type”:“->”,“args”:[[“core/js/common”,“core/js/main”,“core/l10n/es”,“core/js/files_fileinfo”,“core/js/files_client”,“And 1 more entries, set log level to debug to see all entries”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/TemplateLayout.php”,“line”:205,“function”:“findJavascriptFiles”,“class”:“OC\TemplateLayout”,“type”:“::”,“args”:[[“core/js/common”,“core/js/main”,“core/l10n/es”,“core/js/files_fileinfo”,“core/js/files_client”,“And 1 more entries, set log level to debug to see all entries”]]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_Template.php”,“line”:185,“function”:“__construct”,“class”:“OC\TemplateLayout”,“type”:“->”,“args”:[“error”,“”]},{“file”:“/home/colegiolr/www-nextcloud/lib/private/Template/Base.php”,“line”:132,“function”:“fetchPage”,“class”:“OC_Template”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/private/legacy/OC_Template.php”,“line”:334,“function”:“printPage”,“class”:“OC\Template\Base”,“type”:“->”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:441,“function”:“printExceptionErrorPage”,“class”:“OC_Template”,“type”:“::”,“args”:[{“class”:“Exception”},500]},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:666,“function”:“initSession”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/lib/base.php”,“line”:1111,“function”:“init”,“class”:“OC”,“type”:“::”,“args”:},{“file”:“/home/colegiolr/www-nextcloud/index.php”,“line”:34,“args”:[“/home/colegiolr/www-nextcloud/lib/base.php”],“function”:“require_once”}],“File”:“/home/colegiolr/www-nextcloud/lib/private/Files/Mount/Manager.php”,“Line”:118,“message”:"App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: ",“CustomMessage”:"App encryption threw an error during app.php load: No mount for path /files_encryption/OC_DEFAULT_MODULE/pubShare_d72f06e1.publicKey existing mounts: "}}

It was an open issue, it is fixed for NC 28
backports released to NC27 (27.1.5) and also for NC26.