UCS: 5.0-9 errata1133 Installed: cups=2.2.1 dhcp-server=12.0 samba4=4.16 self-service=5.0 squid=3.5 ucsschool=5.0 v6 ucsschool-veyon-proxy=4.9.0.8-ucs1 Upgradable: Settings: veyon/WebAPI/ConnectionLimit: 5000 (Maximum number of connections for the veyon WebAPI) veyon/WebAPI/ConnectionIdleTimeout: 60 (Sets timeout for idling connections, in seconds. Reducing this value can help to avoid unnecessary VNC connections between the proxy and the Windows clients.) veyon/Core/ComputerStatePollingInterval: 1000 (Polling interval for state changes in milliseconds) veyon/Master/ComputerMonitoringUpdateInterval: 1000 (Update interval for the created thumbnail in milliseconds.) veyon/Master/ComputerMonitoringImageQuality: 4 (Sets the image quality value 0 (highest) to 4 (lowest).) ucsschool/umc/computerroom/screenshot/interval: 5 ucsschool/umc/computerroom/update-interval: 1 I could reproduce an issue from the customer. During the exam-mode if i collect the exam-documents, i get the following error in the /var/log/univention/management-console-module-schoolexam.log 08.10.24 12:34:46.882 MODULE ( PROCESS ) : info:75 Vorbereiten der Raumeinstellungen - beendet... 08.10.24 12:34:46.915 MODULE ( PROCESS ) : _cleanTmpDir:180 Clean up temporary directory: /tmp/ucsschool-exam-upload-1e5jcg1k 08.10.24 12:34:47.070 MODULE ( PROCESS ) : Received request 'schoolexam/progress': ('s.gohmann', None, None, 'de_DE.UTF-8') 08.10.24 12:39:16.057 MODULE ( PROCESS ) : Received request 'schoolexam/exam/collect': ('s.gohmann', None, None, 'de_DE.UTF-8') 08.10.24 12:39:16.058 MODULE ( PROCESS ) : collect_exam:862 exam='Informatik-Test' 08.10.24 12:39:16.059 MODULE ( PROCESS ) : collect_exam:866 loaded project=Project(name='Informatik-Test') dict={'name': 'Informatik-Test', 'description': 'Informatik-Test', 'files': ['Tux.svg.png', 'basi strainingtextvers.pdf', 'Linux_kernel.txt'], 'starttime': '2024-10-08 12:34', 'deadline': '13:15', 'atJobNumDistribute': None, 'atJobNumCollect': None, 'sender': {'unixhome': '/home/mejneschool2/lehrer/s.gohmann ', 'username': 's.gohmann', 'uidNumber': '2728', 'gidNumber': '5305', 'firstname': 'Stefan', 'lastname': 'Gohmann', 'dn': 'uid=s.gohmann,cn=lehrer,cn=users,ou=mejneschool2,dc=ucs5schoolhejne,dc=intranet', '__typ e__': 'USER'}, 'recipients': [{'unixhome': '/home/mejneschool2/schueler/exam-homes/exam-esra.erde.20241008-123429', 'username': 'exam-esra.erde', 'uidNumber': '2787', 'gidNumber': '5305', 'firstname': 'Esra', 'l astname': 'Erde', 'dn': 'uid=exam-esra.erde,cn=examusers,ou=mejneschool2,dc=ucs5schoolhejne,dc=intranet', '__type__': 'USER'}, {'unixhome': '/home/mejneschool2/schueler/exam-homes/exam-mirac.erde.20241008-123430 ', 'username': 'exam-mirac.erde', 'uidNumber': '2788', 'gidNumber': '5305', 'firstname': 'Mirac', 'lastname': 'Erde', 'dn': 'uid=exam-mirac.erde,cn=examusers,ou=mejneschool2,dc=ucs5schoolhejne,dc=intranet', '__t ype__': 'USER'}, {'unixhome': '/home/mejneschool2/schueler/exam-homes/exam-emel.erde.20241008-123429', 'username': 'exam-emel.erde', 'uidNumber': '2786', 'gidNumber': '5305', 'firstname': 'Emel', 'lastname': 'Er de', 'dn': 'uid=exam-emel.erde,cn=examusers,ou=mejneschool2,dc=ucs5schoolhejne,dc=intranet', '__type__': 'USER'}], 'isDistributed': True, 'room': 'cn=mejneschool2-Raum-Mejne2,cn=raeume,cn=groups,ou=mejneschool2, dc=ucs5schoolhejne,dc=intranet', '__type__': 'PROJECT'} 08.10.24 12:39:16.060 MODULE ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/distribution/util.py", line 523, in _create_project_dir os.chown(startdir, owner, group) PermissionError: [Errno 1] Die Operation ist nicht erlaubt: '/home/mejneschool2/lehrer/s.gohmann/Klassenarbeiten' 08.10.24 12:39:16.061 MODULE ( ERROR ) : failed to create/chown '/home/mejneschool2/lehrer/s.gohmann/Klassenarbeiten/Informatik-Test-Ergebnisse': [Errno 1] Die Operation ist nicht erlaubt: '/home/mejnesc hool2/lehrer/s.gohmann/Klassenarbeiten'
Customer effected 2024041721000145
Even if the error occurs in the log, this is not displayed in the UMC. The UMC shows that the class work has been successfully collected. These can then be found again under the teacher's shares ‘My shares/classwork’ I attached a screenshot from my test-system.
Created attachment 11243 [details] Klassenarbeiten vom Lehrer
Another customer effected 2024092721000082 24.09.24 11:29:27.982 MODULE ( PROCESS ) : component:72 Einsammeln der Klassenarbeitsdateien... 24.09.24 11:29:27.983 MODULE ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python3/dist-packages/univention/management/console/modules/distribution/util.py", line 523, in _create_project_dir os.chown(startdir, owner, group) PermissionError: [Errno 1] Die Operation ist nicht erlaubt: '/home/Schule/lehrer/a.mustermann/Klassenarbeiten' I guess this bug is created since the update from 19.09, because the customer installed the latest UCS@school updates today. So this could not be from the performance Updates etc. https://docs.software-univention.de/ucsschool-changelog/5.0v5/de/changelog.html#released-on-2024-09-19
Reproduce traceback: OK Install changes: OK Reproduce traceback: OK; Did not occur anymore. Tests: OK; I ran some tests that call the check_results. They fail before the update and pass after.
Built packages: Package: ucs-school-umc-distribution Version: 18.0.10 Branch: 5.0-0 Scope: ucs-school-5.0 Package: ucs-test-ucsschool Version: 7.3.195 Branch: 5.0-0 Scope: ucs-school-5.0
Errata updates for UCS@school 5.0 v6 have been released. https://docs.software-univention.de/ucsschool-changelog/5.0v6/en/changelog.html https://docs.software-univention.de/ucsschool-changelog/5.0v6/de/changelog.html If this error occurs again, please clone this bug.
To solve upcoming issue's use the following article. https://help.univention.com/t/problem-ucs-school-collecting-results-in-exam-mode-filenotfounderror-errno-2-file-or-directory-not-found/23598