Webapp 4.6.3 incompatible with core 8.7.16?
-
Dear all,
I am using Kopano Core Version 8.7.16 and wanted to install WebApp Version 4.6.3. After doing so WebApp stops working and the apache logs have the following entrie:
Core '8.7.16' version does not support mapi_createconversationindex function, referer:
Is there a dependency I have missed?
Thanks for helping out.
cu emtie
-
This error is probably not related, it just warns you that the conversation view in WebApp can not be used with core 8.7.16
Are there any other errors in the logs and what is the exact issue as
WebApp stops working
is a bit vague to help you further.Do you see the WebApp login screen or do you get a html error there
-
Yes you are right it is vague. After I enter my credentials and hit the sign in button I can see this spinning circule but nothing happens. From the logs I cannot see anything. Eventhough I changed config.php from E_ERROR to E_ALL. I should add that i am on Ubuntu 18.04 with apache2 and mod_php and Kopano and its components are compiled from source…
What other infos can I provide to help solve this problem? The last working WebApp was Version 4.1. Since then I have this phenomenon.
Thank you.
cu emtie
-
It looks like your webapp settings contain a broken setting.
Please download https://stash.kopano.io/projects/KSC/repos/webapp-tools/raw/webapp_admin/webapp_admin.py
First make a backup
python3 webapp_admin.py -u username --backup
Then reset the settings
python3 webapp_admin.py -u username --reset
If this is not working restoring can be done with
python3 webapp_admin.py -u username --restore
-
HI,
thank you. Sounds great.
I gave it a try but when I start the script it says:
python-kopano should be installed on your system
Do I have to download it seperatly or is there some reference to a folder missing. Sorry I am not that experienced with python…
thanks emtie
-
You need to install python3-kopano and this is included the core repo or in the core tar file if you installed the community version
-
Hi,
wow thanks for your fast reply. I am perhaps a little bit blind but i cannot find a folder file or anything else in this repo https://stash.kopano.io/projects/KC/repos/kopanocore/browse . Am I wrong there.
Sorry for that stupid question…
-
I was talking about https://download.kopano.io/supported/core%3A/final/ . if you use this you can simply run
apt install python3-kopano
for Debian/Ubuntu and yum install for RedHat/CentOSAnd for the community build you need to download the tar file and install python3-kopano manually (e.g.
dpkg -i python3-kopano*.deb
) -
Hi,
is there a way to install it from source? The deb packages will probably overwrite oder destroy my installation. At least I think so because of the package dependencies. I have installed my kopano server from source.
cu emtie.
And thanks again for your help
-
But if you already installed this from source you should also have python-kopano right?
What distribution and version are you using, as for most modern distributions python-kopano is installed by default as as dependency as kopano-search is also using this python module.
-
HI robing,
I am on Ubuntu 18.04. Kopano-Search is running fine? Do I miss some path settings or anything like that?
cu emtie
P.S. and thanks again for your support
-
Please run
dpkg -l | grep kopano
and paste the outcome here -
@emtie said in Webapp 4.6.3 incompatible with core 8.7.16?:
I am perhaps a little bit blind but i cannot find a folder file or anything else in this repo
python-kopano is located at https://stash.kopano.io/projects/KC/repos/kopanocore/browse/swig/python/kopano
-
Core ‘8.7.16’ version does not support mapi_createconversationindex function, referer:
I’m late to the party but want to clarify that function
m̀api_createconversationindex
is only used when it exists (afaik kc 9 and up) and does not break any compatibly between KC and WebApp.That function sets an index used by some clients (for example Outlook).
Currently WebApp uses normalized subject and not yet the conversation index/topic.Related: https://jira.kopano.io/browse/KW-3156 and later https://jira.kopano.io/browse/KW-3496
-
@robing said in Webapp 4.6.3 incompatible with core 8.7.16?:
Please run
dpkg -l | grep kopano
and paste the outcome hereHi robing,
because I compiled and installed from source dpkg -l | grep kopano returns nothing…
-
@fbartels said in Webapp 4.6.3 incompatible with core 8.7.16?:
@emtie said in Webapp 4.6.3 incompatible with core 8.7.16?:
I am perhaps a little bit blind but i cannot find a folder file or anything else in this repo
python-kopano is located at https://stash.kopano.io/projects/KC/repos/kopanocore/browse/swig/python/kopano
Hi Felix,
thanks for the hint. Now I found the installation destination. It was /usr/local/lib/python2.7/dist-packages and I believe search works because i had set PYTHONPATH=:/usr/local/lib/python2.7/dist-packages (am not too sure about that). So i tried the webapp command with python 2 and the backup and reset worked.
Thank you felix and robig!!!
crossing fingers that newer version of webapp now is working…
cu emtie
P.S. will report back
-
thank you, I see :-)
-
still nothing in the logs or better said, webapp was first complaining about
PHP Warning: file_get_contents(cachebuster): failed to open stream: No such file or directory in /var/www/kopano-webapp/server/includes/loader.php on line 199
and then i copied the cachebuster-file from the source-folder into webapp folder and then nothing in the logs again the wheel keeps on spinning…
too sad, but thank you all for your support
-
Hi all,
I found the error. The ant script did not copy the dompurify folder, which is located in the client-folder. After copying it manually webapp works. So thanks.
cu emtie
-
That’s true. You should use
make
notant
.