Re: [gentoo-user] otrs

2011-09-23 Thread Stefan G. Weichinger
Am 23.09.2011 14:44, schrieb Marius Vaitiekunas:

> As I told you, the best way to install on gentoo is installation from
> source. Deb packages have some problem also. If you need an easy
> installation via package manager, go with rpm distro.

I don't need easy installation, I need a working installation ;)

I really tried my best but it wasn't worth the effort anymore.
And even the otrs-archives don't show a solution to that bug I hit. So
what ...

I consider myself rather skilled in getting things working but this was
just a bad experience ...

S



Re: [gentoo-user] otrs

2011-09-23 Thread Marius Vaitiekunas
On Fri, Sep 23, 2011 at 12:48 PM, Stefan G. Weichinger  wrote:
> Am 22.09.2011 14:43, schrieb Stefan G. Weichinger:
>
>> I am going the manual path right now, just to get things working
>> asap.
>
>
> You know what? Didn't get it working!
>
> I always hit some bug around XML-Parser and couldn't find a solution
> anywhere. Even registered on OTRS-Forum, no luck there anyway.
>
> After a day spent on all this I simply deleted the VM and started to
> install another distro (the one starting with "U" ;-) ) just to get OTRS
> working for the customer asap.
>
> They will check it out now, I might try to get it working with gentoo
> later. For now I spent enough time and energy on that issue.
>
> thanks for the feedback anyway,
> Stefan
>
>

As I told you, the best way to install on gentoo is installation from
source. Deb packages have some problem also. If you need an easy
installation via package manager, go with rpm distro.



Re: [gentoo-user] otrs

2011-09-23 Thread Stefan G. Weichinger
Am 22.09.2011 14:43, schrieb Stefan G. Weichinger:

> I am going the manual path right now, just to get things working
> asap.


You know what? Didn't get it working!

I always hit some bug around XML-Parser and couldn't find a solution
anywhere. Even registered on OTRS-Forum, no luck there anyway.

After a day spent on all this I simply deleted the VM and started to
install another distro (the one starting with "U" ;-) ) just to get OTRS
working for the customer asap.

They will check it out now, I might try to get it working with gentoo
later. For now I spent enough time and energy on that issue.

thanks for the feedback anyway,
Stefan



Re: [gentoo-user] otrs

2011-09-22 Thread Stefan G. Weichinger
Am 22.09.2011 14:22, schrieb Joost Roeleveld:

> It could be that you're one of the few people actually using OTRS.

phew. I thought it is quite popular. Maybe not for gentoo-users.

> There are 2 older versions in layman overlays:
> 
> # eix otrs
>   
>   
> * www-apps/otrs   
>   
> 
>  Available versions:  
>   
> 
> (2.4.7) ~2.4.7[2] 
>   
> 
> (0) ~2.4.11[1] ~3.0.10
>   
> 
> {apache2 cjk fastcgi (+)gd ldap mod_perl (+)mysql pdf postgres +rpc 
> soap vhosts}  
>   
>  Homepage:http://otrs.org/
>   
> 
>  Description: OTRS is an Open source Ticket Request System
>   
> 
>   
>   
> 
> [1] "rion" layman/rion
>   
> 
> [2] "zugaina" layman/zugaina
> 
> Either of these might work on your system. At least one of these 2 appear to 
> provide the "vhosts" USE-flag as well.

Hm, might give them a try as well.
Saw those already. 2.4.7 didn't work for me (tried a turnkey-appliance
already, problems with german umlauts ... sigh).

> I still have 2.3.3 installed in a virtual host intended for testing when I 
> was 
> looking for possible webapps for a friend of mine. But we both then decided 
> it 
> was not suitable for his needs.
> 
> It does have part of it outside of the Documentroot. As I wasn't too 
> interested at the time, I didn't look why it wants to have files in a 
> different location.

Thanks for all your information!

I am going the manual path right now, just to get things working asap.
As it is a vm I can easily testdrive one of the mentioned ebuilds in a
clone.

Stefan




Re: [gentoo-user] otrs

2011-09-22 Thread Joost Roeleveld
On Thursday, September 22, 2011 01:49:14 PM Stefan G. Weichinger wrote:
> 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

It could be that you're one of the few people actually using OTRS.
There are 2 older versions in layman overlays:

# eix otrs  

  
* www-apps/otrs 


 Available versions:


(2.4.7) ~2.4.7[2]   


(0) ~2.4.11[1] ~3.0.10  


{apache2 cjk fastcgi (+)gd ldap mod_perl (+)mysql pdf postgres +rpc 
soap vhosts}

 Homepage:http://otrs.org/  


 Description: OTRS is an Open source Ticket Request System  





[1] "rion" layman/rion  


[2] "zugaina" layman/zugaina

Either of these might work on your system. At least one of these 2 appear to 
provide the "vhosts" USE-flag as well.

I still have 2.3.3 installed in a virtual host intended for testing when I was 
looking for possible webapps for a friend of mine. But we both then decided it 
was not suitable for his needs.

It does have part of it outside of the Documentroot. As I wasn't too 
interested at the time, I didn't look why it wants to have files in a 
different location.

--
Joost



Re: [gentoo-user] otrs

2011-09-22 Thread Stefan G. Weichinger
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



Re: [gentoo-user] otrs

2011-09-22 Thread Joost Roeleveld
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



Re: [gentoo-user] otrs

2011-09-22 Thread Stefan G. Weichinger
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



Re: [gentoo-user] otrs

2011-09-22 Thread 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?

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



Re: [gentoo-user] otrs

2011-09-22 Thread Stefan G. Weichinger
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



Re: [gentoo-user] otrs

2011-09-22 Thread Joost Roeleveld
On Thursday, September 22, 2011 12:19:15 PM Marius Vaitiekunas wrote:
> On Thu, Sep 22, 2011 at 12:11 PM, 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
> 
> 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



Re: [gentoo-user] otrs

2011-09-22 Thread Joost Roeleveld
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



Re: [gentoo-user] otrs

2011-09-22 Thread Stefan G. Weichinger
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





Re: [gentoo-user] otrs

2011-09-22 Thread Marius Vaitiekunas
On Thu, Sep 22, 2011 at 12:11 PM, 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
>
>

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