cancel
Showing results for 
Search instead for 
Did you mean: 

Error on full export restore

akba
Champ in-the-making
Champ in-the-making
I'm trying to import an full export from v2.10 to 3.0b
I'm getting lot of this type error on the log

05:03:19,995 ERROR [org.alfresco.repo.node.integrity.IntegrityChecker] Found 2 integrity violations:
Mandatory property not set:
   Node: system://system/f316dc59-9905-11dc-9ffd-dbd7fffa5fe4
   Type: {http://www.alfresco.org/model/system/1.0}descriptor
   Property: {http://www.alfresco.org/model/system/1.0}name
Mandatory property not set:
   Node: system://system/f3113704-9905-11dc-9ffd-dbd7fffa5fe4
   Type: {http://www.alfresco.org/model/system/1.0}descriptor
   Property: {http://www.alfresco.org/model/system/1.0}name
05:03:20,059 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
        at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:336)
        at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:699)

any good ideas ?

Thanks.
5 REPLIES 5

bitmap62
Champ in-the-making
Champ in-the-making
Hi, I have the same problem; I'm trying to do a full export-import from Alfresco 2.9b to Alfresco Labs 3.
(A clean installation of Alfresco Labs 3 works fine on Win2003 and Scientific Linux 5.2 both)
Scenario:
OS:Windows Server 2003 Enterprise
DBSmiley TongueostgreSQL 8.2.5

First of all, I've tried to perform a full import-export via .acp files (it worked quite well from 2.1 to 2.9: I've used it repeatedly to test our production environment on local machines) . Now I've got just the same error reported in the post above (The error happens on Win2003 and Scientific Linux 5.2 both).
Last, I've tried to perform a canonical backup/restore via db backup/restore and alf_data backup/restore  (they are synchronized, due to a scheduled backup every night). This method worked quite well with previous versions, too.
I've set db.upgrade=false in /alfresco/extension/custom.repository.properties, otherwise I get the following error

ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema auto-update failed
org.alfresco.error.AlfrescoRuntimeException: The schema script could not be found at location classpath:alfresco/dbscripts/upgrade/2.2/${db.script.dialect}/AlfrescoSchemaUpdate-2.2-ACL.sql

I don't worry about this, since setting db.upgrade=false solves.

But now this is the big error:
12:09:16,203 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:11:59,750 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:12:07,531 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
12:12:07,546 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Bypassing schema update checks.

12:12:19,593 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.hibernate.exception.SQLGrammarException: could not load an entity: [org.alfresco.repo.avm.IssuerIDImpl#node]
…..lots of at org. ….
Caused by: org.postgresql.util.PSQLException: ERROR: relation "avm_issuer_ids" does not exist

3-nov-2008 12.12.19 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
3-nov-2008 12.12.19 org.apache.catalina.core.StandardContext start
GRAVE: Context [/alfresco] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
3-nov-2008 12.12.21 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
12:12:23,250  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
3-nov-2008 12.12.29 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
3-nov-2008 12.12.29 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
3-nov-2008 12.12.29 org.apache.catalina.startup.Catalina start
INFO: Server startup in 45062 ms

I look at the forum and it seems to be related to PostgreSQL . Could you help me?
Thanks

regainfo
Champ in-the-making
Champ in-the-making
I get this problem on Full Backup/Restore on Alfresco Labs3 (3.0.0 1164 131) on Windows XP. I had also problems with patchs applying. At the last I had this problem:
15:46:40,906 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:336)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:699)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
Caused by: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 127; column 1683 due to error: Node does not exist: workspace://version2Store/3697908e-4667-4561-9f22-9b522cf23eb0
   at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:190)
   at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:360)
   at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:235)
   at org.alfresco.repo.importer.ImporterBootstrap.doImport(ImporterBootstrap.java:453)
   at org.alfresco.repo.importer.ImporterBootstrap.access$000(ImporterBootstrap.java:72)
   at org.alfresco.repo.importer.ImporterBootstrap$1.execute(ImporterBootstrap.java:326)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:294)
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:332)
   … 34 more
The only version2Store  is such directory under  lucene-indexes:
C:\Alfresco\alf_data\lucene-indexes\workspace\version2Store
Any help would be very appreciated.

_sax
Champ in-the-making
Champ in-the-making
Cross version export/import isn't supported, and didn't work in earlier releases.
https://issues.alfresco.com/jira/browse/AWC-1207
Please update first, or export/import before upgrading.

Note, that in 2.1 a full import is not possible, leaving the full export feature of that version useless.
With 3.x there is no full export option anymore
http://forums.alfresco.com/en/viewtopic.php?f=3&t=20222

bbukvic
Champ in-the-making
Champ in-the-making
Hello,

Does anybody know how to perform a full export (from Alfresco 3.2 Comunity) because on screen 'Alfresco Web Client Administration Console/Export'  does not exist a options 'full export' under a 'Destination' options (you can only choose a existing Space for export) and under the options 'Export From:' does not exist exist options 'Complete Repository' like is describe in user manual on http://wiki.alfresco.com/wiki/Export_and_Import?

Thank you in advance.

_sax
Champ in-the-making
Champ in-the-making