das ist mein erster Eintrag hier im Forum und habe dirkt eine Frage. Ich betreibe zwei Opsi Server unter Ubuntu. Da wir nun auf die UCS Server wechseln wollen, habe ich einen Opsi Server per App-Center neu aufgesetzt.
Auf den Ubuntu-Opsi-Servern kann ich eigene Pakete ohne probleme installieren (Commandline & PackageBuilder), auf dem UCS-Opsi macht ein Paket Probleme, wo ich nicht weiter komme:
Code: Alles auswählen
$ opsi-package-manager -i microsoft-office_16.0.14931.20118-cr1.0.opsi
Ein Fehler ist aufgetreten:
Fehler beim Bearbeiten von Install of package(s) /var/lib/opsi/workbench/microsoft-office/microsoft-office_16.0.14931.20118-cr1.0.opsi on depot 'srvopsi.fritz.box':
Opsi rpc error: Backend error: Failed to install package '/var/lib/opsi/workbench/microsoft-office/microsoft-office_16.0.14931.20118-cr1.0.opsi' on depot 'srvopsi.fritz.box': (MySQLdb._exceptions.DataError) (1406, "Data too long for column 'userLoginScript' at row 1")
[SQL: INSERT INTO `PRODUCT` (`name`,`licenseRequired`,`setupScript`,`uninstallScript`,`updateScript`,`alwaysScript`,`onceScript`,`customScript`,`userLoginScript`,`priority`,`description`,`advice`,`changelog`,`productVersion`,`packageVersion`,`type`,`productId`) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)]
[parameters: ('Microsoft Office 365', False, 'setup.opsiscript', 'uninstall.opsiscript', '', '', '', '', '\nStets aktuelle Versionen der Office-Anwendungen für Desktop- und Mobilgeräte: Outlook, Word, Excel, PowerPoint, OneNote (plus Access und Publisher nur für den PC)\nWebversionen von Word, Excel und PowerPoint\nDateispeicherung und -freigabe mit 1 TB OneDrive-Cloudspeicher', 0, 'Microsoft 365 Apps for Business, Ihre Produktivitäts-Cloud für Arbeit und Privat', 'Eine Nutzerlizenz gilt für vollständig installierbare Office-Anwendungen auf 15 Endgeräten (5 Smartphones, 5 Tablets und 5 PCs oder Macs)1', 'microsoft-office (16.0.14931.20118-2) stable; urgency=low\n\nInstall Error 17004\n\n -- Ralf Cremer <info@cremer-web.de> Mon, 04 Apr 2022 19:49:41 + ... (42 characters truncated) ... -1) stable; urgency=low\n\nInitial: microsoft-office_16.0.14931.20118-1.opsi\n\n -- Ralf Cremer <info@cremer-web.de> Tue, 29 Mar 2022 17:10:28 +0000', '16.0.14931.20118', 'cr1.0', 'LocalbootProduct', 'microsoft-office')]
(Background on this error at: https://sqlalche.me/e/14/9h9h) (error on server)
ERROR: Failed to process command 'install': 1 errors during the processing of tasks.
Die Datenbank habe ich auch schon geprüft:
Code: Alles auswählen
# opsi-setup --update-mysql
[5] [2022-04-13 15:01:45.668] [ ] Connection to database 'opsi' on '127.0.0.1' as user 'opsi' (MySQL.py:62)
[5] [2022-04-13 15:01:45.762] [ ] Creating opsi base (SQL.py:604)
[5] [2022-04-13 15:01:46.056] [ ] Creating opsi base (SQL.py:604)
[5] [2022-04-13 15:01:46.130] [ ] Creating base path: '/var/lib/opsi/config' (File.py:215)
[5] [2022-04-13 15:01:46.360] [ ] Creating opsi base (SQL.py:604)
[5] [2022-04-13 15:01:46.425] [ ] Creating base path: '/var/lib/opsi/config' (File.py:215)
[5] [2022-04-13 15:01:46.426] [ ] Setting up default values. (ConfigurationData.py:64)
[5] [2022-04-13 15:01:46.440] [ ] Finished setting up default values. (ConfigurationData.py:71)
[5] [2022-04-13 15:01:46.631] [ ] Configuring samba (Samba.py:32)
[5] [2022-04-13 15:01:46.667] [ ] Share opsi_depot found and samba 4 is detected. Setting executable fix on opsi_depot share (Samba.py:106)
[5] [2022-04-13 15:01:46.668] [ ] Adding 'acl allow execute always = true' (Samba.py:116)
Code: Alles auswählen
# mysql, opsipxeconfd and no dhcpd backend:
backend_.* : mysql, file, opsipxeconfd
host_.* : mysql, file, opsipxeconfd
productOnClient_.* : mysql, opsipxeconfd
configState_.* : mysql, opsipxeconfd
license.* : mysql
softwareLicense.* : mysql
audit.* : mysql
.* : mysql
Vielen Dank
Gruss
Ralf