Closed JPRuehmann closed 6 months ago
Ich sehe nichts außergewöhnliches im Log.
Von der Beschreibung her würde ich vermuten, dass entweder zu wenig Speicher für PHP erlaubt ist oder zumindest irgendwie in Log ein stacktrace zu finden ist... Du könntest das Log erst mal mitlaufen lassen, wenn der Fehler nochmal auftritt, kann man gezielt das Ende rauskopieren.
if I paste phpinfo();
into index.php I get a memmory Limit of 64MB.
In the .htaccess File php_value memory_limit 512MB
is set, config.inc.php tryed ini_set('memory_limit', '512MB');
.
No change.
How can I change the "Memmory_Limit" for Tine?
BtW, is it correct that the <?php
never gets closed?
Hab es mir noch mal angeschaut und länger damit herumprobiert. Der Fehler taucht nur einmal mehrere Sekunden nach dem Login auf. Wenn man ihn dann einfach wegklickt funktionier alles normal weiter. Ergibt immer nur das Log das gepostet ist.
How can I change the "Memmory_Limit" for Tine?
Sehr abhängig von deinem Webserver. Benutzt du wirklich das Apache PHP Modul? Oder PHP-fpm?
Probier mal php_admin_value memory_limit 512M
. Entsprechend bei fpm.
Wusstest du, dass phpinfo() in der Admin App integriert ist? Das macht das prüfen von Änderungen leichter.
Edit: 64 Mbyte ist definitiv zu wenig!
Habs probiert, ändert nichts. Nein, das wusste ich noch nicht. Danke.
Anbei die phpinfo.
<div id="ext-comp-1003" style="width: 3840px; height: 2013px;"><div id="ext-comp-1077" style="width: 3840px; height: 2013px;" class=" x-box-layout-ct"><div class="x-box-inner" id="ext-gen122" style="width: 3840px; height: 2013px;"><div id="ext-comp-1138" class=" x-panel tine-mainscreen-topbox x-panel-noborder x-box-item" style="width: 3840px; left: 0px; top: 0px;"><div class="x-panel-bwrap" id="ext-gen123"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen124" style="width: 3840px;"><div class="tine-mainscreen-topbox-left"></div><div class="tine-mainscreen-topbox-middle"></div><div class="tine-mainscreen-topbox-right"></div></div></div></div><div id="ext-comp-1139" class=" x-panel tine-mainscreen-mainmenu x-panel-noborder x-box-item" style="width: 3840px; left: 0px; top: 0px;"><div class="x-panel-bwrap" id="ext-gen126"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen127" style="height: 20px; width: 3840px;"><div id="ext-comp-1078" class="x-toolbar x-small-editor tbar-mainmenu x-toolbar-layout-ct" style="padding: 0px 2px; width: 3836px; height: 20px;">
| | | | |
-- | -- | -- | -- | -- | --
| | |
| |
|
</div></div></div></div></div></div></div><div id="ext-comp-1038" class=" x-panel tine-mainscreen-centerpanel-west x-panel-noborder x-border-panel" style="width: 200px; left: 0px; top: 44px;"><div class="x-panel-bwrap" id="ext-gen894"><div class="x-panel-tbar x-panel-tbar-noheader x-panel-tbar-noborder" id="ext-gen895" style="width: 200px;"></div><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen896" style="overflow: auto; width: 200px; height: 1919px;"><div id="ext-comp-1039" class=" x-panel tine-mainscreen-centerpanel-west-modules x-panel-noborder" style="width: 200px;"><div class="x-panel-bwrap" id="ext-gen904"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen905" style="height: auto; width: 200px;"><div id="ext-comp-1576" class=" x-panel x-panel-noborder"><div class="x-panel-bwrap" id="ext-gen1114"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen1115"></div></div></div></div></div></div><div id="ext-comp-1040" class=" x-panel tine-mainscreen-centerpanel-west-treecards x-panel-noborder" style="width: 100%;"><div class="x-panel-bwrap" id="ext-gen907"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen908"><div id="admin-tree" class=" x-panel x-panel-noborder x-tree" style="width: 200px;"><div class="x-panel-bwrap" id="ext-gen911"><div class="x-panel-body x-panel-body-noborder" id="ext-gen912" style="overflow: auto; height: auto; width: 200px;"><ul class="x-tree-root-ct x-tree-arrows" id="ext-gen913"><div class="x-tree-root-node"><li class="x-tree-node"></li></div></ul></div></div></div></div></div></div></div></div></div><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li><li class="x-tree-node"></li><div id="ext-comp-1003" style="width: 3840px; height: 2013px;"><div id="ext-comp-1077" style="width: 3840px; height: 2013px;" class=" x-box-layout-ct"><div class="x-box-inner" id="ext-gen122" style="width: 3840px; height: 2013px;"><div id="ext-comp-1141" class=" x-panel tine-mainscreen-centerpanel x-panel-noborder x-box-item" style="width: 3840px; left: 0px; top: 50px;"><div class="x-panel-bwrap" id="ext-gen131"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen132" style="width: 3840px; height: 1963px;"><div id="ext-comp-1035" class=" x-panel t-app-admin x-panel-noborder" style="width: 3840px;"><div class="x-panel-bwrap" id="ext-gen883"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder x-border-layout-ct" id="ext-gen885" style="width: 3840px; height: 1963px;"><div id="ext-comp-1038" class=" x-panel tine-mainscreen-centerpanel-west x-panel-noborder x-border-panel" style="width: 200px; left: 0px; top: 44px;"><div class="x-panel-bwrap" id="ext-gen894"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen896" style="overflow: auto; width: 200px; height: 1919px;"><div id="ext-comp-1040" class=" x-panel tine-mainscreen-centerpanel-west-treecards x-panel-noborder" style="width: 100%;"><div class="x-panel-bwrap" id="ext-gen907"><div class="x-panel-body x-panel-body-noheader x-panel-body-noborder" id="ext-gen908"><div id="admin-tree" class=" x-panel x-panel-noborder x-tree" style="width: 200px;"><div class="x-panel-bwrap" id="ext-gen911"><div class="x-panel-body x-panel-body-noborder" id="ext-gen912" style="overflow: auto; height: auto; width: 200px;"><ul class="x-tree-root-ct x-tree-arrows" id="ext-gen913"><div class="x-tree-root-node"><li class="x-tree-node"><ul class="x-tree-node-ct" style=""></ul></li></div></ul></div></div></div></div></div></div></div></div></div><div class="x-layout-split x-layout-split-west x-splitbar-h" id="ext-comp-1038-xsplit" style="left: 200px; top: 44px; height: 1919px;"> <div class="x-layout-mini x-layout-mini-west" id="ext-gen902"> </div></div></div></div></div></div></div></div></div></div></div>
<div id="tine-viewport-app"></div>
<div id="Vue-Message-Box-Mount-Point" data-v-app=""></div><div id="ext-gen173" class="x-dd-drag-proxy x-dd-drop-nodrop" style="position: absolute; z-index: 15000; visibility: hidden; left: 250px; top: 65px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen174"></div></div><div id="ext-gen353" class="x-dd-drag-proxy x-dd-drop-nodrop x-grid3-col-dd" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen354"></div></div><div class="col-move-top" id="ext-gen355"></div><div class="col-move-bottom" id="ext-gen356"></div><div id="ext-gen357" class="x-dd-drag-proxy x-dd-drop-nodrop" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen358"></div></div><div id="ext-gen469" class="x-dd-drag-proxy x-dd-drop-nodrop" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen470"></div></div><div id="ext-gen605" class="x-dd-drag-proxy x-dd-drop-nodrop" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen606"></div></div><div id="ext-gen715" class="x-dd-drag-proxy x-dd-drop-nodrop x-grid3-col-dd" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen716"></div></div><div class="col-move-top" id="ext-gen717"></div><div class="col-move-bottom" id="ext-gen718"></div><div id="ext-gen1011" class="x-dd-drag-proxy x-dd-drop-nodrop x-grid3-col-dd" style="position: absolute; z-index: 15000; visibility: hidden; left: -10000px; top: -10000px;"><div class="x-dd-drop-icon"></div><div class="x-dd-drag-ghost" id="ext-gen1012"></div></div><div class="col-move-top" id="ext-gen1013"></div><div class="col-move-bottom" id="ext-gen1014"></div><div class="x-layer x-combo-list x-resizable-pinned" id="ext-gen1195" style="position: absolute; z-index: 12005; visibility: hidden; left: -10000px; top: -10000px; width: 240px; height: 0px; font-size: 11px;"><div class="x-combo-list-inner" id="ext-gen1196" style="width: 240px; margin-bottom: 8px;"><div class="x-combo-list-item tw-ftb-field-org_unit"></div><div class="x-combo-list-item tw-ftb-field-container_id"></div><div class="x-combo-list-item tw-ftb-field-n_fileas"></div><div class="x-combo-list-item tw-ftb-field-attachments"></div><div class="x-combo-list-item tw-ftb-field-salutation"></div><div class="x-combo-list-item tw-ftb-field-assistent"></div><div class="x-combo-list-item tw-ftb-field-title"></div><div class="x-combo-list-item tw-ftb-field-preferred_address"></div><div class="x-combo-list-item tw-ftb-field-bday"></div><div class="x-combo-list-item tw-ftb-field-industry"></div><div class="x-combo-list-item tw-ftb-field-adr_one_region"></div><div class="x-combo-list-item tw-ftb-field-adr_two_region"></div><div class="x-combo-list-item tw-ftb-field-calendar_uri"></div><div class="x-combo-list-item tw-ftb-field-color"></div><div class="x-combo-list-item tw-ftb-field-email"></div><div class="x-combo-list-item tw-ftb-field-email_home"></div><div class="x-combo-list-item tw-ftb-field-email_query"></div><div class="x-combo-list-item tw-ftb-field-creation_time"></div><div class="x-combo-list-item tw-ftb-field-created_by"></div><div class="x-combo-list-item tw-ftb-field-tel_fax"></div><div class="x-combo-list-item tw-ftb-field-tel_fax_home"></div><div class="x-combo-list-item tw-ftb-field-org_name"></div><div class="x-combo-list-item tw-ftb-field-freebusy_uri"></div><div class="x-combo-list-item tw-ftb-field-role"></div><div class="x-combo-list-item tw-ftb-field-geo"></div><div class="x-combo-list-item tw-ftb-field-adr_one"></div><div class="x-combo-list-item tw-ftb-field-list"></div><div class="x-combo-list-item tw-ftb-field-list_role_id"></div><div class="x-combo-list-item tw-ftb-field-tel_cell"></div><div class="x-combo-list-item tw-ftb-field-tel_cell_private"></div><div class="x-combo-list-item tw-ftb-field-id"></div><div class="x-combo-list-item tw-ftb-field-url"></div><div class="x-combo-list-item tw-ftb-field-n_short"></div><div class="x-combo-list-item tw-ftb-field-label"></div><div class="x-combo-list-item tw-ftb-field-adr_one_countryname"></div><div class="x-combo-list-item tw-ftb-field-adr_two_countryname"></div><div class="x-combo-list-item tw-ftb-field-adr_one_lat"></div><div class="x-combo-list-item tw-ftb-field-adr_two_lat"></div><div class="x-combo-list-item tw-ftb-field-last_modified_time"></div><div class="x-combo-list-item tw-ftb-field-adr_one_lon"></div><div class="x-combo-list-item tw-ftb-field-adr_two_lon"></div><div class="x-combo-list-item tw-ftb-field-matrix_id"></div><div class="x-combo-list-item tw-ftb-field-n_family"></div><div class="x-combo-list-item tw-ftb-field-name_email_query"></div><div class="x-combo-list-item tw-ftb-field-n_suffix"></div><div class="x-combo-list-item tw-ftb-field-note"></div><div class="x-combo-list-item tw-ftb-field-adr_one_locality"></div><div class="x-combo-list-item tw-ftb-field-paths"></div><div class="x-combo-list-item tw-ftb-field-adr_one_postalcode"></div><div class="x-combo-list-item tw-ftb-field-adr_two_postalcode"></div><div class="x-combo-list-item tw-ftb-field-adr_two"></div><div class="x-combo-list-item tw-ftb-field-room"></div><div class="x-combo-list-item tw-ftb-field-query"></div><div class="x-combo-list-item tw-ftb-field-language"></div><div class="x-combo-list-item tw-ftb-field-adr_two_locality"></div><div class="x-combo-list-item tw-ftb-field-adr_one_street"></div><div class="x-combo-list-item tw-ftb-field-adr_two_street"></div><div class="x-combo-list-item tw-ftb-field-adr_one_street2"></div><div class="x-combo-list-item tw-ftb-field-adr_two_street2"></div><div class="x-combo-list-item tw-ftb-field-tag"></div><div class="x-combo-list-item tw-ftb-field-tel_work"></div><div class="x-combo-list-item tw-ftb-field-tel_home"></div><div class="x-combo-list-item tw-ftb-field-telephone"></div><div class="x-combo-list-item tw-ftb-field-n_prefix"></div><div class="x-combo-list-item tw-ftb-field-type"></div><div class="x-combo-list-item tw-ftb-field-foreignRecord"></div><div class="x-combo-list-item tw-ftb-field-n_fn"></div><div class="x-combo-list-item tw-ftb-field-n_given"></div><div class="x-combo-list-item tw-ftb-field-url_home"></div><div class="x-combo-list-item tw-ftb-field-tz"></div><div class="x-combo-list-item tw-ftb-field-last_modified_by"></div><div class="x-combo-list-item tw-ftb-field-n_middle"></div></div></div><div class="x-layer x-combo-list " id="ext-gen1201" style="position: absolute; z-index: 12005; visibility: hidden; left: -10000px; top: -10000px; width: 70px; height: 0px; font-size: 11px;"><div class="x-combo-list-inner" id="ext-gen1202" style="width: 70px;"><div class="x-combo-list-item tw-ftb-operator-startswith"></div><div class="x-combo-list-item tw-ftb-operator-in"></div><div class="x-combo-list-item tw-ftb-operator-endswith"></div><div class="x-combo-list-item tw-ftb-operator-contains"></div><div class="x-combo-list-item tw-ftb-operator-notcontains"></div><div class="x-combo-list-item tw-ftb-operator-equals"></div><div class="x-combo-list-item tw-ftb-operator-not"></div><div class="x-combo-list-item tw-ftb-operator-notin"></div></div></div><div class="x-layer x-combo-list x-resizable-pinned" id="ext-gen1215" style="position: absolute; z-index: 12005; visibility: hidden; left: -10000px; top: -10000px; width: 240px; height: 0px; font-size: 11px;"><div class="x-combo-list-inner" id="ext-gen1216" style="width: 240px; margin-bottom: 8px;"><div class="x-combo-list-item tw-ftb-field-container_id"></div><div class="x-combo-list-item tw-ftb-field-description"></div><div class="x-combo-list-item tw-ftb-field-email"></div><div class="x-combo-list-item tw-ftb-field-creation_time"></div><div class="x-combo-list-item tw-ftb-field-created_by"></div><div class="x-combo-list-item tw-ftb-field-id"></div><div class="x-combo-list-item tw-ftb-field-last_modified_time"></div><div class="x-combo-list-item tw-ftb-field-list_type"></div><div class="x-combo-list-item tw-ftb-field-name"></div><div class="x-combo-list-item tw-ftb-field-query"></div><div class="x-combo-list-item tw-ftb-field-tag"></div><div class="x-combo-list-item tw-ftb-field-type"></div><div class="x-combo-list-item tw-ftb-field-foreignRecord"></div><div class="x-combo-list-item tw-ftb-field-last_modified_by"></div></div></div><div class="x-layer x-combo-list " id="ext-gen1221" style="position: absolute; z-index: 12005; visibility: hidden; left: -10000px; top: -10000px; width: 70px; height: 0px; font-size: 11px;"><div class="x-combo-list-inner" id="ext-gen1222" style="width: 70px;"><div class="x-combo-list-item tw-ftb-operator-startswith"></div><div class="x-combo-list-item tw-ftb-operator-in"></div><div class="x-combo-list-item tw-ftb-operator-endswith"></div><div class="x-combo-list-item tw-ftb-operator-contains"></div><div class="x-combo-list-item tw-ftb-operator-notcontains"></div><div class="x-combo-list-item tw-ftb-operator-equals"></div><div class="x-combo-list-item tw-ftb-operator-not"></div><div class="x-combo-list-item tw-ftb-operator-notin"></div></div></div><div class="x-layer x-combo-list x-resizable-pinned" id="ext-gen1235" style="position: absolute; z-index: 12005; visibility: hidden; left: -10000px; top: -10000px; width: 240px; height: 0px; font-size: 11px;"><div class="x-combo-list-inner" id="ext-gen1236" style="width: 240px; margin-bottom: 8px;"><div class="x-combo-list-item tw-ftb-field-query"></div></div></div>```
.htaccess
DirectoryIndex index.php
Header always set X-Content-Type-Options nosniff
Header set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
Header set X-Frame-Options SAMEORIGIN
Header unset Content-Security-Policy
Header always set Content-Security-Policy "default-src https: data: 'unsafe-inline' 'unsafe-eval'"
Header unset X-Content-Security-Policy
Header add X-Content-Security-Policy "default-src 'self'"
Header unset X-WebKit-CSP
Header add X-WebKit-CSP "default-src 'self'"
Header set X-XSS-Protection: "1;mode=block"
#<IfModule mod_php5.c>
# Define PHP_MODULE_INSTALLED
#</IfModule>
<IfModule mod_php7.4.c>
Define PHP_MODULE_INSTALLED
</IfModule>
<IfDefine PHP_MODULE_INSTALLED>
php_value max_input_time 120
php_value session.gc_maxlifetime 86400
# php_value memory_limit 512MB
php_admin_value memory_limit 512M
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value safe_mode off
php_flag display_errors off
php_flag log_errors on
php_flag magic_quotes_gpc off
php_flag magic_quotes_runtime off
php_flag register_globals off
php_value max_execution_time 90
</IfDefine>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteRule ^index(.*) index.php
# ActiveSync
RewriteRule ^Microsoft-Server-ActiveSync index.php?frontend=activesync [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
# OpenID
RewriteRule ^users/(.*) index.php?frontend=openid&username=$1 [L,QSA]
# WebDAV / CalDAV / CardDAV
RewriteCond %{REQUEST_METHOD} !^(GET|POST)$
RewriteRule ^$ index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^addressbooks index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^calendars index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^webdav index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^principals index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^remote.php index.php?frontend=webdav [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
# Anonymous downloads
RewriteRule ^download/get/(.*) index.php?method=Download.downloadNode&path=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
RewriteRule ^download/show/(.*) index.php?method=Download.displayNode&path=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
# Routing
# <Location />
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php?doRouting=1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
# </Location>
</IfModule>
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/gif "access plus 1 month 1 days"
ExpiresByType image/jpeg "access plus 1 month 1 days"
ExpiresByType image/png "access plus 1 month 1 days"
</IfModule>
Evtl. die Memory-Einstellung über die .user.ini anpassen, die scheint all-inkl zu verwenden: https://all-inkl.com/wichtig/anleitungen/skripte/sonstiges/php-errorlog/anlegen_616.html
Danke, hat funktioniert, leider hat es nur bewirkt das jetzt neben der Fehlermeldung auch noch nach jeder Anmeldung verlangt wird das ich mein Passwort ändere.
Andere Baustelle 🤔
Ich glaube, Admin > Anwendungen > Tinebase > Einstellungen. Welche Einstellung das ist weiß, weiß ich nicht mehr. Vielleicht encourage_mfa?
Ah, das hatte ich jetzt gar nicht mehr auf dem Schirm, wobei: war das wirklich verbunden mit der Aufforderung zur Passwortänderung?
Ich glaube, Admin > Anwendungen > Tinebase > Einstellungen. Welche Einstellung das ist weiß, weiß ich nicht mehr. Vielleicht encourage_mfa?
mfa_encourage https://github.com/tine20/tine20/issues/7411
MFA funktioniert. Und hatte bis jetzt auch noch keinen Fehler. weder beim einrichten noch beim Anmelden. Und der Fehler mit dem Anmelden ist nicht nach dem aktivieren von MFA sondern nach der änderung des Memmory-limits aufgetaucht. Und der ursprüngliche Fehler (fehlende Daten) schon lange vorher.
Mach mal (phpMyAdmin):
select value from tine20_config where application_id='88e0ee9b0ba9c807e83094d8d0dd2dbfaa36ef97' and name='userPwPolicy';
und schau, ob checkAtLogin bzw. pwPolicyActive gesetzt sind (1).
Alternativ (also eher zusätzlich noch) im Array der config.inc.php schauen, ob da gesetzt.
<?php
return array (
'database' =>
array (
'username' => ,
'password' => ',
'host' => ,
'dbname' => ,
'port' => ,
'adapter' => 'pdo_mysql',
'tableprefix' => 'tine20_',
'profiler' => false,
),
'maintenanceMode' => false,
'setupuser' =>
array (
'username' => ,
'password' => ',
),
'tmpdir' => '../tmp/files',
'filesdir' => '../Downloads',
'session' =>
array (
'lifetime' => 86400,
'backend' => 'File',
'path' => '../tmp/session',
'host' => 'localhost',
'port' => 6379,
),
'caching' =>
array (
'customexpirable' => true,
'active' => true,
'backend' => 'File',
'lifetime' => 3600,
'path' => '../tmp/cache',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'memcached' =>
array (
'host' => 'localhost',
'port' => 11211,
),
),
'mapPanel' => 1,
'logger' =>
array (
'active' => false,
'priority' => 7,
'filename' => '../Tine20.log',
),
'profiler' =>
array (
'xhprof' => false,
'queryProfiles' => false,
'queryProfilesDetails' => false,
),
'actionqueue' =>
array (
'active' => false,
'backend' => 'Redis',
'host' => 'localhost',
'port' => 6379,
),
'maxLoginFailures' => 20,
'captcha' =>
array (
'count' => 3,
),
'allowedJsonOrigins' =>
array (
0 => '',
1 => '',
),
'sessionIpValidation' =>
array (
'active' => false,
'source' => 'ip',
),
'certificate' =>
array (
'active' => false,
'useKeyEscrow' => false,
'masterCertificate' => '',
),
'modssl' =>
array (
'username_callback' => '',
'casfile' => '',
'crlspath' => '',
),
'theme' =>
array (
'load' => false,
'path' => '../Themes/xtheme-slate',
'useBlueAsBase' => true,
),
'useMapService' => 1,
);
Das ist verdammt wenig Lass mal application_id raus, evtl. sind die instanzspezifisch. Also nur:
select value from tine20_config where name='userPwPolicy';
Also bei mir ist es ähnlich, außer dass statt true oder false 0 oder 1 verwendet wird. Ich hatte die Funktion _checkPasswordPolicyAtLogin in Tinebase/Controller.php:158 in Verdacht, die über diese Config-Values gesteuert werden. Was ist denn der genaue Text zur Aufforderung des Passworts? Oder halt wieder die Log-Datei.
Komisch, jetzt hats funktioniert. Habe das Passwort wieder auf die alten Werte zurückgesetzt. Jetzt ist die Meldung "Ändere Passwort" weg. Danke, Das ursprüngliche Problem ist aber immer noch vorhanden.
Also der
if (Tine.Tinebase.registry.get('mustchangepw') && Tine.Tinebase.configManager.get('changepw')) {
var passwordDialog = new Tine.Tinebase.PasswordChangeDialog({
dialogText: Tine.Tinebase.registry.get('mustchangepw') + '\n' + i18n._('You need to set a new password.')
});
passwordDialog.show();
}
Du könntest nun changepw auf false setzen. Wenn Du als Nutzer Dein Passwort nicht ändern kannst, musst Du es auch nicht ändern, wenn Du es ändern musst ;-)
Oder schauen wir mal weiter und landen - lustigerweise, zufällig - beim CrendentialCache
if (this.pwType === 'password') {
Ext.Ajax.request({
params: {
method: 'Tinebase.updateCredentialCache',
password: values.newPassword
}
});
Tine.Tinebase.registry.set('mustchangepw', '');
}
Da liegt noch ein zweites Fenster hinter an das ich nicht herankomme und das ich nur für Sekundenbruchteile zu sehen bekomme. Bevor obiges darüber eingeblendet wird.
Finde da nach wie vor nichts. Müsste da nicht zumindest stehen das er irgendein Fenster anzeigt?
finde 404 - Filemanager/js/Filemanager-6d7eb53444de3e2a7689-FAT.debug.js:3965 Mit dem Browserwerkzeug beim Netzwerktraffic irgendein Fehler 404 sichtbar? Im tine.log stand ja einer
eda020 - jpruehmann - 2024-03-27T14:07:26+00:00 INFO (6): Tinebase_Server_Expressive::handle::94 Is Routing request. uri: /ocs/v2.php/apps/notifications/api/v1/notifications?doRouting=1&format=json method: GET
[...]
eda020 - jpruehmann - 2024-03-27T14:07:26+00:00 INFO (6): Tinebase_Expressive_Middleware_FastRoute::process::67 returning 404 method not found
Davon aber jetzt keine Spur mehr. Würde im aktuellen Log eher auf das Tippen:
b6bc0 674d5 jpruehmann - 2024-04-03T14:46:54+00:00 NOTICE (5): Tinebase_Server_Json::_handleException::457 Tinebase_Exception_NotFound -> Felamimail_Model_Account record with id = jan not found!
Nope, vielleicht im Fenster das hinter der Meldung liegt. Mit Felamimail stehe ich eh auf Kriegsfuss. Ich schau nochmal in phpmysql.
kann da kein Jan finden. Gibt höchstens Jan-Peter.
Wie finde ich das mit dem 404 (am besten welche Datei? Danke.
kann da kein Jan finden. Tine auch nicht ;-)
Also bei mir steht auch recht viel Information im JS-Konsolen-Log. Allerdings weiß ich nicht mehr, ob ich das irgendwie angeschaltet habe und dann vergessen abzuschalten.
Ich habe da zwei Meldungen, bringen mich aber keinen Millimeter weiter.
Object { message: "Felamimail_Model_Account record with id = jan not found!", code: 404, appName: "Tinebase", title: "Exception ({0})", trace: (15) […], request: '{"jsonrpc":"2.0","method":"Felamimail.searchFolders","params":{"filter":[{"field":"account_id","operator":"equals","value":"jan"},{"field":"globalname","operator":"equals","value":""}]},"id":7}', response: '{"code":-32000,"message":"Felamimail_Model_Account record with id = jan not found!","data":{"message":"Felamimail_Model_Account record with id = jan not found!","code":404,"appName":"Tinebase","title":"Exception ({0})","trace":[{"file":".../Tinebase/Backend/Sql/Abstract.php","line":288,"function":"getRawDataByProperty","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Tinebase/Backend/Sql/Abstract.php","line":257,"function":"getByProperty","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Tinebase/Controller/Record/Abstract.php","line":562,"function":"get","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Felamimail/Controller/Account.php","line":167,"function":"get","class":"Tinebase_Controller_Record_Abstract","type":"->"},{"file":".../Felamimail/Controller/Account.php","line":2475,"function":"get","class":"Felamimail_Controller_Account","type":"->"},{"file":".../Felamimail/Controller/Folder.php","line":124,"function":"checkAccountAcl","class":"Felamimail_Controller_Account","type":"->"},{"file":".../Tinebase/Frontend/Json/Abstract.php","line":236,"function":"search","class":"Felamimail_Controller_Folder","type":"->"},{"file":".../Felamimail/Frontend/Json.php","line":41,"function":"_search","class":"Tinebase_Frontend_Json_Abstract","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Server/Abstract.php","line":231,"function":"searchFolders","class":"Felamimail_Frontend_Json","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Json/Server.php","line":603,"function":"_dispatch","class":"Zend_Server_Abstract","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Json/Server.php","line":206,"function":"_handle","class":"Zend_Json_Server","type":"->"},{"file":".../Tinebase/Server/Json.php","line":427,"function":"handle","class":"Zend_Json_Server","type":"->"},{"file":".../Tinebase/Server/Json.php","line":181,"function":"_handle","class":"Tinebase_Server_Json","type":"->"},{"file":".../Tinebase/Core.php","line":270,"function":"handle","class":"Tinebase_Server_Json","type":"->"},{"file":".../index.php","line":24,"function":"dispatchRequest","class":"Tinebase_Core","type":"::"}]}}' }
Felamimail-9af41a86dc6d43e558d8-FAT.js:2:80853
Object { message: "Felamimail_Model_Account record with id = jan not found!", code: 404, appName: "Tinebase", title: "Exception ({0})", trace: (15) […], request: '{"jsonrpc":"2.0","method":"Felamimail.searchFolders","params":{"filter":[{"field":"account_id","operator":"equals","value":"jan"},{"field":"globalname","operator":"equals","value":""}]},"id":7}', response: '{"code":-32000,"message":"Felamimail_Model_Account record with id = jan not found!","data":{"message":"Felamimail_Model_Account record with id = jan not found!","code":404,"appName":"Tinebase","title":"Exception ({0})","trace":[{"file":".../Tinebase/Backend/Sql/Abstract.php","line":288,"function":"getRawDataByProperty","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Tinebase/Backend/Sql/Abstract.php","line":257,"function":"getByProperty","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Tinebase/Controller/Record/Abstract.php","line":562,"function":"get","class":"Tinebase_Backend_Sql_Abstract","type":"->"},{"file":".../Felamimail/Controller/Account.php","line":167,"function":"get","class":"Tinebase_Controller_Record_Abstract","type":"->"},{"file":".../Felamimail/Controller/Account.php","line":2475,"function":"get","class":"Felamimail_Controller_Account","type":"->"},{"file":".../Felamimail/Controller/Folder.php","line":124,"function":"checkAccountAcl","class":"Felamimail_Controller_Account","type":"->"},{"file":".../Tinebase/Frontend/Json/Abstract.php","line":236,"function":"search","class":"Felamimail_Controller_Folder","type":"->"},{"file":".../Felamimail/Frontend/Json.php","line":41,"function":"_search","class":"Tinebase_Frontend_Json_Abstract","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Server/Abstract.php","line":231,"function":"searchFolders","class":"Felamimail_Frontend_Json","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Json/Server.php","line":603,"function":"_dispatch","class":"Zend_Server_Abstract","type":"->"},{"file":".../vendor/zendframework/zendframework1/library/Zend/Json/Server.php","line":206,"function":"_handle","class":"Zend_Json_Server","type":"->"},{"file":".../Tinebase/Server/Json.php","line":427,"function":"handle","class":"Zend_Json_Server","type":"->"},{"file":".../Tinebase/Server/Json.php","line":181,"function":"_handle","class":"Tinebase_Server_Json","type":"->"},{"file":".../Tinebase/Core.php","line":270,"function":"handle","class":"Tinebase_Server_Json","type":"->"},{"file":".../index.php","line":24,"function":"dispatchRequest","class":"Tinebase_Core","type":"::"}]}}' }
Tinebase-bd959ae0e80f95ef9cff-FAT.js:2:251965
Wieso sucht er etwas was es in der Datenbank nicht gibt?
Genau das ist die Ursache (Felamimail.searchFolder); klingt komisch - is' aber so.
Ich habe da zwei Meldungen, bringen mich aber keinen Millimeter weiter.
Diese Abfrage passiert im Hintergrund beim Laden der Maske, auch wenn Felamimail nicht geöffnet ist. Bei mir macht er das mit id 0b2654d27265ebceef502d741179cf04e1951441.
Gehe ich nun her und nenne die ID des Felamimail-Accounts um
update tine20_felamimail_account set id = 'aaa' where id ='0b2654d27265ebceef502d741179cf04e1951441;
so kommt genau Deine Fehlermeldung.
Irgendwo gibt es also Reste eines Accounts 'jan', auf den Felamimail referenziert. Warum auch immer die ID 'jan' ist. Jedenfalls ist 'jan' weg, die Abfrage scheitert und die Fehlermeldung erscheint.
EDIT: Hier solltest Du vermutlich den Eintrag zu jan finden:
select a.login_name, s.id, s.data from tine20_state s inner join tine20_accounts a on a.id=s.user_id where state_id = 'Felamimail-TreePanel';
Falls mehrere, den mit Deinem Login-Namen. Dann die s.id aus tine20_state löschen. Ohne es zu testen, würde ich hoffen, dass es das war.
Ich sehe da nichts.
Werde mir mal die felamimail rabellen anschauen, vielleicht finde ich ja irgendwo ein Jan.
Habe alle tabellen durchgeschaut, kein 'jan' zu finden.
Ich sehe da nichts.
Ist eine recht gekürzte Ansicht... wobei: bei mir steht die ID hinter /root/ und da steht kein Jan.
Hier der komplette Bildschirm. Da ist auch nicht mehr zu sehen.
Hier der komplette Bildschirm. Da ist auch nicht mehr zu sehen.
Hast Du vielleicht noch einen zweiten Bildschirm? 👺
Spaß beiseite: Ich meinte "Optionen" -> vollständige Ansicht, damit die Textfelder nicht gekürzt dargestellt werden. Aber lass bleiben. Ich habe eben mal die Account-ID umbenannt und den State-Eintrag gelöscht. Das löst das Problem nicht. Problem ist wohl im Aufbau des Trees zu suchen.
Was sagt: select distinct account_id from tine20_felamimail_cache_message ?
;-: Ach so.
select distinct account_id from tine20_felamimail_cache_message
sagt
Oh, wow. So viele Accounts... Aber kein Jan dabei.
nach denen hatte ich schon gefragt?
select distinct id from tine20_felamimail_account;
select distinct account_id from tine20_felamimail_folder;
Ich habe eure Bemühungen jetzt nicht im Detail nachvollzogen. Aber irgendwo muss der hash 'jan' doch herkommen.
Mir scheint das kein Felamimail Account, sondern ein allgemeiner Account zu sein (select id, login_name from tine20_accounts;
). Ich würde aber eher vermuten, dass der Ursprung vom Client kommt. Cookies? Local Storage DB? Mal in einem privaten Fenster geöffnet?
Außerdem scheint der Ursprung, obwohl es Mail betrifft, von Tinebase zu kommen. Wenn da mehr als der eigene User abgefragt wird, hat das sicherlich auch damit zu tun, dass Du als Admin angemeldet bist... Die Konsequenz ist mir unklar, aber vielleicht hilft die Erkenntnis...
Das Problem ist schon seit mehreren Monaten vorhanden, auf mehreren Browsern, nach löschen sämtlicher Daten inklusive cookies und neustart des Rechners. Local Storage? Müsste es da nicht in der Config.inc.php was dazu geben?` Ich bin explizit nur als "jpruehmann" angemeldet. es läuft nur eine instanz des Browsers und ich werde auch links oben als angemeldeter Nutzer angezeigt. Übrigens bin ich auch nicht mMitglied der Gruppe Admin.
Danke.
Ok, dann half das nicht. Such doch mal in der ganzen DB nach "jan", in phpMyAdmin der Reiter Suche, dort bei Tabellen wirklich alle auswählen.
Wird nur in einer Tabelle (addressbook) in einer Spalte (n_given) 3 mal gefunden (Die exakte Phrase als ganzes Feld) in allen Tabellen. ansonsten nur Jan-Peter und Jan-Peter@ruehmann.name
Dann letzter Versuch (irgendwo muss es ja herkommen): Gibt es einen anderen Mailaccount namens "jan" im IMAP? Gibt/gab es da gegenseitige Zugriffsrechte?
nein Der einzige Mail Account mit "jan" ist jan-peter@rüehmann.name, Hauptaccount JPRuehmann. Imap accounts sind alle. Es gibt , gab keine Account übergreifenden Rechte, da es ja nur einen User gibt.
Kannst du noch eine Suche über alles machen? Gesucht wird 340381e9ff54995903de4de40fc6962f535f3d6f
Insbesondere bitte in der Tabelle tine20_credential_cache
. In Felamimail/Model/Account.php gibt es nur zwei Vorkommen von Tinebase_Exception_NotFound
, beide im Zusammenhang damit.
Kannst du mit SSH folgendes ausführen: tine20.php --method Tinebase.clearTable credential_cache
? Damit dürften alle gespeicherten Passwörter gelöscht werden und du wirst zu einer neuen Eingabe aufgefordert.
Wie mehrfach geschrieben habe ich keinen ssh Zugang.
Das ist meine ID.
Die Suche in tine20_credential_cache
.
Habe die Tabelle via phpmyadmin gelehrt. Hat nichts geändert. Mußte MFA deaktivieren, neu aktivieren und Paswort ändern und zurückändern. Jetzt ist nur noch ein Eintrag im Cache (nicht der gesuchte).
Nach dem Anmelden kriege ich in Abständen wiederholt folgende Meldung.
"Ihre Anfrage konnte aufgrund von fehlenden Daten nicht beantwortet werden. In den meisten Fällen wurden diese Daten von einem anderen Benutzer gelöscht. Bitte aktualisieren Sie Ihre momentane Ansicht."
Neu laden oder löschen des Browsercaches bringt nichts.
Tine20.log
Ich kann nichts im Log finden was darauf hindeutet. Kann mich da mal jemand in die richtige Richtung schubsen?
Danke,
P.S. das Problem hatte ich auch schon in Tine20, seit irgendeinem Update (vor Jahren). Da ich nur selten die Weboberfläche nutze habe ich mich nicht drum gekümmert. Nur das ich z.B. in Thunderbird keine Termine löschen konnte (tauchen nach dem nächsten Synch wieder auf) war ein wenig nervig. Weiss aber nicht ob das zusammenhängen kann. Hab dann halt den Google Callendar benutzt.