Quantcast
Channel: Alfresco Forums - Installation & Upgrades
Viewing all 305 articles
Browse latest View live

Import .acp in 5.0.d version

$
0
0

Hi All,
I was trying to migrate my documents from 3.4 CE to 5.0.d CE.
When I run a rule, on 5.0.d system, that import .acp created in 3.4 version I get this error:
....Namespace URI http://www.alfresco.org/model/website/1.0 has not been defined in the Repository dictionary)

Any idea?
Thanks!

This is the log section:
2016-02-02 12:47:34,534 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-9080-exec-9] Exception from executeScript - redirecting to status template error: Failed to import package at line 128; column 79 due to error: Namespace URI http://www.alfresco.org/model/website/1.0 has not been defined in the Repository dictionary
org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 128; column 79 due to error: Namespace URI http://www.alfresco.org/model/website/1.0 has not been defined in the Repository dictionary
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:194)
at org.alfresco.repo.importer.ImporterComponent.parserImport(ImporterComponent.java:423)
at org.alfresco.repo.importer.ImporterComponent.importView(ImporterComponent.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy84.importView(Unknown Source)
at org.alfresco.repo.action.executer.ImporterActionExecuter.executeImpl(ImporterActionExecuter.java:182)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:265)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:839)
at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:66)
at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:265)
at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:839)
at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:739)
at org.alfresco.repo.action.ActionServiceImpl.executeAction(ActionServiceImpl.java:573)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:34)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy33.executeAction(Unknown Source)
at org.alfresco.repo.rule.RuleServiceImpl.executeAction(RuleServiceImpl.java:1271)
at org.alfresco.repo.rule.RuleServiceImpl.executeRule(RuleServiceImpl.java:1265)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRuleImpl(RuleServiceImpl.java:1211)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRule(RuleServiceImpl.java:1154)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRulesImpl(RuleServiceImpl.java:1120)
at org.alfresco.repo.rule.RuleServiceImpl.executePendingRules(RuleServiceImpl.java:1093)
at org.alfresco.repo.rule.RuleTransactionListener.beforeCommit(RuleTransactionListener.java:57)
at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit(TransactionSupportUtil.java:535)
at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.doBeforeCommit(TransactionSupportUtil.java:514)
at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit(TransactionSupportUtil.java:479)
at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:925)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:738)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)
at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:482)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:479)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:551)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:619)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:399)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:280)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2466)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2455)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: org.alfresco.service.cmr.view.ImporterException: Namespace URI http://www.alfresco.org/model/website/1.0 has not been defined in the Repository dictionary
at org.alfresco.repo.importer.view.ViewParser.getName(ViewParser.java:991)
at org.alfresco.repo.importer.view.ViewParser.processStartElement(ViewParser.java:219)
at org.alfresco.repo.importer.view.ViewParser.parse(ViewParser.java:176)
... 97 more

5.0.d


Issues with database connection

$
0
0

I have been experiencing issues when trying to log in Alfresco (authentication details have not been recognized)

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging forthis logger for a complete list of JARs that were s$
Nov 19,201512:58:28 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 19,201512:58:28 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/alfresco] startup failed due to previous errors
Nov 19,201512:58:28 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/alfresco] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1](value [com.sun.xml.bind.v2$
Nov 19,201512:58:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /opt/alfresco/tomcat/webapps/alfresco.war has finished in23,438 ms

I did a bit of research and found out that my issue is related to the initialization of PostgreSQL

~$ sudo service postgresql start* Starting PostgreSQL 9.4 database server * The PostgreSQL server failed to start. Please check the log output:2015-12-1010:09:04 BRST [2618-1] FATAL:  could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied[fail]
Folder Permissions
~$ ls -la /etc/ssl/private-rwxrwxrwx 1 postgres postgres 1704 Set  411:26 ssl-cert-snakeoil.key

I tried to set folder and file permissions to 0755 and few others parameters but nothing changed.

I was thinking about dropping user/tables in Postgre or even reinstall it as I have Alfresco Bart (backup) and I could try to restore it. Would the recreation of the database scheme fix the issue?

Thanks in advance.

5.0.d

Alfresco One Repository

$
0
0

Installed Alfresco Enterprise Edition 5.0.2.5 on Windows 8.1 Physical Machine with MS SQL 2014 Standard Server.

The above environment is on testing for client.

However, followed and made all the configurations as per documentation.

The attached error is getting generated in log.

Let me know if any one else got the same.

Thanks,

5.0.c

Edit Online not working

$
0
0

Hello all,

I have a fresh Alfresco install, running on Win2k12 R2.
Everything seems to be working great except the "Edit Online" option.

The link is showing but when I click nothing happens.
Yesterday when I first clicked the "Edit Online" I got the question if I want to give permission to start Office and I clicked Yes, but now Office 2013 is not being started at all when I click the "Edit Online" button.

Do I need to open specific ports to the server running Alfresco or is there something else?

Thanks in advance!

5.0

Upgrading Alfresco CE version

Distributed Install of Alfresco for multi-node environment on Linux

$
0
0

Hi,

I have a requirement where I need to do a distributed install of Alfresco in a multi-node environment for Alfresco Community 5.0.d. The load Balancing can be done for Share servers using Tomcat Replication mechanism as specified here : https://wiki.alfresco.com/wiki/Tomcat_Session_Replication_with_Memcached .
I am planning to use a shared database between the two repo servers. SOLR indexing is also done at the repo servers.
I need to keep both my repo servers along with their SOLR indexes in sync with High Availablity .How can I achieve that in Alfresco Community 5.0.d on Linux?

Regards,
Neha

5.0.d

Nothing but a blank page

$
0
0

After 6 months of running fine, now when I try to navigate to Alfresco, it sits there loading for ages and when it's done, all I get is a blank page. From the base URL, it redirects to https://mydomain.com/share/page/ and the title bar says "Alfresco >> Login".

What's going on? Surely if there's an error of some sort, it should at least return that.

5.0.d

Alfresco 5.0.d Migration to new server & database

$
0
0

Hi,

I'm trying to move my production (community) alfresco system off of a physical box (with MySQL 5.7 running locally) to be part of our VM infrastructure with a remote MySQL database v5.6.

* Moving from CentOS 6.3 32bit to CentOS 7.1 64bit
* Moving from a Dell Physical Server to VM with the same specs (better hardware)

Steps followed:

* I used MySQL Workbench to export all of the 'alfresco' schema from the v5.7 server, and import it - along with the user - into the v5.6 remote DB.
* Used the correct connection string in the installation of alfresco unattended to point to the new database. Alfresco connects to the database.
* The alf_data directory was copied over to the relative path on the new server (same installation path too).

Just FYI on some lessons learned, hopefully they can help someone else.

- Even though you used IP addressed everywhere alfresco seems to want to use DNS for your hostname. Make sure your hostname appears in your hosts file ... the exceptions are a mile long but at the very end, you'll see "cannot determine .."

- There doesn't seem to be a way of not installing postgres with Alfresco's install. Even if you specify another database and provide the jar (tomcat/lib). You still need to rename/delete the postgres directory for alfresco not to go looking to start postgres.

- For "migration" the Alfresco site refers to backing up your configuration by copying the configuration folder - this seems to be out of date? I think this has been reduced to the global config file.

- Here is where I am today.

 2016-02-1323:24:00,114  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,173  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-2] Tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 01130001 Initial acl transaction not found with correct timestamp
        at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361)
        at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
        at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)2016-02-1323:24:00,187  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-1] Tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 01130000 Initial acl transaction not found with correct timestamp
        at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361)
        at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
        at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

I tried adding

index.recovery.mode=FULL

to the global config file and restarting alfresco, but that did not solve the issue. I'm not using any other indexing tools. I would like to keep all history, tags, etc..

Any help would be greatly appreciated.

5.0.d

4.0.c to 5.0.d migration and upgrade

$
0
0

Hello everybody,
I'm almost new to Alfresco and my first task is migrating a 4.0.c on Debian 6 64bit to 5.0.d on CentOS 6.7 64bit.

I searched for documentation about general issues about backup/restore, migration paths and so on, but I'm doubtful about upgrade path.

Link http://docs.alfresco.com/5.0/concepts/upgrade-path.html says that upgrades to Alfresco 5.0 are supported from only 4.x and later (+ latest Service Pack); so I guess that 4.0.c is not included in 4.x; is this true or not?

Thanks anyone for help.

4.0.c

postgresql doesnt shut down

$
0
0

Suddenly I`m not able to shut down postgresql by the script alfresco.sh stop anymore.

Then I tried pg_ctl stop -m f , but still:
waiting for server to shut down............................................................... failed
pg_ctl.bin: server does not shut down

ps -ef results in:

otca 2386 1 0 Feb15 pts/1 00:00:00 /home/otca/alfresco-community/postgresql/bin/postgres.bin -D /mnt/
otca 2388 2386 0 Feb15 ? 00:00:00 postgres: checkpointer process
otca 2392 2386 0 Feb15 ? 00:00:04 postgres: stats collector process
otca 4457 2386 0 00:33 ? 00:00:12 postgres: alfresco alfresco 127.0.0.1(44989) INSERT
otca 5247 2386 0 03:43 ? 00:00:11 [postgres.bin]
otca 6416 2386 0 07:43 ? 00:00:06 [postgres.bin]
otca 7079 2386 0 10:23 ? 00:00:05 [postgres.bin]

In the postgresql.log is:
FATAL: the database system is shutting down

I don`t wont to kill some process because i`m afraid to corrupt the DB.

Please help me! Thanks.

5.0.d

Alfresco One Installation

How To Proceed For Healthy Hair - How To Prevent Baldness And Thinning Hair

$
0
0

Full lace wigs and modern lace front wigs makes activities diverse hairstyles. Whole laces might be combed and made into ponytails or braids. Lace fronts can not be combed, nevertheless you can have a lace-trimmed and designed to alter his look. Both wigs are constructed with fine strands of Hair Loss that can be formed according to your decision.

http://extremecleanserabout.com/ultractiv-hair/

jeffrey shannon

Alfresco and Xampp

$
0
0

Hello,
installed Alfresco with Xampp (did exactly what was written on the wiki-page (https://wiki.alfresco.com/wiki/Installing_3.2r2_CE_on_XAMPP#Install_XAMPP_and_the_Tomcat_addon)). Wenn I try to go to the page: http://127.0.0.1:8080/share/page/ and login with admin/admin, alfresco/alfresco, I get just errors. The installation was without GUI, I installed the zip version of alfresco (alfresco-community-5.0.d.zip - Contains Web Archive (WAR) bundles for the Alfresco repository and Share UI.)

I checked alfresco BD and find that the table "act_id_user" is empty. Maybe because of that I have such mistake? (have no ideas what exactly to write to create new user)
Anyway where I can find correct login and password?

I attached also alfresco.log file

5.0.d

Combine separate Alfresco installations into single multi-tenancy setup - how to do data migration?

$
0
0

Does anyone have experience or know of the process to convert several existing completely separate Alfresco instances into a single multi-tenacy setup? Is there a defined process to do the data migration?

In terms of details what we are looking at is:

Existing Alfresco Community 4.2.x each with separate MySQL databases on completely separate servers
Goal is to upgrade to 5.0.d and then condense to a single Alfresco server with data stored in Amazon RDS.

Thanks,
Ray

Nothing but a blank page

$
0
0

After 6 months of running fine, now when I try to navigate to Alfresco, it sits there loading for ages and when it's done, all I get is a blank page. From the base URL, it redirects to https://mydomain.com/share/page/ and the title bar says "Alfresco >> Login".

What's going on? Surely if there's an error of some sort, it should at least return that.

5.0.d

Alfresco 5.0.d Migration to new server & database

$
0
0

Hi,

I'm trying to move my production (community) alfresco system off of a physical box (with MySQL 5.7 running locally) to be part of our VM infrastructure with a remote MySQL database v5.6.

* Moving from CentOS 6.3 32bit to CentOS 7.1 64bit
* Moving from a Dell Physical Server to VM with the same specs (better hardware)

Steps followed:

* I used MySQL Workbench to export all of the 'alfresco' schema from the v5.7 server, and import it - along with the user - into the v5.6 remote DB.
* Used the correct connection string in the installation of alfresco unattended to point to the new database. Alfresco connects to the database.
* The alf_data directory was copied over to the relative path on the new server (same installation path too).

Just FYI on some lessons learned, hopefully they can help someone else.

- Even though you used IP addressed everywhere alfresco seems to want to use DNS for your hostname. Make sure your hostname appears in your hosts file ... the exceptions are a mile long but at the very end, you'll see "cannot determine .."

- There doesn't seem to be a way of not installing postgres with Alfresco's install. Even if you specify another database and provide the jar (tomcat/lib). You still need to rename/delete the postgres directory for alfresco not to go looking to start postgres.

- For "migration" the Alfresco site refers to backing up your configuration by copying the configuration folder - this seems to be out of date? I think this has been reduced to the global config file.

- Here is where I am today.

 2016-02-1323:24:00,114  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] First acl transaction was not found with the correct timestamp.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] SOLR has successfully connected to your repository  however the SOLR indexes and repository database do not match.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] If this is a new or rebuilt database your SOLR indexes also need to be re-built to match the database.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-1] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,121  ERROR [solr.tracker.AclTracker][SolrTrackerScheduler_Worker-2] You can also check your SOLR connection details in solrcore.properties.2016-02-1323:24:00,173  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-2] Tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 01130001 Initial acl transaction not found with correct timestamp
        at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361)
        at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
        at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)2016-02-1323:24:00,187  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-1] Tracking failed
 org.alfresco.error.AlfrescoRuntimeException: 01130000 Initial acl transaction not found with correct timestamp
        at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:361)
        at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
        at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
        at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
        at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

I tried adding

index.recovery.mode=FULL

to the global config file and restarting alfresco, but that did not solve the issue. I'm not using any other indexing tools. I would like to keep all history, tags, etc..

Any help would be greatly appreciated.

5.0.d

postgresql doesnt shut down

$
0
0

Suddenly I`m not able to shut down postgresql by the script alfresco.sh stop anymore.

Then I tried pg_ctl stop -m f , but still:
waiting for server to shut down............................................................... failed
pg_ctl.bin: server does not shut down

ps -ef results in:

otca 2386 1 0 Feb15 pts/1 00:00:00 /home/otca/alfresco-community/postgresql/bin/postgres.bin -D /mnt/
otca 2388 2386 0 Feb15 ? 00:00:00 postgres: checkpointer process
otca 2392 2386 0 Feb15 ? 00:00:04 postgres: stats collector process
otca 4457 2386 0 00:33 ? 00:00:12 postgres: alfresco alfresco 127.0.0.1(44989) INSERT
otca 5247 2386 0 03:43 ? 00:00:11 [postgres.bin]
otca 6416 2386 0 07:43 ? 00:00:06 [postgres.bin]
otca 7079 2386 0 10:23 ? 00:00:05 [postgres.bin]

In the postgresql.log is:
FATAL: the database system is shutting down

Then i tried to ill the processes but now I cannot start Alfrescos postgresql anymore:

In the postgresql.log is:
FATAL: the database system is starting up
FATAL: could not fsync file "base/1": Invalid argument

attached the alfresco.log

Please help me! Thanks.

5.0.d

Edit Online not working

$
0
0

Hello all,

I have a fresh Alfresco install, running on Win2k12 R2.
Everything seems to be working great except the "Edit Online" option.

The link is showing but when I click nothing happens.
Yesterday when I first clicked the "Edit Online" I got the question if I want to give permission to start Office and I clicked Yes, but now Office 2013 is not being started at all when I click the "Edit Online" button.

Do I need to open specific ports to the server running Alfresco or is there something else?

Thanks in advance!

5.0

Distributed Install of Alfresco for multi-node environment on Linux

$
0
0

Hi,

I have a requirement where I need to do a distributed install of Alfresco in a multi-node environment for Alfresco Community 5.0.d. The load Balancing can be done for Share servers using Tomcat Replication mechanism as specified here : https://wiki.alfresco.com/wiki/Tomcat_Session_Replication_with_Memcached .
I am planning to use a shared database between the two repo servers. SOLR indexing is also done at the repo servers.
I need to keep both my repo servers along with their SOLR indexes in sync with High Availablity .How can I achieve that in Alfresco Community 5.0.d on Linux?

Regards,
Neha

5.0.d

Upgrading Alfresco CE version

Viewing all 305 articles
Browse latest View live