When IMCE module is enabled and the user 1 tries to see an encrypted file it throws the below exception:
Exception: Missing profile: . in Drupal\file_encrypt\EncryptStreamWrapper->extractEncryptionProfile() (line 185 of modules\file_encrypt\src\EncryptStreamWrapper.php).
Drupal\file_encrypt\EncryptStreamWrapper->getExternalUrl() (Line: 257)
file_create_url('encrypt://.') (Line: 104)
Drupal\imce\Imce::processUserConf(Array, Object) (Line: 85)
Drupal\imce\Imce::userConf(Object, 'encrypt') (Line: 34)
Drupal\imce\Imce::userFM(Object, 'encrypt') (Line: 333)
Drupal\imce\Imce::accessFilePaths(Array, Object, 'encrypt') (Line: 348)
Drupal\imce\Imce::accessFileUri('encrypt://{machine_profile_name}/.../_uploadTestFile.txt', Object) (Line: 44)
imce_file_download('encrypt://{machine_profile_name}/.../_uploadTestFile.txt')
call_user_func_array('imce_file_download', Array) (Line: 403)
Drupal\Core\Extension\ModuleHandler->invokeAll('file_download', Array) (Line: 80)
Drupal\system\FileDownloadController->download(Object, 'encrypt') (Line: 18)
Drupal\file_encrypt\Controller\FileDownloadController->download(Object, 'encrypt')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 708)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)