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

404 Error

$
0
0

Hi, I have installed Alfresco on Tomcat following the guide. However when I run the apache-tomcat server and try to access the page a 404 error is thrown. I am just trying to access localhost:8080/share.
Could this be down to the configuration file being incorrect or another problem entirely?


Installation on Tomcat - No alf_data folder

Simplified Chinese interface, Quote, Email server

$
0
0

Dear Sir,

I have 3 issue.

1) how can I change the interface to simplified Chinese
2) I am still waiting for the quotation for about 100users
3) how to setup email server

Alfresco Community Upgrade

$
0
0

I'm trying to upgrade Alfresco2.1 Community to Alfresco3.0 Community (with Postgres Database)
First of all i don't find the scripts for the Postgres Upgrade (org.hibernate.dialect.PostgreSQLDialect) in

tomcat/webapps/alfresco/WEB-INF/classes/alfresco/dbscripts/upgrade/2.2/

So i have copied them from a Alfresco 3.2 installation.

Then i have:
- Installed Alfresco3.0 , launched and stopped to test if works
- Stopped Alfresco2.1
- Backed up Alfresco2.1 database with pg_dump
- Deleted all data in Alfresco3.0/alf_data directory
- Deleted Alfresco3.0 database
- Recreated Alfresco3.0 database and restored Alfresco2.1 backup
- Copied Alfresco2.1/alf_data/contentstore in Alfresco3.0/alf_data
- Launched Alfresco3.0
- All updates seems succesful, index are recreated, but finally i have this error:

17:31:57,525 User:System ERROR [admin.patch.PatchExecuter]
=== Failed to apply patch ===
ID: patch.updateAvmPermissions
RESULT:
org.alfresco.error.AlfrescoRuntimeException: Failed to set TX isolation level
at org.alfresco.repo.domain.hibernate.AclDaoComponentImpl.getAVMHeadNodeCount(AclDaoComponentImpl.java:2019)
at org.alfresco.repo.admin.patch.impl.AVMPermissionsPatch.applyInternal(AVMPermissionsPatch.java:55)
at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:388)
at org.alfresco.repo.admin.patch.AbstractPatch$1$1.execute(AbstractPatch.java:382)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:414)
at org.alfresco.repo.admin.patch.AbstractPatch$1.doWork(AbstractPatch.java:378)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
at org.alfresco.repo.admin.patch.AbstractPatch.apply(AbstractPatch.java:418...

Could you help me?
Thanks in advance
Henry

2.1

Any experience installing and deploying community version in a virtual Linux server

$
0
0

Hi,

We would like to install and deploy the community version to a virtual server (provided by an web hosting company) to allow access within our small organization. We also need to install thirty-party add-ons and customize it, so we don't want to just use the Alfresco on the cloud solution.

I think it should be totally feasible and reliable to install it in a virtual server. Do you have any experience of that?

Another option is to install it in a personal computer. But it will have many negative aspects, for example the personal computer should be online whenever any user wants to access the system. This will be minimal investment but more limitation.

CIFS problem: empty catalogs after connection

$
0
0

Hello everyone,

I have a problem.
I try connect using CIFS to my Alfresco server. I enter in windows explorer: \\srv-alfresco\alfreso
and after connections can see catalogs: "Sites", "User Homes" and others.
But there I can't see subcatalogs in catalogs, for example, in "Sites" there are no folder of site where my user has consumer permissions.
What’s the trouble here?

Thank you for answer!

4.2.c

Unexpected error in the SMTP handler thread

$
0
0

After setting up and using Inbound SMTP for awhile, I've noticed we're collecting a lot of errors in the log (below). Appears to be the same issue as http://forums.alfresco.com/de/node/31633 and referenced as "fixed" in https://issues.alfresco.com/jira/browse/MNT-14140 back in 4.2.5. I'm using 5.0.a. Possible regression, or am I somehow configuring something so wrong that it can fail?

I've also pulled the community repo and looked at the code. Not seeing any obvious way an NPE can even happen in that method with the current community tree, so perhaps it is just a regression that's now been fixed and I just need to upgrade to 5.0.d to solve?

ERROR [org.subethamail.smtp.server.Session][org.subethamail.smtp.server.Session-/192.168.18.17:43505] Unexpected error in the SMTP handler thread
java.lang.NullPointerException
	at org.alfresco.email.server.EmailServer.filterSender(EmailServer.java:215)
	at org.alfresco.email.server.impl.subetha.SubethaEmailServer.access$200(SubethaEmailServer.java:52)
	at org.alfresco.email.server.impl.subetha.SubethaEmailServer$Handler.from(SubethaEmailServer.java:164)
	at org.subethamail.smtp.command.MailCommand.execute(MailCommand.java:84)
	at org.subethamail.smtp.server.RequireTLSCommandWrapper.execute(RequireTLSCommandWrapper.java:27)
	at org.subethamail.smtp.server.CommandHandler.handleCommand(CommandHandler.java:98)
	at org.subethamail.smtp.server.Session.runCommandLoop(Session.java:222)
	at org.subethamail.smtp.server.Session.run(Session.java:125)
5.0.a

How to check if Alfresco is really running as root?

$
0
0

Hi,

I am running Alfresco Community 4.2.f on Ubuntu 14.04. I installed Alfresco using the downloaded bin file alfresco-community-4.2.f-installer-linux-x64.bin.

I wanted to run a content transformation from tif to txt, and have created the ocrtiff-transform-context.xml in
/opt/alfresco-4.2.f/tomcat/shared/classes/alfresco/extension. The xml file makes a reference to the script file named /opt/alfresco-4.2.f/ocr. There is a command /usr/bin/tesseract input_file.tif output_file -l eng in the script file. Tesseract converts the input tif file into an output txt file. The script file was made executable, owned by root.root.

I used the configuration as stated in https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/integration-other-systems/tesseract-full.

The input file was stored in the /tmp directory and owned by root.root. The output text file generated by tesseract has ZERO bytes, which I am really baffled. I am able to run the tesseract command using the command line, but using sudo.

Is this a permission problem? Is it not that alfresco is running as root?

How do I check please?

KY

Yours sincerely
KY
Alfresco Learner


Alfresco community optimal infrastructure

$
0
0

Hello Community,

I represent a Canadian non-profit regroupment of hospitals. Since IT Budget is very low we are looking for a very low cost solution to help the organisation by being more efficient.

We did a prototype of Alfresco community 5 and it running extremely well.

We installed it using required LAMP infrastrucutre and we integrated it with our LDAP authentication service for single sign-on.

Since the prototype went very well, we are looking to extend the experience and make it available to more user.

My question is : Is there any updated documentation (release 4+) that can help us to make a good planification of the infrastructure required for a number of concurent user ? If there is no documentation on it is it possible to have anyone internal documentation on how many servers / cpu / core they have for a number of concurent users ?

We already read the information on those sites :

https://wiki.alfresco.com/wiki/Repository_Hardware
the information was good but it is really old....

http://docs.alfresco.com/community/concepts/welcome-infocenter_community.html
The information is updated but does not respond to our question.

We are looking for a non High availity setup for community edition for 300 to 500 concurents users.
Not business crital
LAMP Only
50-100 document creation / Days
Lot of users but very low activity by users

Thank you very much for you help,

Any advice, recommandation will be very welcome !

5.0.b

Alfresco community upgrade 5.0.d

$
0
0

Hello,
After migrating to Version 5.0.d, I have several errors at server startup. Attached is the log and alfresco configuration file.

The problem seems to come from the repository I have followed the wiki documentation and official doc but apparently the repo path is not taken into account.
may be because the keystore?

In addition :

JAVA_OPTS = "- Djava.awt.headless = true -Xms512m -Xmx1024m -XX: + UseConcMarkSweepGC -Ddir.root = / srv / alfresco / alf_data"

Thanks

5.0.d

CIFS access to shared files

$
0
0

I manage to create map drive in windows to \\mysite\alfresco
But when I browse the drive I only see my sites and a folder "swsdp"
I would like to be able to map drive to the public area "Shared Files"
Is this possible in Alfresco?
What would I have to modify to be able to access this via map drive (CIFS).

MMT Error

$
0
0

I have created two AMPs one for alfresco and one for share, however when I deploy the command... $_java -jar $ALF_HOME/bin/alfresco-mmt.jar install $ALF_HOME/amps $CATALINA_HOME/webapps/alfresco.war -force -directory $* from the script this warning comes up - WARNING: The file '/WEB-INF/lib/slf4j-api-1.7.7.jar' is being overwritten by this module. The original has been backed-up to '/WEB-INF/classes/alfresco/module/backup/53e75990-4c0b-11e5-b31b-f58fe596a424.bin'
obviously I forced it anyway so it creates the .war file but when the .war file explodes on alfresco restart I only have a partial alfresco folder.. I am wondering is this overwriting important .jars? And if so how can I make it so it isnt?

Error while trying to ugrade alfresco-5.0.c to alfresco-5.0.d

$
0
0

when i try to excute this command under /opt/alfresco/postgresql/bin

./dropdb alfresco -h localhost -i

iam facing this error

dropdb.bin: database removal failed: ERROR: database "alfresco" is being accessed by other users
DETAIL: There are 11 other sessions using the database.

Please help

5.0.d

No me crea las tablas en Postgresql

$
0
0

Hola soy nuevo en la comunidad y necesito una ayuda.

Instale alfresco 4.2.c community pero el usuario alfresco en postgresql en su momento no estaba como superusuario y ahora que cargo el sistema no me crea ninguna tabla.
Sé que hay conectividad porque si me crea funciones en el área de catálogos pero en el esquema no hay ninguna tabla.

El entorno esta montado en Centos 7 con postgresql 9.1 y el instalador es el archivo alfresco-community-4.2.c-installer-linux-x64.bin

¿Alguien tiene idea de como volver a ejecutar los script de inicio de instalación?

4.2.c
error

Transfer all my data including My custom sites created to different alfresco instance

$
0
0

Hi ,

I want to Transfer all my data including My custom sites created to different alfresco instance(new alfresco instance).Please guide me what are the correct steps to do that.

regards

Raghav Bhardwaj

5.0.d

Cannot run Alfresco 5.0.d community version

$
0
0

Hi,

I have downloaded the newest community version of the Alfresco - 5.0.d and installed it.
I wasn't able to start Tomcat so I wanted to install it from the instructions listed on the following page: https://wiki.alfresco.com/wiki/Updated_information_on_building_and_running_Alfresco,
however when I run mvn install I get the following error:
"Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.alfresco:share-po:jar:5.1-SNAPSHOT: Failure to find org.alfresco.services.sync:service-synchronization-api:jar:1.0-SNAPSHOT in https://artifacts.alfresco.com/nexus/content/repositories/public-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of alfresco-public-snapshots has elapsed or updates are forced
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 22 more"
so as far as I can see the problem is with the repository https://artifacts.alfresco.com/nexus/content/repositories/public-snapshots/ and the following jar: org.alfresco.services.sync:service-synchronization-api:jar:1.0-SNAPSHOT.
I think that there might be some other issues with the other libraries in the further steps.
How can I reslove it?

I think that I found the solution - https://blogs.alfresco.com/wp/developer/2015/03/31/release-agility-community-update-i-share-source-location-changes/ - https://svn.alfresco.com/repos/alfresco-open-mirror/web-apps/Share/trunk/

Facing java.net.SocketTimeoutException: Read timed out

$
0
0

Hi Friends,

My alfresco 5.0 Enterprise is deployed on Red Hat 6 linux platform, I am facing strange issue on my all virtual nodes ( DEV / QA / PROD )
Here is my error :

2015-09-02 21:24:47,227  INFO  [webscripts.connector.RemoteClient][http-apr-8080-exec-4] Exception calling (POST) http://localhost:8080/alfresco/wcs/api/login 

Proposed solutions we already checked as below :

1) Network latency  - Network seems fine
2) Timeout in configuration - Its already set to 2 min which is good enough

Any quick pointers ??

5.0

Ghanshyam Rathod
Tata Consultancy Services
Gujarat-India
http://alfrescocms.blogspot.in/
<< If this post was helpful, please click "mark comment as useful">>

Hi Please Guide me how can i undo all the new versions of files i created

$
0
0

Hi Please Guide me how can i undo all the new versions of files i created. Basically i just want to get my original file back and remove all the generated versions.

regards

Raghav Bhardwaj

5.0.d

Alfresco Bart Errors

$
0
0

Hi iam facing these errors when i run ./alfresco-bart.sh backup

./alfresco-bart.sh: line 117: -v4: command not found
./alfresco-bart.sh: line 120: -v4: command not found
./alfresco-bart.sh: line 146: -v4: command not found
./alfresco-bart.sh: line 218: -v4: command not found
./alfresco-bart.sh: line 265: -v4: command not found
./alfresco-bart.sh: line 765: remove-older-than: command not found
./alfresco-bart.sh: line 767: remove-all-inc-of-but-n-full: command not found
./alfresco-bart.sh: line 769: remove-older-than: command not found
./alfresco-bart.sh: line 770: remove-all-inc-of-but-n-full: command not found
./alfresco-bart.sh: line 778: remove-older-than: command not found
./alfresco-bart.sh: line 780: remove-all-inc-of-but-n-full: command not found

Please help me solve this issue.

regards

Raghav Bhardwaj

5.0.d

Impossible to restart after crash

$
0
0

Alfresco worked great but one week ago, our server shut down for some issues.

From then Alfresco can't load and stop with this error

12:14:34,041 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed
java.lang.NullPointerException
at org.alfresco.repo.web.scripts.RepositoryContainer.reset(RepositoryContainer.java:677)
at org.alfresco.repo.web.scripts.RepositoryContainer$5.doWork(RepositoryContainer.java:632)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.repo.web.scripts.RepositoryContainer.onApplicationEvent(RepositoryContainer.java:636)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1073)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

we tried to reindex but without luck. Can anybody help me? It's very very urgent

Thank a lot

Sergio

5.0

Sergio Ratti - Soluzione1 Srl

Viewing all 305 articles
Browse latest View live