Quantcast
Channel: Alfresco Forums - Configuration
Viewing all 411 articles
Browse latest View live

Recent Activities Email Frequency

$
0
0

Hello, I am running a fresh copy of Alfresco 5.0.d (Community Edition) on ubuntu server with no modifications.

I would like to increase the frequency of the recent activities email to every 60 minutes.
I have read through a lot of documentation, but can't seem to find an exact answer on how to do this.

So far I have tried adding the following to my alfresco-global.properties file:

activities.feed.notifier.enabled=true
activities.feed.notifier.repeatIntervalMins=60

These lines did not exist by default in the file, but they do not seem to have any affect on the behavior (yes I restarted the server after making these changes)

emails still are only being sent out at midnight, and not a second before.

Is there maybe some sort of cron job that needs to be adjusted or a different configuration file?

5.0.d

Ldap Connection Problem

$
0
0

Hi guys i have a problem with my ldap connection via java, i'm using debian here

this is my reference http://techpubs.spinlocksolutions.com/dklar/ldap.html
i have following this as reference for installing ldap and configuring it, and it work perfectly on terminal, but i cant connect it to java.

package com.irvankosini; 
import java.util.Hashtable;import javax.naming.AuthenticationException;import javax.naming.AuthenticationNotSupportedException;import javax.naming.Context;import javax.naming.NamingException;import javax.naming.directory.DirContext;import javax.naming.directory.InitialDirContext; 
public class ldap {
    public staticvoid main(String[] args){ 
 
    String url ="ldap://192.168.1.1:389";
Hashtable env =new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, url);
env.put(Context.SECURITY_AUTHENTICATION,"simple");
env.put(Context.SECURITY_PRINCIPAL,"uid=mirko,ou=people");
env.put(Context.SECURITY_CREDENTIALS,"kosini"); 
try{
    DirContext ctx =new InitialDirContext(env);
    System.out.println("connected");
    System.out.println(ctx.getEnvironment()); 
    // do something useful with the context... 
    ctx.close(); 
}catch(AuthenticationNotSupportedException ex){
    System.out.println("The authentication is not supported by the server");}catch(AuthenticationException ex){
     ex.printStackTrace();}catch(NamingException ex){
    System.out.println("error when trying to create the context");}}}

this is the error log
run:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135) at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2883)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2797)
at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:319)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)
at javax.naming.InitialContext.init(InitialContext.java:244)
at javax.naming.InitialContext.(InitialContext.java:216)
at javax.naming.directory.InitialDirContext.(InitialDirContext.java:101)
at com.irvankosini.ldap.main(ldap.java:25)
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3135)
BUILD SUCCESSFUL (total time: 3 seconds)

Bug in Aikau faceted-search

shareUrl in Daily Notification

$
0
0

Hello guys,

I was wondering what is the best way to change the daily activities notification template, meaning I want to change text that is being sent to the users via the email in the daily notification.

Maybe I need to change directly the template for this notification, if that's the case
Where is the template for it?

Regards!

5.0.c

Alfresco Share, This webpage is not available ERR_CONNECTION_TIMED_OUT

$
0
0

Hi,
I am having issue with Alfresco Share, when I tried to login from Windows 7 (Google Chrome), it gives me This webpage is not available ERR_CONNECTION_TIMED_OUT.
My alfresco is setup in CentOS and I tried to login from Windows 7.
I can connection within the CentOS browser but not other computers.

Please let me know where I should check the settings.

Thanks
Henry

5.0.a

Rules don't trigger email.

$
0
0

Hi,

I have installed Alfresco Community (5.0), the recent activity emails and the "test" email configured in global.properties are working fine, but when a folder rule calls a "send mail" action, this is not working. I've checked:

-The users have a mail.
-Test mail is working
-Recent activites mail is working
-Invitation mail is not working
-Rule with mail action is not working

To show better information, how i can generate mail log/debug? Any idea of the problem ?

Thanx

5.0

Contentstore selector configuration

$
0
0

Hi,

I'm trying Alfresco One trial, I want to implement Contentstore selector because I have multiple filesystem mounted in my server and I need to differentiate places where Alfresco stores data.

I've followed this page of documentation:

docs.alfresco.com/5.0/concepts/store-config-fullexample.html

and I made these two things:

1) I wrote sample-config-store-selector-context.xml and I put in this directory: /opt/alfresco-5.0.1/tomcat/shared/classes/alfresco/extension.

2) I appended on share-config-custom.xml in /opt/alfresco-5.0.1/tomcat/shared/classes/alfresco/web-extension (first of end tag ).

After these operations I login in Alfresco Share but I don't see difference or menu to select differents content store, can you help me for next steps please.

Anomaly file "user_likesRatingScheme"

$
0
0

Hi all!
I'm using Alfresco Community 4.2.c and i'm incurring in something really strange.
I've put in place a customization and it works from almost 2 years. Yesterday I've created an Alfresco user "dave" and some services and rules doesn't work anymore.
The error in the logs was "NullPointerException" for the same piece of code used both for rules and services to retrieve the nodeRef of a particular folder "myFolderRep":

		List<ChildAssociationRef> childList = nodeService.getChildAssocs(docLibrary);
for(ChildAssociationRef s : childList){
NodeRef childRef = s.getChildRef();
FileInfo childInfo = fileFolderService.getFileInfo(childRef);
if(childInfo.getName().equals(myFolderRep)){<-- here NullPointer
repositoryNodeRef = childInfo.getNodeRef();
}
}

After some hours of troubleshooting i find a file named "dave_likesRatingScheme" through Alfresco's NodeBrowser that resides under the docLibrary, at the same level of the myFolderRep folder. It was an hidden file not visible by Share or Explorer navigating the repository.
Simply deleting that file i solved all the issues.

Someone knows which type of file is that? Maybe it is related with user preferences such as favorites and likes but why i have never seen a similiar file for the other user i've created?? and how it is possible Alfresco API have an error retrieving info of that file?

4.2.c

How to disable Repository button in the header?

$
0
0

Hello guys,

I was wondering if there is easy way to restrict non Admin users to not see "Repository" button (the button in the header of every page - in the same header where the HOME button is located).

Regards!

5.0.c

LDAP Sync partly successful

$
0
0

Hi - I installed activiti-app.war on Tomcat 7.0.42 and enabled LDAP. I have more than 500 users in LDAP. But I see that full sync always fetches only 500 users. Any help is greatly appreciated.

eror debug in server alfresco comunity

$
0
0

i instales alfresco comunity 5.0 in windows server 2003.
after testing and runing, there are a message show said "convert.exe error, debug on my visual studio". ist cause alfresco hang or not working in some client.
can anyboddy help this isue.
thanks.

5.0

dama

Botnet attack via Alfresco Share

$
0
0

Hi All

We setup Alfresco Community 5.0.d on a cloud server for testing purposes. We were notified by the cloud provider that our server was causing botnet attacks. Indeed we found the attached lines in the tomcat/logs/catalina.out file.

Has anyone seen this before? We are trying to figure out how this attack might have happened and how the botnet scripts came into our system. We also haven't yet figured out which files exactly in Alfresco Share were affected.

Any pointers will be greatly appreciated.

Thanks in advance
Vipul

5.0.d

Remove Language Detection (5.0d)

$
0
0

Hello,

I have just installed Alfresco 5d CE on Ubuntu 15.04 running with Nginx 1.6.
For this installation I would like to turn off the browser language detection and only keep EN as the default language.

For this I went to lots of articles:
https://forums.alfresco.com/forum/developer-discussions/language-packs/changing-default-language-04012008-1208#comment-form
http://stackoverflow.com/questions/15872540/how-to-force-alfresco-share-use-only-one-language-independent-from-browsers-loc
https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/solved-daily-email-notification

In the end I tried updating startup.sh with:
export JAVA_OPTS="${JAVA_OPTS} -Duser.country=US -Duser.region=US -Duser.language=en"

But this or all other options weren't working for me.
I sthere anything different in version 5?

Thanks in advance
Chris

5.0.d

How to set-up HTTPS/SSL

$
0
0

Hi,

I've set up Alfresco Community Edition 5.0d on Tomcat/Ubuntu and configured Sharepoint Protocol Support successfully.

Now, I want to configure http/SSL, but I am a little confused because in the documentation there are two different chapters:
- Configuring SharePoint Protocol with SSL (http://docs.alfresco.com/community/tasks/SharePoint-SSL.html)
- Setting up SharePoint Protocol Support to work with HTTPS (http://docs.alfresco.com/community/tasks/SharePoint-HTTPS-setup.html)

I don't get what the difference is and if I should follow both instructions or just one of the two.

Any hint is highly appreciated!

Many thanks
Michael

5.0.d

Recreate Scheduled Actions Folder

$
0
0

Hello,
I removed the Sheduled Actions Folder by mistake,after restarting ALfresco i saw a msg "Failed to find 'cm:Scheduled Actions' location" .
So how can i recreate it without doing a restoration because i don't have a backup yet.
Thanks.

(ALFRESCO 4.2.c)

4.2.c

--
Cordialement,
Ahmed FEHRI
Ingénieur Génie Logiciel
Consultant,Intégrateur GED/ECM
--------------------------------------------------
Spectrum Groupe - Blog
SpectrumBenchmark


InboundSMTP configuration option?

$
0
0

Is there any way to configure InboundSMTP to behave in a SharePoint compatible manner? Our current SharePoint site receives e-mails into a particular folder. Each e-mail received automatically is put into a new sub-folder with the e-mail text and attachment stored (as separate files) in that folder. The sub-folder with the contents receives the name from the subject line of the e-mail.

So far, in Alfresco, I've only been able to get all the attachments and text for e-mails to show up in a single folder. Attachments with significantly different names from the e-mail subject become widely separated in the list. That makes it really hard to figure out which attachment goes with what text in our high volume situation.

Any other solutions I'm missing?

5.0.a

Synchronization aborted due to error DataIntegrityViolationException: No property value exists for ID 31183425

$
0
0

Hi all,

i'm in some real trouble, today the server give me this error:

2015-07-28 09:54:50,919  ERROR [security.sync.ChainingUserRegistrySynchronizer][localhost-startStop-1] Synchronization aborted due to error
 org.springframework.dao.DataIntegrityViolationException: No property value exists for ID 31183425
        at org.alfresco.repo.domain.propval.AbstractPropertyValueDAOImpl.getPropertyById(AbstractPropertyValueDAOImpl.java:841)
        at org.alfresco.repo.domain.propval.AbstractPropertyValueDAOImpl.getPropertyUniqueContext(AbstractPropertyValueDAOImpl.java:1293)
        at org.alfresco.repo.attributes.AttributeServiceImpl.setAttribute(AttributeServiceImpl.java:175)
        at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$8.execute(ChainingUserRegistrySynchronizer.java:2080)
        at org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer$8.execute(ChainingUserRegistrySynchronizer.java:2076)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
...
(see attachment for complete stack)

2015-07-28 09:55:41,160  ERROR [solr.tracker.AbstractTracker][SolrTrackerScheduler_Worker-1] Tracking failed
 org.alfresco.service.cmr.dictionary.DictionaryException: 06280000 d_dictionary.model.err.no_model
        at org.alfresco.repo.dictionary.AbstractDictionaryRegistry.getModel(AbstractDictionaryRegistry.java:97)
        at org.alfresco.repo.dictionary.DictionaryDAOImpl.getCompiledModel(DictionaryDAOImpl.java:308)
        at org.alfresco.solr.AlfrescoSolrDataModel.getM2Model(AlfrescoSolrDataModel.java:1220)
...

and

2015-07-2811:18:40,686  ERROR [quartz.core.JobRunShell][SolrTrackerScheduler_Worker-1] Job Solr.CoreWatcher threw an unhandled Exception:
 org.alfresco.service.cmr.dictionary.DictionaryException: 06280000 Failed to compile model sys:systemmodel
        at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:108)
        at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:163)
        at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModelImpl(DictionaryDAOImpl.java:266)
...
Caused by: org.alfresco.service.namespace.NamespaceException: URI http://www.alfresco.org/model/dictionary/1.0 cannot be imported as it is not defined (with prefix d
...

i also get a lot of other errors and i don't know what is going on:

java.lang.ArrayIndexOutOfBoundsException
[Fatal Error]:1:1: Content is not allowed in prolog.
[Fatal Error]:1:1: Invalid byte1 of 1-byte UTF-8 sequence.
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
...

Can anyone help?

5.0.c

Captcha login feature?

$
0
0

Hello all, we currently are using alfresco CE as our main documentation app in our company.
The only problem we encounter is the low level of security its provide for automation bots as we search and didnt find any way to establish a captcha login after X login attempts.

Is there any way or plugin to add this common feature, without us needing to develop it?

Best regards

Breadcrumb

$
0
0

Can anyone let me have a step by step guide as to how to set up the breadcrumb in Alfresco (Enterprise version 5.0.0)
I can see the Site Name and the url shows the last 'folder' but not the path, I would expect to see a breadcrumb that users can navigate with.
Thanks

Julia Tanner

keytool help windows server 2012

$
0
0

Hi guys,

I'm breaking my head over this, which is probably a small thing.

i'm using the keytool -certreq to generate a certificate with csr code. getting the error that keystore file does not exist.
what do i put after -keystore

my install dir is d:\alfresco
and keystore is located in d:\alfresco\alf_data\keystore

when i put this dir behind -keystore it doesn't work.

please help!
thanks.

p.s. using alfresco community edition 5

Viewing all 411 articles
Browse latest View live