Fix this issue with:
ln -s /usr/share/php-mapi/includes /usr/share/grommunio-web/server/includes/mapi
Christmas release && packaging adoptions
- Edited
Leider funktionieren bei mir diese Abhilfen nicht.
Auch ein Update von heute behebt den Fehler nicht.
der Symbolische Link ist gesetzt und geprüft. im heutigen Update wurde er erneut gesetzt bei der Verteilung. Hilft aber auch nichts.
Sync also die ActiveSync geschichten gehen auch nicht mehr..
schaut aus als fehlen jede Menge Mapi Files oder Verlinkungen.
That work's for me.
Thank you WalterH !
- Edited
reinstall the
zypper in -f mapi-header-php
not helped..
i have checked more time the files in the mapi folder. the include folder was empty after update und reinstall the packages.
after look into other installation i see the folder
/usr/share/php-mapi/includes
is empty. i have instlal the mapi packages again and the folder was filled with files.
so the problem can solved.
I assume this is a packaging error.
Current release will fix this issue. Please update your system.
If you created the symlink, remove the symlink, to cleanup the system.
rm /usr/share/grommunio-web/server/includes/mapi
I'm still on Debian 11. I reinstalled all packages, there is no /usr/share/php-mapi/includes folder. all files are directly in /usr/share/php-mapi. I've added a link in the folder to link "includes" to the main folder. I still get the 500 error and IOS is not syncing. This is in the logs:
2022/12/17 22:20:23 [error] 75887#75887: *1187 FastCGI sent in stderr: "PHP message: PHP Warning: include_once(config.php): failed to open stream: No such file or directory in /usr/share/grommunio-sync/index.php on line 21PHP message: PHP Warning: include_once(): Failed opening 'config.php' for inclusion (include_path='.:/usr/share/php') in /usr/share/grommunio-sync/index.php on line 21PHP message: PHP Warning: Use of undefined constant SCRIPT_TIMEOUT - assumed 'SCRIPT_TIMEOUT' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/index.php on line 24PHP message: PHP Warning: Use of undefined constant SCRIPT_TIMEOUT - assumed 'SCRIPT_TIMEOUT' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/index.php on line 25PHP message: PHP Warning: set_time_limit() expects parameter 1 to be int, string given in /usr/share/grommunio-sync/index.php on line 25PHP message: PHP Warning: Use of undefined constant LOGBACKEND_CLASS - assumed 'LOGBACKEND_CLASS' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/lib/core/slog.php on line 118PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: PHP Warning: Use of undefined constant LOGBACKEND_CLASS - assumed 'LOGBACKEND_CLASS' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/lib/core/slog.php on line 118PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: PHP Warning: Use of undefined constant LOGBACKEND_CLASS - assumed 'LOGBACKEND_CLASS' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/lib/core/slog.php on line 118PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check
2022/12/17 22:20:23 [error] 75887#75887: *1187 FastCGI sent in stderr: ": The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: PHP Warning: Use of undefined constant LOGBACKEND_CLASS - assumed 'LOGBACKEND_CLASS' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/lib/core/slog.php on line 118PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: PHP Warning: Use of undefined constant LOGBACKEND_CLASS - assumed 'LOGBACKEND_CLASS' (this will throw an Error in a future version of PHP) in /usr/share/grommunio-sync/lib/core/slog.php on line 118PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration.PHP message: The configured logging class `LOGBACKEND_CLASS` does not exist. Check your configuration" while reading response header from upstream, client: 91.65.66.116, server: _, request: "GET /Microsoft-Server-ActiveSync HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/grommunio-sync:", host: "example.com"
- Edited
Also bei meiner Debian-Kiste ist schon läner nichts passiert aber hier geht es. Soweit ich es beobachten kann. Naja Active-Sync noch nicht probiert.
root@grom-deb:/usr/share/grommunio-sync# type apt_show_all
apt_show_all is a function
apt_show_all ()
{
apt show "${1:-*}" | awk '/^Package:|^APT-Source/ {$1=""; print $NFR}' | sed 'N;s/\n/\t/' | expand -t $(( $COLUMNS / 3 ))
}
root@grom-deb:/usr/share/grommunio-sync# apt list $(apt_show_all "*" |awk '/download.grommunio.com/ {printf "%s ", $1}')
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Listing... Done
grommunio-admin-api/unknown,now 1.9.18.e905e00-1+34.1 all [installed]
grommunio-admin-common/unknown,now 6.cb985db-1+2.1 amd64 [installed]
grommunio-admin-web/unknown,now 2.6.0.30.3a13674-1+29.1 all [installed]
grommunio-common/unknown,now 10.e94d08a-1+7.1 amd64 [installed]
grommunio-dav/unknown,now 1.1.27.0d325f0-1 all [installed]
grommunio-dbconf-dbgsym/unknown 1.1.1.da20a46-1+4.1 amd64
grommunio-dbconf/unknown,now 1.1.1.da20a46-1+4.1 amd64 [installed]
grommunio-error-pages/unknown,now 1.0.6.9c50afb-1+2.1 all [installed,automatic]
grommunio-index-dbgsym/unknown 0.1.15.d3ec048-1+17.2 amd64
grommunio-index/unknown,now 0.1.15.d3ec048-1+17.2 amd64 [installed]
grommunio-sync/unknown,now 1.1.49-0 all [installed]
grommunio-web/unknown,now 3.1.131.be46c08-1+90.1 all [installed]
gromox-dbgsym/unknown,now 1.36.40.f977a87-1+15.1 amd64 [installed]
gromox/unknown,now 1.36.40.f977a87-1+15.1 amd64 [installed]
libexmdbpp-dev/unknown 1.10.0.3a4d93b-1+10.1 amd64
libexmdbpp0-dbgsym/unknown 1.10.0.3a4d93b-1+10.1 amd64
libexmdbpp0/unknown,now 1.10.0.3a4d93b-1+10.1 amd64 [installed,automatic]
libfmt-dev/unknown 8.1.1-1+5.3 amd64
libfmt-doc/unknown 8.1.1-1+5.3 all
libfmt8-dbgsym/unknown 8.1.1-1+5.3 amd64
libfmt8/unknown,now 8.1.1-1+5.3 amd64 [installed,automatic]
libhx-dev-dbgsym/unknown 4.4-1+1.1 amd64
libhx-dev/unknown 4.4-1+1.1 amd64
libhx32-dbgsym/unknown 4.4-1+1.1 amd64
libvmime-dev/unknown 0.9.2.175-1+9.1 amd64
libvmime-suse5-dbgsym/unknown 0.9.2.175-1+9.1 amd64
libvmime-suse5/unknown,now 0.9.2.175-1+9.1 amd64 [installed,automatic]
mapi-header-php/unknown,now 1.0.1.705eff3-1+7.1 amd64 [installed,automatic]
pypy-pyasn1/unknown 0.4.8-1+1.3 all
python-pyasn1-doc/unknown 0.4.8-1+1.3 all
python3-mattermostdriver/unknown,now 7.3.2-1+1.5 all [installed,automatic]
python3-more-itertools/unknown,now 8.12.0-1+1.5 all [installed,automatic]
python3-openapi-core/unknown,now 0.13.7-1+7.12 all [installed,automatic]
python3-openapi-schema-validator/unknown,now 0.1.5-1+10.4 all [installed,automatic]
python3-openapi-spec-validator/unknown,now 0.2.9-1+8.4 all [installed,automatic]
python3-parse/unknown,now 1.19.0-1+22.7 all [installed,automatic]
python3-pyasn1/unknown,now 0.4.8-1+1.3 all [installed,automatic]
python3-pyexmdb/unknown,now 1.10.0.3a4d93b-1+10.1 amd64 [installed,automatic]
python3-rfc3339-validator/unknown,now 0.1.5-1+8.4 all [installed,automatic]
python3-strict-rfc3339/unknown,now 0.1.5-1+12.4 all [installed,automatic]
system-user-groadm/unknown,now 0-1 all [installed]
system-user-groarchive/unknown 0-1 all
system-user-groauthui/unknown 0-1 all
system-user-grochat/unknown 0-1 all
system-user-grodav/unknown,now 0-1 all [installed]
system-user-groffice/unknown 0-1 all
system-user-grofiles/unknown 0-1 all
system-user-grommunio/unknown,now 0-1 all [installed]
system-user-gromox/unknown,now 0-1 all [installed]
system-user-grosync/unknown,now 0-1 all [installed]
system-user-groweb/unknown,now 0-1 all [installed]
And now i saw there was an update
root@grom-deb:~# apt list $(apt_show_all "*" |awk '/download.grommunio.com/ {printf "%s ", $1}')
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Listing... Done
grommunio-admin-api/unknown,now 1.9.18.e905e00-1+34.2 all [installed]
grommunio-admin-common/unknown,now 6.cb985db-1+2.2 amd64 [installed]
grommunio-admin-web/unknown,now 2.6.0.30.3a13674-1+29.2 all [installed]
grommunio-common/unknown,now 10.e94d08a-1+7.2 amd64 [installed]
grommunio-dav/unknown,now 1.1.27.0d325f0-1 all [installed]
grommunio-dbconf-dbgsym/unknown 1.1.1.da20a46-1+4.2 amd64
grommunio-dbconf/unknown,now 1.1.1.da20a46-1+4.2 amd64 [installed]
grommunio-error-pages/unknown,now 1.0.6.9c50afb-1+2.2 all [installed,automatic]
grommunio-index-dbgsym/unknown 0.1.15.d3ec048-1+17.3 amd64
grommunio-index/unknown,now 0.1.15.d3ec048-1+17.3 amd64 [installed]
grommunio-sync/unknown,now 1.1.49-0 all [installed]
grommunio-web/unknown,now 3.1.131.be46c08-1+90.2 all [installed]
gromox-dbgsym/unknown,now 1.36.40.f977a87-1+16.2 amd64 [installed]
gromox/unknown,now 1.36.40.f977a87-1+16.2 amd64 [installed]
libexmdbpp-dev/unknown 1.10.0.3a4d93b-1+10.2 amd64
libexmdbpp0-dbgsym/unknown 1.10.0.3a4d93b-1+10.2 amd64
libexmdbpp0/unknown,now 1.10.0.3a4d93b-1+10.2 amd64 [installed,automatic]
libfmt-dev/unknown 8.1.1-1+5.4 amd64
libfmt-doc/unknown 8.1.1-1+5.4 all
libfmt8-dbgsym/unknown 8.1.1-1+5.4 amd64
libfmt8/unknown,now 8.1.1-1+5.4 amd64 [installed,automatic]
libhx-dev-dbgsym/unknown 4.4-1+1.2 amd64
libhx-dev/unknown 4.4-1+1.2 amd64
libhx32-dbgsym/unknown 4.4-1+1.2 amd64
libvmime-dev/unknown 0.9.2.175-1+9.2 amd64
libvmime-suse5-dbgsym/unknown 0.9.2.175-1+9.2 amd64
libvmime-suse5/unknown,now 0.9.2.175-1+9.2 amd64 [installed,automatic]
mapi-header-php/unknown,now 1.0.1.705eff3-1+7.2 amd64 [installed,automatic]
pypy-pyasn1/unknown 0.4.8-1+1.4 all
python-pyasn1-doc/unknown 0.4.8-1+1.4 all
python3-mattermostdriver/unknown,now 7.3.2-1+1.6 all [installed,automatic]
python3-more-itertools/unknown,now 8.12.0-1+1.6 all [installed,automatic]
python3-openapi-core/unknown,now 0.13.7-1+7.13 all [installed,automatic]
python3-openapi-schema-validator/unknown,now 0.1.5-1+10.5 all [installed,automatic]
python3-openapi-spec-validator/unknown,now 0.2.9-1+8.5 all [installed,automatic]
python3-parse/unknown,now 1.19.0-1+22.8 all [installed,automatic]
python3-pyasn1/unknown,now 0.4.8-1+1.4 all [installed,automatic]
python3-pyexmdb/unknown,now 1.10.0.3a4d93b-1+10.2 amd64 [installed,automatic]
python3-rfc3339-validator/unknown,now 0.1.5-1+8.5 all [installed,automatic]
python3-strict-rfc3339/unknown,now 0.1.5-1+12.5 all [installed,automatic]
system-user-groadm/unknown,now 0-1 all [installed]
system-user-groarchive/unknown 0-1 all
system-user-groauthui/unknown 0-1 all
system-user-grochat/unknown 0-1 all
system-user-grodav/unknown,now 0-1 all [installed]
system-user-groffice/unknown 0-1 all
system-user-grofiles/unknown 0-1 all
system-user-grommunio/unknown,now 0-1 all [installed]
system-user-gromox/unknown,now 0-1 all [installed]
system-user-grosync/unknown,now 0-1 all [installed]
system-user-groweb/unknown,now 0-1 all [installed]
so far so good.. only imap and webmail tested
- Edited
Webdav has include-problems:
/usr/share/grommunio-dav/vendor/composer/autoload_files.php: '777dc149d682152f9ab0caaeffcdbb27' => $baseDir . '/config.php',
/usr/share/grommunio-dav/vendor/composer/autoload_static.php: '777dc149d682152f9ab0caaeffcdbb27' => __DIR__ . '/../..' . '/config.php',
with those commented / each / all / the search goes deeper ...
2022/12/18 11:53:23 [error] 3989#3989: *584 FastCGI sent in stderr: "PHP message: PHP Notice: Constant CAL_GREGORIAN already defined in /usr/share/php-mapi/mapidefs.php on line 683PHP message: PHP Warning: log4php: Configuration failed. File not found at [/usr/share/grommunio-dav/log4php.xml]. Using default configuration. in /usr/share/grommunio-dav/vendor/apache/log4php/src/main/php/configurators/LoggerConfiguratorDefault.php on line 475PHP message: PHP Fatal error: Uncaught PDOException: invalid data source name in /usr/share/grommunio-dav/lib/GrommunioSyncState.php:24
Stack trace:
#0 /usr/share/grommunio-dav/lib/GrommunioSyncState.php(24): PDO->__construct()
#1 /usr/share/grommunio-dav/lib/GrommunioDavBackend.php(25): grommunio\DAV\GrommunioSyncState->__construct()
#2 /usr/share/grommunio-dav/server.php(30): grommunio\DAV\GrommunioDavBackend->__construct()
#3 {main}
thrown in /usr/share/grommunio-dav/lib/GrommunioSyncState.php on line 24" while reading response header from upstream, client: 10.10.2.8, server: _, request: "GET /dav/ HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/grommunio-dav:", host: "10.10.10.31"
lesen..
FIX:
ln -s /etc/grommunio-dav/grommunio-dav.conf.php /usr/share/grom,unio-dav/config.php
ln -s /etc/grommunio-dav/log4php.xml /usr/share/grommunio-dav/
Still a missing sqlite-db
Copied /var/lib/grommunio-dav/syncstate.db
one from my Live-Host.
Grommunio-Dav works now!.. At least i could login ..
Für grommunio-sync hilft bei mir
ln -s /etc/grommunio-sync/grommunio-sync.conf.php /usr/share/grommunio-sync/config.php
BTW: Did some extensive copy paste / duplicating on the Debian-VM via IMAP..
Had almost 200.000 MSG before i deleted everything again. Couldn't make out any problems
Last of my grom_cleanup
tasks.
Processing /var/lib/gromox/user/1/1/cid...
Purged 180086 files (1040MB) from /var/lib/gromox/user/1/1/cid
Processing /var/lib/gromox/user/1/1/eml...
Purged 59925 files (1375MB) from /var/lib/gromox/user/1/1/eml
Processing /var/lib/gromox/user/1/1/ext...
Purged 59925 files (50MB) from /var/lib/gromox/user/1/1/ext
vacuum: /var/lib/gromox/user/1/1
The midb.sqlite is now the biggest leftover in there with 88MB... ️
FelixVictor This worked for me as well :-) dav was all fine on my machine ^^
ich bekomme im Zuge des Updates auch diese Fehlermeldungen
Hi community,
After a fresh install of grommunio appliance I'm facing some MAPI issues. Admin-Web works fine, Login to Web-Frontend as well but after that I got the following MAPIException (after enabling debugging options):
Uncaught MAPIException: The operation failed for an unspecified reason in /usr/share/grommunio-web/server/includes/core/class.mapisession.php:580
Stack trace:
#0 /usr/share/grommunio-web/server/includes/core/class.mapisession.php(580): mapi_table_queryallrows(Resource id #9, Array)
#1 /usr/share/grommunio-web/server/includes/core/class.mapisession.php(617): MAPISession->loadMessageStoresFromSession()
#2 /usr/share/grommunio-web/server/includes/core/class.mapisession.php(121): MAPISession->getDefaultMessageStore()
#3 /usr/share/grommunio-web/server/includes/core/class.mapisession.php(482): MAPISession->getUser()
#4 /usr/share/grommunio-web/server/includes/core/class.mapisession.php(491): MAPISession->getDisabledFeatures()
#5 /usr/share/grommunio-web/index.php(178): MAPISession->isWebappDisableAsFeature()
#6 {main}
thrown in <b>/usr/share/grommunio-web/server/includes/core/class.mapisession.php</b> on line 580
(BTW, I didn't find out how one could disable "Webapp" on user level. Is this a new feature, maybe not properly implemented?)
any ideas?
An other observation which might or might not have something to do with the problem above:
gromox-zcore says: Could not resolve [::1]:6666: Name or service not known
gromox-timer is listening on port 6666 (ipv6), also systemctl status gromox-timer doesn't show any errors. telnet on localhost 6666 and ::1 6666 works fine.
Which version you are using?
# rpm -qi gromox | head -n 3
Name : gromox
Version : 2.0.0.9a01c75
Release : lp153.2.1
Facing a problem on Rocky Linux 8 (RHEL 8):
`# dnf update
Last metadata expiration check: 0:25:03 ago on Wed 04 Jan 2023 02:26:11 PM CET.
Error:
Problem: cannot install the best update candidate for package gromox-1.37.19.ef020a6-19.1.x86_64
- nothing provides php-cli = 7.4.19 needed by gromox-2.0.0.9a01c75-3.1.x86_64
- nothing provides php-fpm = 7.4.19 needed by gromox-2.0.0.9a01c75-3.1.x86_64
- nothing provides php-mysqlnd = 7.4.19 needed by gromox-2.0.0.9a01c75-3.1.x86_64
- nothing provides php-soap = 7.4.19 needed by gromox-2.0.0.9a01c75-3.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
`
Currently, PHP 7.4.33 is installed from Remi Repos.
Please update dependencies to >=7.4.19 or the like. Or is there any other fix I can implement?
Thanks
Daniel