Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 )
-
@thctlo since you’re using a supported version I would recommend to get in direct contact with our support on this.
-
@fbartels
Are you sure? Because this is a “contribute” (supported) version.I have no problem with reporting it and helping out to get this fix.
I just dont have support blocks.
Thats why i report here. -
@thctlo one of the requirements of said version is:
are only allowed to be used for private installations or development purposes.
When you are talking about multiple companies, that does not sound like a private installation to me.
But since the same command works for me on a test installation I anyways suspect that this is a local configuration error in your system and not a general issue.
-
@fbartels said in Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 ):
that does not sound like a private installation to me.
Hai Felix,
Ow yes it is, and i have about multiple personal domains, i do a lot of testing and i report back a lot.
Im testing now the kopano with SQL, next ldap then samba4 but if thats a problem, license wise, tell me, i’ll remove it.It only makes i harder for me to debug, now im compairing between these 2. (communitie and contributed)
Its your choice, since you gave me the contributed license. -
Hi thctlo,
I had a similar error. My situation with active-directory are a complete sync of all users and groups. I see any of my user with “kopano-cli --list-users” but no one has a store. Login to webapp has the same MAPI_E_NOT_FOUND.
My way to resolve was:
- Backup current database
- Edit 127.0.0.1 to 0.0.0.0 in /etc/mysql/mariadb.conf.d/50-server.cnf
- Delete all entry in database (kopano) under /tables/users
- systemctl restart mysql
- systemctl restart kopano-server
- wait and jump
Now all stores are created.
-
Hi JM, thank you for the reply.
Its fixed, but its in my opinion a bug, i just can’t find the exact source of it, but i expect it to be the same as @samba lots of bug due to python2 => 3 changes.@fbartels
i missed this part from you.
But since the same command works for me on a test installation I anyways suspect that this is a local configuration error in your system and not a general issue.
yeah, sure all my clean install also work everytime, i suggest that you keep a server installed, add a few users and upgrade it every release.
After lets say 5 updates, i suggest, you remove kopano from you server.
install mlocate, run updatedb en run : locate kopano
And be amazed with the “left overs” that might be the cause these problems.This might sound a bit hars, in trying to not offend here, but when i do the same commands on a :
- zarafa-7.2 it works fine.
- kopano-8.1 ( i skipped 8.0) works fine.
- kopano-8.2 works fine.
- kopano-8.4 ( i skipped 8.3) works fine.
- kopano-8.5 works fine.
- kopano-8.6 works fine.
- kopano-8.7 it does not work.
I did say, im using this server since 7.2 without any problems, and older users did work and keept working after the upgrade. I’ve reviewed all config changes and match them again.
Im not a complete newbe, i might not know all but i know a lot.This is a bug in 8.7.0 and i say it related to python modules which are not in the dependicy list of the packages and/or you have these installed and/or a left over from a previous install.
lets start here.
The /usr/sbin/kopano-cli file
#!/usr/bin/python3 # SPDX-License-Identifier: AGPL-3.0-or-later import sys import kopano_cli from kopano_cli import __version__ if __name__ == '__main__': sys.exit(kopano_cli.main())
I would start with, fix the interpeter.
#!/usr/bin/env python3
and… here it stops for me. . i dont know python. :-( sorry… we cant know everything…The difference kopano-admin is a binary, kopano-cli not, so thats why i suspect missing packages.
Felix, if you dont mind, could you export you package list installed and pm it or post it somewhere.
I’ll compaire it with my server and try again, if i found the missing package, i’ll report it back.I suspect an other package, which you have installed, has the depend to the file that i’m missing.
Any other suggestions are apriciated to get this fixed, not for me, i have a good work around.
But to make kopano a better product.
That simple.I’m just trying to help out here.
-
@thctlo said in Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 ):
…python2 => 3 changes…I think so too.
An example: /usr/sbin/kopano-localize-folders
I start with the installed file from repo “kopano-localize-folders -u username --lang de_DE.utf8” and get an mapi-error.
After i replace the content in this file with one from here (switching from master to python3), everything went through.
-
@thctlo said in Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 ):
This might sound a bit hars, in trying to not offend here, but
Isn’t that the same trope as saying “i am not racist, but I am going to say something racist right now, but you’re not allowed be be angry about it since I am not a racist”?
Anyways…
I see that you are trying to help, but at least for me it does not help that much. Of course I have also older systems and also systems that already made the transition from python2 to python3. But in my cases I do not experience the same issue you are describing.
Also just to entertain the idea I removed all kopano packages from a testing environment (
apt remove kopano-*
followed by aapt autoremove
) ran your suggested mlocate command and all that was left for me were old configuration files (that you usually want to keep in case you reinstall), systemd units, data in/var/lib/kopano
. So nothing that will interfere with an upgrade program wise.@thctlo said in Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 ):
I would start with, fix the interpeter. #!/usr/bin/env python3
and… here it stops for me. . i dont know python. :-( sorry… we cant know everything…yeah. that changes exactly zero in how the program will behave in the end.
@thctlo said in Webapp - Unknown MAPI Error: MAPI_E_NOT_FOUND (kopano 8.7.0.0-0+1.1 / webapp 3.5.2 ):
The difference kopano-admin is a binary, kopano-cli not, so thats why i suspect missing packages.
If there is something missing in python, then there is usually an error message. But what in the end creates the store is not python, but again c code (triggered through the server).
@jm23 you did not mention which version you are running at the moment. There are indeed still some issues due to the python3 transition in the 8.7.0 packages. We are currently chasing behind a different issue that keeps us from releasing a 8.7.1 (which has a lot of, if not all, of these issues resolved). For the meantime there are updated packages in the core:pre-final repository for those willing to give feedback and hurting from these python changes.
-
@fbartels
Excuse me. I did not think necessary because I had replied in “MAPI_E_NOT_FOUND kopano 8.7.0.0-0”. -
@jm23 no problem.