Alfresco CE : upgade issue - Failed to create store root

Showing results for 
Search instead for 
Did you mean: 
Member II

Alfresco CE : upgade issue - Failed to create store root


I'm looking for some help Smiley Mad

I'm trying to upgrade an ACS CE full in docker from 6.1.1 to 7.2.

I'm following official doc: 
- dump db backup alf_data
- install a fresh new Alfresco in 7.2
-check everything is 
-stop & restore (db + alf_data)

But in one of my platform i'm facing an issue.

I retried several time  always same message:

2022-04-13 11:53:28,075 INFO  [org.alfresco.repo.admin] [main] Using database URL 'jdbc:postgresql://alfrescodb:5432/alfresco' with user 'alfresco'.
2022-04-13 11:53:28,077 INFO  [org.alfresco.repo.admin] [main] Connected to database PostgreSQL version 13.4
2022-04-13 11:53:34,577 INFO  [] [main] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2022-04-13 11:53:34,737 INFO  [] [main] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2022-04-13 11:53:39,238 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor Repository Template Processor for extension ftl
2022-04-13 11:53:39,245 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor Repository Script Processor for extension js
2022-04-13 11:53:45,760 INFO  [] [main] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2022-04-13 11:53:45,856 INFO  [] [main] Startup of 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted] complete
2022-04-13 11:53:46,248 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Connecting to database: 1120717404, URL=jdbc:postgresql://alfrescodb:5432/alfresco, PostgreSQL JDBC Driver
2022-04-13 11:53:46,248 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Schema managed by database dialect org.alfresco.repo.domain.dialect.PostgreSQLDialect.
2022-04-13 11:53:46,436 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Applied patches detected: 227
2022-04-13 11:53:46,539 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Checking and patching Alfresco tables took 103 ms
2022-04-13 11:53:46,546 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Activiti tables need to be checked for patches
2022-04-13 11:53:46,609 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Checking and patching Activiti tables took 63 ms
2022-04-13 11:53:46,871 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Checking that all patches have been applied took 262 ms
2022-04-13 11:53:46,872 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] Updating the DB schema took 618 ms
2022-04-13 11:53:46,908 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] [main] No changes were made to the schema.
2022-04-13 11:53:49,816 ERROR [org.springframework.web.context.ContextLoader] [main] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 03130019 Failed to bootstrap tenants
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl.startTenants(
	at org.alfresco.repo.tenant.MultiTenantBootstrap.onBootstrap(

	at org.apache.catalina.startup.Bootstrap.start(
	at org.apache.catalina.startup.Bootstrap.main(
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 03130018 Failed to create store root: /alfresco/alf_data/contentstore
	at org.alfresco.repo.content.filestore.FileContentStore.<init>(
	at org.alfresco.repo.content.filestore.FileContentStore.<init>(
	at org.alfresco.repo.tenant.TenantRoutingFileContentStore.initContentStore(
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.getTenantContentStore(
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.init(
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.onEnableTenant(
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl$3.doWork(
	at org.alfresco.repo.tenant.TenantUtil.runAsWork(
	at org.alfresco.repo.tenant.TenantUtil.runAsTenant(
	at org.alfresco.repo.tenant.TenantUtil$1.doWork(
	at org.alfresco.repo.tenant.TenantUtil.runAsUserTenant(
	at org.alfresco.repo.tenant.TenantUtil.runAsSystemTenant(
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl.notifyAfterEnableTenant(
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl.startTenants(

On many previous i can see that i need to revert and retry.

ALF in version 6 is working fine.

I already upgraded many other platform without any issues.

I'm probably missing a file or an entry in DB.

Can i setup some DEBUG logs to find what is missing ?

Thanks in advance .