FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 09-22-2011, 09:11 AM
"Stefan G. Weichinger"
 
Default otrs

Anyone installed otrs with webapp-config?
I just don't get it!

otrs emerged fine, but I get:

# webapp-config -I -h localhost -d 'otrs' otrs 3.0.10
* Fatal error: Unable to determine location of master copy
* Fatal error(s) - aborting

Could someone please help?
google doesn't get me fitting answers for gentoo

Thanks!

Stefan
 
Old 09-22-2011, 09:19 AM
Marius Vaitiekunas
 
Default otrs

On Thu, Sep 22, 2011 at 12:11 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
>
> Anyone installed otrs with webapp-config?
> I just don't get it!
>
> otrs emerged fine, but I get:
>
> # webapp-config -I -h localhost -d 'otrs' otrs 3.0.10
> * Fatal error: Unable to determine location of master copy
> * Fatal error(s) - aborting
>
> Could someone please help?
> google doesn't get me fitting answers for gentoo
>
> Thanks!
>
> Stefan
>
>

Hi,
I strongly suggest you to use source package installation method. I am
using it without any problem.
 
Old 09-22-2011, 09:38 AM
"Stefan G. Weichinger"
 
Default otrs

Am 22.09.2011 11:19, schrieb Marius Vaitiekunas:

> Hi,
> I strongly suggest you to use source package installation method. I am
> using it without any problem.

*sigh*

hmm, thanks
 
Old 09-22-2011, 10:09 AM
Joost Roeleveld
 
Default otrs

On Thursday, September 22, 2011 11:11:52 AM Stefan G. Weichinger wrote:
> Anyone installed otrs with webapp-config?
> I just don't get it!
>
> otrs emerged fine, but I get:
>
> # webapp-config -I -h localhost -d 'otrs' otrs 3.0.10
> * Fatal error: Unable to determine location of master copy
> * Fatal error(s) - aborting
>
> Could someone please help?
> google doesn't get me fitting answers for gentoo
>
> Thanks!
>
> Stefan

I have been using webapp-config for all the webapps on my server and it does
work for me.
Not seen that error before. I am wondering if something might be configured
incorrectly.

Do you have the folder: "/usr/share/webapps/otrs/3.0.10" ?

Also, I would try not to put quotes arount the "-d" parameter. I have never
needed that myself.

--
Joost
 
Old 09-22-2011, 10:11 AM
Joost Roeleveld
 
Default otrs

On Thursday, September 22, 2011 12:19:15 PM Marius Vaitiekunas wrote:
> On Thu, Sep 22, 2011 at 12:11 PM, Stefan G. Weichinger <lists@xunil.at>
wrote:
> > Anyone installed otrs with webapp-config?
> > I just don't get it!
> >
> > otrs emerged fine, but I get:
> >
> > # webapp-config -I -h localhost -d 'otrs' otrs 3.0.10
> > * Fatal error: Unable to determine location of master copy
> > * Fatal error(s) - aborting
> >
> > Could someone please help?
> > google doesn't get me fitting answers for gentoo
> >
> > Thanks!
> >
> > Stefan
>
> Hi,
> I strongly suggest you to use source package installation method. I am
> using it without any problem.

I actually prefer using "vhosts" USE-flags. It allows me to test new versions
before wiping the existing onces.

Is there any reason why you advice against the vhosts-method?

--
Joost
 
Old 09-22-2011, 10:25 AM
"Stefan G. Weichinger"
 
Default otrs

Am 22.09.2011 12:09, schrieb Joost Roeleveld:

> I have been using webapp-config for all the webapps on my server and
> it does work for me. Not seen that error before. I am wondering if
> something might be configured incorrectly.
>
> Do you have the folder: "/usr/share/webapps/otrs/3.0.10" ?

No, I don't have that!

> Also, I would try not to put quotes arount the "-d" parameter. I have
> never needed that myself.

Thanks, I would really love to get that working soon.

S
 
Old 09-22-2011, 10:41 AM
Joost Roeleveld
 
Default otrs

On Thursday, September 22, 2011 12:25:59 PM Stefan G. Weichinger wrote:
> Am 22.09.2011 12:09, schrieb Joost Roeleveld:
> > I have been using webapp-config for all the webapps on my server and
> > it does work for me. Not seen that error before. I am wondering if
> > something might be configured incorrectly.
> >
> > Do you have the folder: "/usr/share/webapps/otrs/3.0.10" ?
>
> No, I don't have that!

Then I think this is the problem.
Did you install with the "vhosts" USE-flag?

If yes, where did the ebuild place the files? (You should be able to see this
in the output from the ebuild and/or in the emerge-logfiles.

--
Joost
 
Old 09-22-2011, 11:10 AM
"Stefan G. Weichinger"
 
Default otrs

Am 22.09.2011 12:41, schrieb Joost Roeleveld:
> On Thursday, September 22, 2011 12:25:59 PM Stefan G. Weichinger
> wrote:
>> Am 22.09.2011 12:09, schrieb Joost Roeleveld:
>>> I have been using webapp-config for all the webapps on my server
>>> and it does work for me. Not seen that error before. I am
>>> wondering if something might be configured incorrectly.
>>>
>>> Do you have the folder: "/usr/share/webapps/otrs/3.0.10" ?
>>
>> No, I don't have that!
>
> Then I think this is the problem. Did you install with the "vhosts"
> USE-flag?

otrs doesn't have that flag!

> If yes, where did the ebuild place the files? (You should be able to
> see this in the output from the ebuild and/or in the
> emerge-logfiles.

everything is put to /var/lib/otrs/

The permissions don't fit the apache-user, and the file

/var/lib/otrs/scripts/apache2-httpd.include.conf

gives me headaches as well when put to /etc/apache2/vhosts.d

I am unsure where to put it and fiddle around for hours already.

That's why I would love the webapp-config-approach.

S
 
Old 09-22-2011, 11:29 AM
Joost Roeleveld
 
Default otrs

Please don't CC me into all the emails, list-mails end up correctly.

On Thursday, September 22, 2011 01:10:48 PM Stefan G. Weichinger wrote:
> Am 22.09.2011 12:41, schrieb Joost Roeleveld:
> > On Thursday, September 22, 2011 12:25:59 PM Stefan G. Weichinger
> >
> > wrote:
> >> Am 22.09.2011 12:09, schrieb Joost Roeleveld:
> >>> I have been using webapp-config for all the webapps on my server
> >>> and it does work for me. Not seen that error before. I am
> >>> wondering if something might be configured incorrectly.
> >>>
> >>> Do you have the folder: "/usr/share/webapps/otrs/3.0.10" ?
> >>
> >> No, I don't have that!
> >
> > Then I think this is the problem. Did you install with the "vhosts"
> > USE-flag?
>
> otrs doesn't have that flag!

Just noticed, the 3.x versions appear to have that flag removed. I wonder why
they did that as it makes managing webapplications a lot simpler that way.

> > If yes, where did the ebuild place the files? (You should be able to
> > see this in the output from the ebuild and/or in the
> > emerge-logfiles.
>
> everything is put to /var/lib/otrs/
>
> The permissions don't fit the apache-user, and the file
>
> /var/lib/otrs/scripts/apache2-httpd.include.conf
>
> gives me headaches as well when put to /etc/apache2/vhosts.d
>
> I am unsure where to put it and fiddle around for hours already.
>
> That's why I would love the webapp-config-approach.

Yes, it would be easier.

The 3.0.10 version wants me to unmask a few too many other packages for my
liking to have a quick check.

Did you read the documentation and have a look at the sample configuration
provided?
From what I see in the patch for the httpd.include file, I don't think it
belongs in the vhosts.d folder as this is supposed to be for definitions of
vhosts-files.

--
Joost
 
Old 09-22-2011, 11:49 AM
"Stefan G. Weichinger"
 
Default otrs

Am 22.09.2011 13:29, schrieb Joost Roeleveld:
> Please don't CC me into all the emails, list-mails end up correctly.

sorry for the noise

>> otrs doesn't have that flag!
>
> Just noticed, the 3.x versions appear to have that flag removed. I
> wonder why they did that as it makes managing webapplications a lot
> simpler that way.

The ebuild seems a bit outdated and non-maintained.

> The 3.0.10 version wants me to unmask a few too many other packages
> for my liking to have a quick check.

Understood.

> Did you read the documentation and have a look at the sample
> configuration provided?

sure, I did

> From what I see in the patch for the
> httpd.include file, I don't think it belongs in the vhosts.d folder
> as this is supposed to be for definitions of vhosts-files.

Yep. I had it pasted into the existing default-host already, but the
problem was that the path of otrs was outside the setting of:

DocumentRoot "/var/www/localhost/htdocs"

I wanted to avoid moving the stuff there from /var/lib/otrs manually, to
keep portage happy in future.

Might try to cp the ebuild into a local overlay and edit $OTRS_HOME to
something like "/var/www/localhost/htdocs/otrs", just to get on with it.
I have people waiting to use OTRS ...

I really wonder that I am the first person hitting these issues.

btw, just found that bug and updated it ...

https://bugs.gentoo.org/show_bug.cgi?id=220553

Thanks, Stefan
 

Thread Tools




All times are GMT. The time now is 03:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org