cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco ne marche pas après installation

seksam
Champ on-the-rise
Champ on-the-rise
Bonjour à tous,
je viens d'installer  alfresco avec alfresco-community-3.4.d-installer-linux-x32. J'ai couplé alfresco avec une base postgreSQL. Cependant, quand je lance alfresco sur le terminal j'ai le messge tomcat started mais lorsque j'essaie de me connecter sur alfresco via le navigateur, rien ne se passe. En regardant le fichier log je constate qu'il y' a une erreur. Le log est ci-dessous avez vous une idée de ce que je peux faire pour ne plus avoir l'erreur et travailler sur mon alfresco?
Merci d'avance

14:50:05,636  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:50:05,638  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:50:05,639  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/EADM/data/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
14:50:05,639  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/EADM/data/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
14:50:05,639  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/EADM/appserver/alfresco/3.4.d/tomcat/shared/classes/alfresco-global.properties]
14:50:05,673  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:50:05,729  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/version.properties]
14:50:05,741  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/domain/cache-strategies.properties]
14:50:05,750  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/module/org.alfresco.module.vti/context/vti.properties]
14:50:05,751  INFO  [alfresco.config.FixedPropertyPlaceholderConfigurer] Loading properties file from URL [file:/EADM/appserver/alfresco/3.4.d/tomcat/shared/classes/alfresco/extension/custom-vti.properties]
14:50:15,942  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
14:50:15,944  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
14:50:20,873  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
14:52:42,619  ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed
org.alfresco.error.AlfrescoRuntimeException: 06250000 A previous schema upgrade failed or was not completed.  Revert to the original database before attempting the upgrade again.
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1376)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
14:52:42,623  ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 06250001 Schema auto-update failed
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1492)
        at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
        at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
        at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:78)
        at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:294)
        at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:858)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:419)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:261)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:192)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06250000 A previous schema upgrade failed or was not completed.  Revert to the original database before attempting the upgrade again.
        at org.alfresco.repo.domain.schema.SchemaBootstrap.onBootstrap(SchemaBootstrap.java:1376)
        … 34 more
25 juil. 2011 14:52:42 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
25 juil. 2011 14:52:42 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: A web application registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesStopTimerThread
GRAVE: A web application appears to have started a TimerThread named [Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly cancelled.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [Thread-14] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: A web application appears to have started a thread named [DefaultScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4c9e55]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@2f1e34]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@167ed25]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@22631]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@1197dd8]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
25 juil. 2011 14:52:42 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: A web application created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@9525d0]) and a value of type [java.util.WeakHashMap] (value [{class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@3dacfa, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@127751c, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@179c06e, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@48a4ad, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@1336548, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@13e9928, class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@b94819, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@2c8fd7, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@1978a17, class java.util.ArrayList=java.lang.ref.WeakReference@1eb0eac}]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
25 juil. 2011 14:52:44 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration host-manager.xml
25 juil. 2011 14:52:44 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
14:52:49,099  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 264 Web Scripts (+0 failed), 274 URLs
14:52:49,100  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
14:52:49,100  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
14:52:49,143  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 1042.0265ms)
14:52:50,108  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:52:50,171  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
14:52:50,297  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:52:50,301  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
14:52:50,430  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
14:52:50,434  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
25 juil. 2011 14:52:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Déploiement du répertoire ROOT de l'application web
25 juil. 2011 14:52:50 org.apache.coyote.http11.Http11Protocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
25 juil. 2011 14:52:50 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
25 juil. 2011 14:52:50 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15  config=null
25 juil. 2011 14:52:50 org.apache.catalina.startup.Catalina start
INFO: Server startup in 169370 ms
10 REPLIES 10

cleseach
Star Contributor
Star Contributor
Bonjour,

L'erreur dans votre log est :
org.alfresco.error.AlfrescoRuntimeException: 06250000 A previous schema upgrade failed or was not completed.  Revert to the original database before attempting the upgrade again.

J'imagine donc que vous avez du faire plusieurs tentatives d'installation et que les premières se sont mal passées : il en existe des résidus dans la base de données qui ne permettent pas un démarrage correct.
Je vous invite donc à repartir d'une installation "propre", sans toucher à la configuration actuelle :
  • arretez Tomcat

  • supprimez votre schema de base de données

  • recréez-le (ne pas oublier d'habiliter l'utilisateur d'alfresco sur ce schema

  • videz le contenu du répertoire alf_data

  • redémarrez Tomcat

Cordialement,
Charles Le Seac'h

seksam
Champ on-the-rise
Champ on-the-rise
supprimez votre schema de base de données

Merci pour la réponse.
Je m' excuse mais  qu' entendez par supprimez le schema de base de données, il s'agit de  supprimer postgreSQL et de recommencer l'installation? ou s'agit-il d'autre chose?
Merci

cleseach
Star Contributor
Star Contributor
Bonjour,

qu' entendez par supprimez le schema de base de données, il s'agit de supprimer postgreSQL et de recommencer l'installation?
L'idée est là, mais il ne faut pas désinstaller tout PostgreSQL juste pour Alfresco 😉
Supprimez juste la base de données que vous avez précédemment créée.

Cordialement,
Charles Le Seac'h

legaulois
Champ on-the-rise
Champ on-the-rise
drop database alfresco;

seksam
Champ on-the-rise
Champ on-the-rise
Merci pour vos reponses
cependant, j'ai voulu redemarré le postgresql avant. Le pb est que si je lance un start il me dit que la base est démarré, si je lance un stop il me dit que la base n'est pas allumée. J'ai regardé sur internet et on me demande de lancer ./pg_ctl -m immediate stop sauf que quand je lance la commande  j'ai
pg_ctl: PID file "/EADM/data/database/db_alfresco/postmaster.pid" does not exist
Is server running?
comme erreur. Ainsi, je n'arrive pas à recreer la base. Avez vous une idée. Je ne sais plus quoi faire j'ai même essayé un export PGDATA rien.

Une idée? merci d'avance. Si je résous ce problème je crois que je peux suivre ce qui m'est indiqué plus haut.
Ps: même en réinstallant postgreSQL même erreur

jeanjot
Confirmed Champ
Confirmed Champ
Bonsoir

Faites une installation à partir de la 3.4.e, il me semble que par défaut elle tourne avec postgresql et sa configuration est automatique.

par contre il vous faudra une machine en 64bits, car alfresco ne livre plus de binaire linux en 32 bits depuis la dernière 3.4.d  :?

rguinot
Confirmed Champ
Confirmed Champ
Vous avez supprimé des fichiers de base de données à la main peut être ?
Vous pouvez essayer de killer la base… mais bon ce n'est pas très propre.

seksam
Champ on-the-rise
Champ on-the-rise
Bonjour et merci pour vos réponses,
PostgreSQL a très mal digéré toutes les modifications que j'ai eu à installer. Après deux jours de bugs, j'ai donc tout désinstaller, tout nettoyer et je suis reparti de zéro. Ainsi, la base de donnée s'est bien installé. Donc a ce niveau plus de souci.
Encore merci pour tout.

Ps: je ne peux pas installer Alfresco 3.4.e car l'entreprise vient à peine de migrer du 3.2.r vers 3.4.d il y'a quelques mois et je ne pense pas que l'on acceptera une nouvelle migration.

seksam
Champ on-the-rise
Champ on-the-rise
Bonjour,
Donc comme je le disais avant j'ai plus de problème de base de données et dans le fichier log je n'ai plus d'erreur et j'ai bien le mesage INFO: Server startup in 41459 ms (Je ne sais pas si c'est suffisant comme preuve). Cependant, je n'arrive toujours pas à accéder à Alfresco depuis le navigateur.  Je ping mon serveur sans souci, j'ai vérifié que j'avais pas de problème de proxy, mais rien à faire les navigateurs m'indiquent toujours que le serveur met trop de temps à répondre. Auriez vous une piste???? une idée????
Merci d'avance.

Ps: mon accès je le fais avec http://@ip:8080/alfresco.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.