kopano-search-8.6.81.435-80.1.x86_64 Requires: popper-utils

Hello,

I am doing a upgrade to above kopano version and its telling me it can not find popper-utils.

I am doing this on a centos 7 machine. can you add this package?

hm… this was added in https://jira.kopano.io/browse/KC-1245 and at least in our test environment this package was part of the distribution repos.

If I interpret https://centos.pkgs.org/7/centos-x86_64/poppler-utils-0.26.5-17.el7_4.x86_64.rpm.html correctly, then it should be available for centos as well.

@fbartels

hi i enabled epel repository and it can not find the package.

0_1538663744465_46efca46-b0e0-4c9d-84eb-88cd8cfa6354-image.png

Ah, typo in spec file poppler-utils != popper-utils

@fbartels

hi i am just qurius. if i rebuild the package and change the popper-utils to poppler-utils and update again i get the same error?

only if

$ rpm -q poppler-utils
package poppler-utils is not installed

@fbartels can you rebuild the package spec file so we can update?

@ckruijntjens I did change it when discovering the typo. Apparently the automated tests failed this morning, else the change would have been put online already.

@fbartels can i rebuild the package and change the spec file so i can update ?

@fbartels i allredeay force the installation.

@fbartels latest search package wont start on centos 7

kopano-search.service - Kopano Groupware Core Search Daemon
Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-10-08 21:24:54 CEST; 1s ago
Docs: man:kopano-search(8)
man:kopano-search.cfg(5)
Process: 1585 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/FAILURE)
Main PID: 1585 (code=exited, status=1/FAILURE)

Oct 08 21:24:54 kopano kopano-search[1585]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 132, in parse_config
Oct 08 21:24:54 kopano kopano-search[1585]: self.data[key] = self.config[key].parse(key, value)
Oct 08 21:24:54 kopano kopano-search[1585]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 26, in parse
Oct 08 21:24:54 kopano kopano-search[1585]: return getattr(self, 'parse
’ + self.type_)(key, value)
Oct 08 21:24:54 kopano kopano-search[1585]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 49, in parse_integer
Oct 08 21:24:54 kopano kopano-search[1585]: if self.kwargs.get(‘options’) is not None and int(value) not in self.kwargs.get(‘options’):
Oct 08 21:24:54 kopano kopano-search[1585]: ValueError: invalid literal for int() with base 10: ‘yes’
Oct 08 21:24:54 kopano systemd[1]: kopano-search.service: main process exited, code=exited, status=1/FAILURE
Oct 08 21:24:54 kopano systemd[1]: Unit kopano-search.service entered failed state.
Oct 08 21:24:54 kopano systemd[1]: kopano-search.service failed.

warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”
cannot parse /usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt
warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”
cannot parse /usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt
warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”
cannot parse /usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt
warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”
cannot parse /usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt
warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”
cannot parse /usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt
warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”

@ckruijntjens

kopano-search.service - Kopano Groupware Core Search Daemon
Active: failed (Result: exit-code) since Mon 2018-10-08 21:24:54 CEST; 1s ago

Better start a new subject because missing popper-utils is solved

@ckruijntjens said in kopano-search-8.6.81.435-80.1.x86_64 Requires: popper-utils:

warning: failed to load external entity “/usr/lib/python2.7/site-packages/kopano_search/xmltotext.xslt”

sounds like its the same as https://forum.kopano.io/topic/1471/missing-xmltotext-xslt-in-kopano-search-at-ubuntu-18-04-lts/5

@fbartels

hi indeed. because of this bug kopano-search wont start. is there a workaround so kopano-search starts?

@fbartels

Hi i alredeay Copied the file to the correct location. However when i start kopano-search on centos it errors out.

      Oct 16 16:13:49 kopano kopano-search[11758]: File "/usr/lib/python2.7/site-packages/kopano/config.py", line 132, in _parse_config                                   Oct 16 16:13:49 kopano kopano-search[11758]: self.data[key] = self.config[key].parse(key, value)                           Oct 16 16:13:49 kopano kopano-search[11758]: File "/usr/lib/python2.7/site-packages/kopano/config.py", line 26, in parse   Oct 16 16:13:49 kopano kopano-search[11758]: return getattr(self, 'parse_' + self.type_)(key, value)                       Oct 16 16:13:49 kopano kopano-search[11758]: File "/usr/lib/python2.7/site-packages/kopano/config.py", line 49, in parse_integer                                    Oct 16 16:13:49 kopano kopano-search[11758]: if self.kwargs.get('options') is not None and int(value) not in self.kwargs.get('options'):                            Oct 16 16:13:49 kopano kopano-search[11758]: ValueError: invalid literal for int() with base 10: 'yes'                     Oct 16 16:13:49 kopano systemd[1]: kopano-search.service: main process exited, code=exited, status=1/FAILURE

@fbartels

Hi are there more people where kopano-search wont start? I dont know how to solve this one?

at least for me everything is working:

root@felix-centos-7-search ~
$ rpm -qa | grep kopano-search
kopano-search-8.6.82.110-117.1.x86_64

root@felix-centos-7-search ~
$ systemctl status kopano-search
● kopano-search.service - Kopano Groupware Core Search Daemon
   Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2018-10-18 18:22:53 CEST; 48s ago
     Docs: man:kopano-search(8)
           man:kopano-search.cfg(5)
  Process: 3920 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 3972 (kopano-search)
   CGroup: /system.slice/kopano-search.service
           ├─3972 /bin/python2 /usr/sbin/kopano-search -F
           ├─3981 /bin/python2 /usr/sbin/kopano-search -F
           └─3982 /bin/python2 /usr/sbin/kopano-search -F

Oct 18 18:22:53 felix-centos-7-search systemd[1]: Started Kopano Groupware Core Search Daemon.
Oct 18 18:22:53 felix-centos-7-search systemd[1]: Starting Kopano Groupware Core Search Daemon...

@fbartels

i dont understand i reinstalled the kopano-search but i can not start it. everything else works. Where do i need to look or what am i missing?

i have the same version as you in the above example.

● kopano-search.service - Kopano Groupware Core Search Daemon
Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-10-18 20:00:57 CEST; 28s ago
Docs: man:kopano-search(8)
man:kopano-search.cfg(5)
Process: 2088 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/FAILURE)
Main PID: 2088 (code=exited, status=1/FAILURE)

Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…g
Oct 18 20:00:57 kopano kopano-search[2088]: self.data[key] = self.config[key].pa…)
Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…e
Oct 18 20:00:57 kopano kopano-search[2088]: return getattr(self, ‘parse_’ + self…)
Oct 18 20:00:57 kopano kopano-search[2088]: File "/usr/lib/python2.7/site-packag…r
Oct 18 20:00:57 kopano kopano-search[2088]: if self.kwargs.get(‘options’) is not…:
Oct 18 20:00:57 kopano kopano-search[2088]: ValueError: invalid literal for int(…’
Oct 18 20:00:57 kopano systemd[1]: kopano-search.service: main process exited, …RE
Oct 18 20:00:57 kopano systemd[1]: Unit kopano-search.service entered failed state.
Oct 18 20:00:57 kopano systemd[1]: kopano-search.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@kopano home]# systemctl status kopano-search -l
● kopano-search.service - Kopano Groupware Core Search Daemon
Loaded: loaded (/usr/lib/systemd/system/kopano-search.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2018-10-18 20:00:57 CEST; 1min 5s ago
Docs: man:kopano-search(8)
man:kopano-search.cfg(5)
Process: 2088 ExecStart=/usr/sbin/kopano-search -F (code=exited, status=1/FAILURE)
Main PID: 2088 (code=exited, status=1/FAILURE)

Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 132, in parse_config
Oct 18 20:00:57 kopano kopano-search[2088]: self.data[key] = self.config[key].parse(key, value)
Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 26, in parse
Oct 18 20:00:57 kopano kopano-search[2088]: return getattr(self, 'parse
’ + self.type_)(key, value)
Oct 18 20:00:57 kopano kopano-search[2088]: File “/usr/lib/python2.7/site-packages/kopano/config.py”, line 49, in parse_integer
Oct 18 20:00:57 kopano kopano-search[2088]: if self.kwargs.get(‘options’) is not None and int(value) not in self.kwargs.get(‘options’):
Oct 18 20:00:57 kopano kopano-search[2088]: ValueError: invalid literal for int() with base 10: ‘yes’
Oct 18 20:00:57 kopano systemd[1]: kopano-search.service: main process exited, code=exited, status=1/FAILURE
Oct 18 20:00:57 kopano systemd[1]: Unit kopano-search.service entered failed state.
Oct 18 20:00:57 kopano systemd[1]: kopano-search.service failed.
[root@kopano home]# rpm -qa | grep kopano-search
kopano-search-8.6.82.110-117.1.x86_64

i will create a new topic for this problem