Verwendete Quota werden in der webui nicht mehr angezeigt

Hallo Liste,

seit einiger Zeit (leider nicht konkret angebbar) werden in der Schulkonsole nicht mehr die individuell vewendeten Quota sondern bei allen Usern nur die (gleichen) Limots angezeigt:


Wir haben keine Änderungen vorgenommen.
Unsere Versionen:
-Base…: 7.2.17-0
-Linbo…: 4.2.16-0
-WebUI…: 7.2.82
-Sophomorix…: 3.92.1-3
Vielen Dank für irgendwelche Tipps!

LG Jürgen

Hallo Jürgen,

Wäre es möglich das Output von sophomorix-query --sam USER --user-full --quota-usage -jj mit einem betroffenen USER entweder anonymisiert oder per PM zukommen zu lassen ? Damit kann ich schauen, was schief geht.

Danke

Gruß

Arnaud

Hallo Arnaud,

vielen Dank für deine schnelle Antwort!

> root@server:/home/NTZ/gym-admin# sophomorix-query --sam it-mgmt --user-full --quota-usage -jj
OK: SophomorixSchemaVersion 1 matches required Version 1
Use of uninitialized value $full_user in substitution (s///) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6263.
Use of uninitialized value $full_user in split at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6264.
Use of uninitialized value $full_user in pattern match (m//) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6273.
Use of uninitialized value $quota_data in substitution (s///) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6285.
Use of uninitialized value $quota_data in split at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6286.
Use of uninitialized value $used in multiplication (*) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6288.
Use of uninitialized value $soft_limit in string eq at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6290.
Use of uninitialized value $soft_limit in multiplication (*) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6294.
Use of uninitialized value $hard_limit in string eq at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6297.
Use of uninitialized value $hard_limit in multiplication (*) at /usr/share/perl5/Sophomorix/SophomorixBase.pm line 6301.
#JSON-begin
{"USER":{"it-mgmt":{"sophomorixCreationDate":"20250108161301.0Z","sophomorixDeactivationDate":"19700101000000.0Z","sophomorixComment":"created by sophomorix","sophomorixCustomMulti5":[],"homeDirectory":"\\\\server\\gym\\students\\it\\it-mgmt","sophomorixIntrinsic4":null,"DN":"CN=it-mgmt,OU=it,OU=Students,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","sophomorixBirthdate":"18.01.2007","sophomorixCustom2":null,"sAMAccountName":"it-mgmt","userAccountControl":"66048","sophomorixFirstnameASCII":"IT","sophomorixCustom5":null,"sophomorixMailQuotaCalculated":"150","sophomorixCloudQuotaCalculated":"100 MB","proxyAddresses":[],"sophomorixRole":"student","sophomorixCustomMulti3":[],"sophomorixCustomMulti4":[],"sophomorixIntrinsic2":"students/it/it-mgmt","sophomorixCustom3":null,"displayName":"IT Management","sophomorixUnid":"---","sophomorixAdminClass":"gym-it","mail":"it-mgmt@s.gym-ntz.de","sophomorixCustomMulti1":[],"sophomorixCustomMulti2":[],"sophomorixTolerationDate":"19700101000000.0Z","sophomorixFirstnameInitial":"I.","sophomorixMailQuota":"---:---:","sophomorixIntrinsicMulti4":[],"sophomorixIntrinsicMulti2":[],"sophomorixExitAdminClass":"unknown","sophomorixExamMode":"---","sophomorixAdminFile":"gym.extrastudents.csv","sophomorixQuota":["gym:---:100:104857600:---:","linuxmuster-global:---:100:104857600:---:"],"givenName":"IT","QUOTA_USAGE_BY_SHARE":{"linuxmuster-global":{"SOFT_LIMIT_MiB":80,"SOFT_LIMIT":"83886080","HARD_LIMIT":"104857600","USED_MiB":0,"HARD_LIMIT_MiB":100,"USED":"0","FULL_USER":"NTZ\\it-mgmt                   "},"gym":{"FULL_USER":null,"USED":null,"HARD_LIMIT_MiB":0,"USED_MiB":0,"HARD_LIMIT":null,"SOFT_LIMIT":null,"SOFT_LIMIT_MiB":0}},"sophomorixIntrinsic1":null,"sophomorixSurnameASCII":"Management","sophomorixUserToken":"---","sophomorixStatus":"U","sophomorixCustom1":null,"sophomorixSchoolname":"gym","sophomorixIntrinsic3":null,"sophomorixIntrinsicMulti5":[],"sophomorixCustom4":null,"sophomorixWebuiPermissionsCalculated":["lm:crontab:read: false","lm:crontab:write: false","lm:device-manager:modify: false","lm:device-manager:read: false","lm:devices: false","lm:devices:import: false","lm:docker:change: false","lm:docker:list: false","lm:globalsettings: false","lm:linbo:configs: false","lm:linbo:examples: false","lm:linbo:icons: false","lm:linbo:images: false","lm:quotas:apply: false","lm:quotas:configure: false","lm:quotas:ldap-search: false","lm:samba_dns:read: false","lm:samba_dns:write: false","lm:schoolsettings: false","lm:sync:list: false","lm:sync:online: false","lm:sync:sync: false","lm:users:apply: false","lm:users:check: false","lm:users:customfields:read: true","lm:users:customfields:write: true","lm:users:globaladmins:create: false","lm:users:passwords: false","lm:users:schooladmins:create: false","lm:users:teachers:read: false","lmn:clients:config: false","lmn:groupmembership: false","lmn:groupmemberships:write: false","sidebar:view:/view/dashboard: false","sidebar:view:/view/lmn/crontab: false","sidebar:view:/view/lmn/device-manager: false","sidebar:view:/view/lmn/devices: false","sidebar:view:/view/lmn/dhcp: false","sidebar:view:/view/lmn/docker: false","sidebar:view:/view/lmn/globalsettings: false","sidebar:view:/view/lmn/groupmembership: false","sidebar:view:/view/lmn/home: true","sidebar:view:/view/lmn/landingpage: true","sidebar:view:/view/lmn/linbo4: false","sidebar:view:/view/lmn/linbo_sync: false","sidebar:view:/view/lmn/links: false","sidebar:view:/view/lmn/nextcloud: false","sidebar:view:/view/lmn/oldsession: false","sidebar:view:/view/lmn/quotas: false","sidebar:view:/view/lmn/samba_dns: false","sidebar:view:/view/lmn/schoolsettings: false","sidebar:view:/view/lmn/session: false","sidebar:view:/view/lmn/sessionsList: false","sidebar:view:/view/lmn/users/globaladmins: false","sidebar:view:/view/lmn/users/listmanagement: false","sidebar:view:/view/lmn/users/print-passwords: false","sidebar:view:/view/lmn/users/schooladmins: false","sidebar:view:/view/lmn/users/students: false","sidebar:view:/view/lmn/users/teachers: false","sidebar:view:/view/lmn/websession: false","sidebar:view:/view/lmn_clients: false"],"sophomorixFirstPassword":"j6hNkX4)mj","memberOf":["CN=role-student,OU=Groups,OU=GLOBAL,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-it,OU=it,OU=Students,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-internet,OU=Management,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-wifi,OU=Management,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-webfilter,OU=Management,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-intranet,OU=Management,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule","CN=gym-printing,OU=Management,OU=gym,OU=SCHOOLS,DC=ntz,DC=lan,DC=multi,DC=schule"],"sophomorixIntrinsic5":null,"sn":"Management","sophomorixIntrinsicMulti3":[],"sophomorixSurnameInitial":"M.","sophomorixIntrinsicMulti1":[]}},"COUNTERS":{"COMPUTER":0,"USER":1,"ROOM":0,"ALL":1,"GROUP":0,"SCHOOL":0},"LISTS":{"USER":["it-mgmt"],"COMPUTER":[],"GROUP":[],"ROOM":[]}}# JSON-end```

LG Jürgen

Hallo Jürgen,

Ok, danke, das verwendete Quota für den Share „gym“ liegt nicht in Ldap, und der User hat keine Grenze.

Ich weiss nicht genau, wo der Share „gym“ liegt, taucht vielleicht eine Info in

quota -wvuls it-mgmt

?

Vielleicht löst ein sophomorix-quota das Problem ?

Gruß

Arnaud

Hallo Arnaud,

sorry, ich vergaß zu sagen, dass wir in einer Multi-Schul-Umgebung sind und „gym“ ist unsere Schule.
Hier der Output:

root@server:/home/NTZ/gym-admin# quota -wvuls it-mgmt
quota: Cannot open quotafile //aquota.user: No such file or directory
Disk quotas for user NTZ\it-mgmt (uid 3002615):
Filesystem space quota limit grace files quota limit grace
/dev/mapper/vg_srv-global 0K 81920K 100M 0 0 0
/dev/mapper/vg_srv-default–school 0K 0K 0K 0 0 0
root@server:/home/NTZ/gym-admin#

und

0 ERRORS, 0 WARNINGS → let’s go ####
Creating lock in /var/lib/sophomorix/lock/sophomorix.lock ####
/usr/sbin/sophomorix-quota started … ####
Removing lock in /var/lib/sophomorix/lock/sophomorix.lock ####
/usr/sbin/sophomorix-quota terminated regularly ####
Calling console printout
LOG : /usr/sbin/sophomorix-quota terminated regularly
0 users mailquota updated
0 users smbcquota updated

Hilft das weiter?

LG Jürgen

Hallo Jürgen,

Ja, das hatte ich mir auch gedacht.
Der Befehl quota wird da nicht helfen, da die Dateien auf einem Samba-Fileserver liegen.

Ich glaube, dass die Quotas damit durch smbcquotas gecheckt sind, vielleicht mit einem Befehl wie:

smbcquotas -U administrator%$(cat /etc/linuxmuster/.secret/administrator) -u it-mgmt //NTZ/gym

(Befehl anzupassen je nach deiner Samba-Konfiguration)

Und vielleicht hilft dabei den Befehl:

sophomorix-quota -s gym

Gruß

Arnaud