Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 397403

Summary: www-apps/otrs - add app-admin/webapp-config compatibility / webapp.eclass support
Product: Gentoo Linux Reporter: meteora
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: patrick, web-apps, zarkdav+gentoo
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description meteora 2012-01-02 15:08:41 UTC
Is there any workaround, for enabling webapp-config to work on otrs package? I would love to help testing if there is a workaround available or should I simply proceed on configuring apache manually? 

Reproducible: Always

Steps to Reproduce:
1. emerge otrs-3.0.11 and webapp-config
2. webapp-config -I -h otrs.companies_domain -d / otrs 3.0.11
3.
Actual Results:  
Fatal error: Unable to determine location of master copy (when trying to use webapp-config-1.50.18.

Tryed webapp-config-1.50.16-r4:
#otrs-3.0.11 does not install any files from /usr/share/webapps/otrs/3.0.11/htdocs/; skipping
otrs-3.0.11 does not install any files from /usr/share/webapps/otrs/3.0.11/hostroot/; skipping

Traceback (most recent call last):
File "/usr/sbin/webapp-config-2.7", line 44, in <module>
   (main)
File "/usr/sbin/webapp-config-2.7", line 41, in main
   config.run()
File "/usr/lib/python2.7/site-packages/WebappConfig/config.py", line 1081, in 
run
    self.config.get('USER', 'pvr')).install()
  File "/usrlib/python2.7/site-packages/WebappConfig/server.py, line 265, in install
   self.__perm['file']['config-owned'][1]
  File "/usr/lib/python2.7/site-packages/WebappConfig/db.py, line 349, in add 
os.mkdir(os.path.dirname(dbpath), self.__dir_perm(0755))
OSError: [Errno 2] No such file or directory: '/var/db/webapps/otrs/3.0.11'

With stable webapp-config-1.50.16-r1 I get a similar error as with webapp-config-1.50.16-r4. 

Expected Results:  
webapp-config prepares otrs webpage/webapp within apache?

emerge --info: 
http://paste.pocoo.org/show/528856/
Comment 1 meteora 2012-01-17 12:27:42 UTC
anyone?
Comment 2 Paramonov Valeriy 2013-07-25 08:20:29 UTC
I have same problem. Anyone solved this?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-09 12:45:57 UTC
Removed in 934a47e2dfc9eb2ff6a38198622584ef458f028d, following last-rites in bug 664326, bug 692398.