Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

von Frank Picken -
Anzahl Antworten: 4

Hallo, nach der Migration von einem Windows zu einem Linux Server mit Update von 3.5 auf 3.10
habe ich als Administrator Rechteprobleme

möchte ich Rechte ändern kommt diese Meldung:  Fehler: Class 'core_role_permissions_table' not found

bei WebSite Administration Nutzer Rechte ändern Administratoren dieser:  Fehler: Class 'core_role_admins_existing_selector' not found

Woran könnte das liegen?



Mittelwert:  -
Als Antwort auf Frank Picken

Re: Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

von Visvanath Ratnaweera -
Nutzerbild von Besonders aktive Moodler Nutzerbild von Translators
Generell, zwei Schritte in einem, https://docs.moodle.org/310/en/Moodle_migration und https://docs.moodle.org/311/en/Upgrade, ist nicht zu empfehlen.

In deinem Fall, wie ging es genau, zuerst Migration von Windows auf Linux und dann Upgrade, oder anders? Von 3.5 kommt man ja nicht direkt auf 3.11. War war der Zwischenschritt? Ging das alles anstandslos? http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases

Nebenbei, du weisst, dass Moodle rel. 3.9 als LTS länger unterstützt als Rel. 3.10, und sogar 3.11? https://docs.moodle.org/dev/Releases

Wie hast du die Systemsoftware, v.a. PHP, marchiert? Was sind deine Systemsoftware: die Webserver und Datenbankserver?

Was ist das für eine Linux-Distribution? Ist Site administration > Server > Environment alles im Grünen. Hat Site administration > Server > HTTP > Use slash arguments einen Einfluss auf das Verhalten?

Was heisst "möchte ich Rechte ändern" genau?
Als Antwort auf Visvanath Ratnaweera

Re: Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

von Frank Picken -
Hallo,
ich habe zuerst das System zu Linux Migriert, das hat auch Problemlos funktioniert.

Dann das Update auf 3.8 durchgeführt, hier sind mir auch keine Fehler aufgefallen.
Danach Update auf 3.10 seither kann der Siteadmin seine eigen Rolle nicht verwalten oder Administratoren verwalten.

Systemsoftware ist: Apache/2.4.41 (Ubuntu), PHP 7.4.3, mysql (8.0.27-0ubuntu0.20.04.1),
Server Environment ist alles OK, Use Slash Arguments hat keinen Einfluss.

Mit Rechte ändern meine Ich Im Admin Konto auf Einstellungen/Rollen, Rechte ändern hier kommt die Fehlermeldung
Fehler: Class 'core_role_permissions_table' not found
Oder unter Website Administration /Server, Nutzer/innen auf Administratoren kommt diese Meldung
Fehler: Class 'core_role_admins_existing_selector' not found
könnte dies ein Problem mit Dateirechten sein?
Als Antwort auf Frank Picken

Re: Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

von Visvanath Ratnaweera -
Nutzerbild von Besonders aktive Moodler Nutzerbild von Translators
In dem Fall ist es beim Upgrade von 3.8 auf 3.10 passiert. Beide waren auf Linux. Du hast sonst nichts angefasst? Als Beispiel den Guest-Nutzer löschen, die UID von 'admin' ändern?

Dann braucht es komplette "debug trace" aus https://docs.moodle.org/310/en/Debugging.
Als Antwort auf Visvanath Ratnaweera

Re: Admin hat keine Rechte nach Migration von Windows zu LinuxFehler: Class 'core_role_permissions_table' not found

von Frank Picken -
Hallo ich hoffe das dies das richtige Debug log ist.

Rechte für Nutzer: moodleadmin admin
Fehler: Class 'core_role_permissions_table' not found

Weitere Informationen über diesen Fehler

×Debug-Info:
Error code: generalexceptionmessage
×Stack trace:
line 218 of /admin/roles/permissions.php: Error thrown

line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7444 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 1359 of /theme/fordson/classes/output/core_renderer.php: call to get_string()
line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_fordson\output\core_renderer->teacherdash()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 54 of /var/moodledata/localcache/mustache/1635509943/fordson/__Mustache_251400b93ebfad86b2270cae23515d63.php: call to Mustache_Context->findDot()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_251400b93ebfad86b2270cae23515d63->renderInternal()
line 195 of /lib/outputrende in /var/www/html/moodle/lib/weblib.php on line 3262

Notice: Invalid get_string() identifier: 'managesubscriptions' or component 'tool_monitor'. Perhaps you are missing $string['managesubscriptions'] = ''; in /lang/en/tool_monitor.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7444 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 1367 of /theme/fordson/classes/output/core_renderer.php: call to get_string()
line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_fordson\output\core_renderer->teacherdash()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 54 of /var/moodledata/localcache/mustache/1635509943/fordson/__Mustache_251400b93ebfad86b2270cae23515d63.php: call to Mustache_Context->findDot()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_251400b93ebfad86b2270cae23515d63->renderInternal()
line 195 of /lib in /var/www/html/moodle/lib/weblib.php on line 3262



Fehler: Class 'core_role_admins_existing_selector' not found

Weitere Informationen über diesen Fehler

×Debug-Info:
Error code: generalexceptionmessage
×Stack trace:
line 38 of /admin/roles/admins.php: Error thrown
×Ausgabepuffer:
Notice: String does not exist. Please check your string definition for enablerunnow/tool_task
  • line 10620 of /lib/moodlelib.php: call to debugging()
  • line 88 of /admin/settings/security.php: call to lang_string->__construct()
  • line 8778 of /lib/adminlib.php: call to require()
  • line 8667 of /lib/adminlib.php: call to admin_get_root()
  • line 33 of /admin/roles/admins.php: call to admin_externalpage_setup()
in /var/www/html/moodle/lib/weblib.php on line 3262

Notice: String does not exist. Please check your string definition for enablerunnow_desc/tool_task
  • line 10620 of /lib/moodlelib.php: call to debugging()
  • line 89 of /admin/settings/security.php: call to lang_string->__construct()
  • line 8778 of /lib/adminlib.php: call to require()
  • line 8667 of /lib/adminlib.php: call to admin_get_root()
  • line 33 of /admin/roles/admins.php: call to admin_externalpage_setup()
in /var/www/html/moodle/lib/weblib.php on line 3262

line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7444 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 1359 of /theme/fordson/classes/output/core_renderer.php: call to get_string()
line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_fordson\output\core_renderer->teacherdash()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 54 of /var/moodledata/localcache/mustache/1635509943/fordson/__Mustache_251400b93ebfad86b2270cae23515d63.php: call to Mustache_Context->findDot()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_251400b93ebfad86b2270cae23515d63->renderInternal()
line 195 of /lib/outputrende in /var/www/html/moodle/lib/weblib.php on line 3262

Notice: Invalid get_string() identifier: 'managesubscriptions' or component 'tool_monitor'. Perhaps you are missing $string['managesubscriptions'] = ''; in /lang/en/tool_monitor.php?
line 353 of /lib/classes/string_manager_standard.php: call to debugging()
line 7444 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 1367 of /theme/fordson/classes/output/core_renderer.php: call to get_string()
line 219 of /lib/mustache/src/Mustache/Context.php: call to theme_fordson\output\core_renderer->teacherdash()
line 138 of /lib/mustache/src/Mustache/Context.php: call to Mustache_Context->findVariableInStack()
line 54 of /var/moodledata/localcache/mustache/1635509943/fordson/__Mustache_251400b93ebfad86b2270cae23515d63.php: call to Mustache_Context->findDot()
line 67 of /lib/mustache/src/Mustache/Template.php: call to __Mustache_251400b93ebfad86b2270cae23515d63->renderInternal()
line 195 of /lib in /var/www/html/moodle/lib/weblib.php on line 3262