Got no ArticleDir

Moderator: crythias

Locked
roger4000
Znuny newbie
Posts: 3
Joined: 19 Mar 2015, 10:59
Znuny Version: OTRS 4.0
Real Name: Roger

Got no ArticleDir

Post by roger4000 »

I'm trying to get OTRS 4.0 working on a Linux server. Now I get the following error when opening the frontend in the browser.

Code: Select all

index.pl: Got no ArticleDir! at /opt/otrs/bin/cgi-bin/../../Kernel/System/Ticket/ArticleStorageDB.pm line 26.
This refers to the following code:

Code: Select all

    $Self->{ArticleDataDir} = $Kernel::OM->Get('Kernel::Config')->Get('ArticleDir')
        || die 'Got no ArticleDir!';
When Googling for "Got no ArticleDir" I only find the following discussion on this site: -e: Got no ArticleDir! | Error 500.
This discusison mentions file permissions. I can read most of this German discussion, and don't see anything that could help me.

How can I fix this error?
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: Got no ArticleDir

Post by eandrex »

Hi,

Add this in your Config.pm

Code: Select all

$Self->{ArticleDir} = '/opt/otrs/var/article';
roger4000
Znuny newbie
Posts: 3
Joined: 19 Mar 2015, 10:59
Znuny Version: OTRS 4.0
Real Name: Roger

Re: Got no ArticleDir

Post by roger4000 »

Thank you! On to the next challenge! :wink:
Locked