cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco CE : upgade issue - Failed to create store root

PoF
Champ in-the-making
Champ in-the-making

Hello,

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  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [main] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2022-04-13 11:53:34,737 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [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  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [main] Starting 'ContentStore' subsystem, ID: [ContentStore, managed, unencrypted]
2022-04-13 11:53:45,856 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [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(MultiTAdminServiceImpl.java:372)
	at org.alfresco.repo.tenant.MultiTenantBootstrap.onBootstrap(MultiTenantBootstrap.java:73)
	at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:232)
	at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:197)
...
...

	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)
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>(FileContentStore.java:117)
	at org.alfresco.repo.content.filestore.FileContentStore.<init>(FileContentStore.java:159)
	at org.alfresco.repo.tenant.TenantRoutingFileContentStore.initContentStore(TenantRoutingFileContentStore.java:72)
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.getTenantContentStore(AbstractTenantRoutingContentStore.java:207)
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.init(AbstractTenantRoutingContentStore.java:220)
	at org.alfresco.repo.tenant.AbstractTenantRoutingContentStore.onEnableTenant(AbstractTenantRoutingContentStore.java:239)
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl$3.doWork(MultiTAdminServiceImpl.java:682)
	at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:126)
	at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:95)
	at org.alfresco.repo.tenant.TenantUtil$1.doWork(TenantUtil.java:69)
	at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:602)
	at org.alfresco.repo.tenant.TenantUtil.runAsUserTenant(TenantUtil.java:65)
	at org.alfresco.repo.tenant.TenantUtil.runAsSystemTenant(TenantUtil.java:119)
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl.notifyAfterEnableTenant(MultiTAdminServiceImpl.java:676)
	at org.alfresco.repo.tenant.MultiTAdminServiceImpl.startTenants(MultiTAdminServiceImpl.java:336)


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 .

BR

0 REPLIES 0