Wir beschäftigen uns gerade mit dem Connector zum AppleSchoolManager (ASM):
Es ist alles eingerichtet, die Daten für den SFTP-Transfer von UCS zum ASM sind gem. den Vorgaben eingetragen, die Haken sind gesetzt bei
Apple School Manager synchronisation, nach speichern der Appeinstellungen, ausführen
sowie
Das Generierte zip Archiv nicht nach dem Upload löschen. Siehe /var/lib/asm/.
Nach “Änderungen anwenden” (damit ist wohl Speichern der App-Einstellungen gemeint) dreht sich kurz ein Kreis, sonst passiert nix, es gibt auch keine Meldungen.
Unter /var/lib/asm sollte nun eigentlich die ZIP-Datei zu finden sein - der Ordner ist jedoch leer!
Auch die Automatische Synchronisation ist aktiviert, doch im ASM gibt es keine Einträge.
Eine merkwürdige App, die nicht tut, was sie verspricht - vllt. hat hier ja jemand bessere Erfahrungen gemacht und möchte sie teilen!
Habe mal im Appcenter-Logfile geforscht und Fehler gefunden:
Evtl. gibt es ein Problem damit, daß nicht alle Lehrer über eine Mailadresse verfügen - aber warum gibt es dann dazu keine ausagekräftige Fehlermeldung?
3215 settings 20-06-17 13:23:22 [ INFO]: Setting asm/username to 'xxxxxxxxxxxx@sftp.apple.com'
3215 settings 20-06-17 13:23:22 [ INFO]: Setting asm/store_zip to 'true'
3215 settings 20-06-17 13:23:22 [ INFO]: Setting asm/sync_daily/hour to '3'
3215 actions.configure 20-06-17 13:23:22 [ DEBUG]: Calling /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/app
3215 actions.register 20-06-17 13:23:22 [ DEBUG]: Calling register
3215 actions.register.progress 20-06-17 13:23:22 [ DEBUG]: 0
3215 actions.register 20-06-17 13:23:22 [ DEBUG]: No apps given. Using all
3215 actions.update 20-06-17 13:23:22 [ DEBUG]: Calling update
3215 actions.update.progress 20-06-17 13:23:22 [ DEBUG]: 0
(...)
3215 actions.update 20-06-17 13:23:23 [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini
3215 actions.register 20-06-17 13:23:23 [ INFO]: Registering UCR for apple-school-manager
3215 actions.register 20-06-17 13:23:23 [ INFO]: Marking apple-school-manager=2.1 as installed
3215 actions.register 20-06-17 13:23:23 [ INFO]: Adding localhost to LDAP object
3215 actions.update 20-06-17 13:23:23 [ DEBUG]: ... Not Modified
3215 actions.update 20-06-17 13:23:23 [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: Traceback (most recent call last):
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/sbin/asm-upload", line 98, in <module>
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: main()
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/sbin/asm-upload", line 89, in main
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: zip_path = asmUpload.upload()
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/asm_upload.py", line 60, in
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: zip_path = AsmZipFile(file_path, self.ou_whitelist).write_zip()
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/csv/zip_file.py", line 99, i
3215 actions.update 20-06-17 13:23:23 [ DEBUG]: ... Not Modified
3215 actions.update 20-06-17 13:23:23 [ INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/suggestions.json"
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: self.csv_files = self.create_csv_files()
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/csv/zip_file.py", line 76, i
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: self.csv_files = create_csv_files(tmp_dir, self.ou_whitelist)
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/csv/csv_file.py", line 369,
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: cls(path, ou_whitelist).write_csv()
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/csv/csv_file.py", line 182,
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: for obj in objs:
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/csv/csv_file.py", line 301,
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: yield AsmStaff.from_dn(dn, ou_whitelist=self.ou_whitelist)
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/models/staff.py", line 144,
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: if teacher.email and not check_domain(teacher.email):
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: File "/usr/lib/pymodules/python2.7/univention/asm/utils.py", line 74, in check
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: _known_domains[domain_to_check] = bool(dns_result.answers)
3215 actions.configure 20-06-17 13:23:23 [ WARNING]: AttributeError: 'NoneType' object has no attribute 'answers'