Bug 36657

Summary: after update of appcenter the apps.mo file is corrupt
Product: UCS Reporter: Andreas Peichert <peichert>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: best, gohmann, jmm, wiesenthal
Version: UCS 3.2   
Target Milestone: UCS 3.2-4-errata   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=36658
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Error handling, External feedback
Max CVSS v3 score:
Bug Depends on:    
Bug Blocks: 37571    
Attachments: updater.log

Description Andreas Peichert univentionstaff 2014-11-13 16:50:47 CET
hexdump /usr/share/univention-management-console/i18n/de/apps.mo
0000000 000a                                   
0000001

After ucr commit by hand the file is correct again.
Comment 1 Andreas Peichert univentionstaff 2014-11-13 16:56:01 CET
Created attachment 6368 [details]
updater.log

logfile does not contain anything unusual.
Comment 2 Janis Meybohm univentionstaff 2014-12-10 15:39:27 CET
This has been reported several times now:
http://forum.univention.de/viewtopic.php?f=48&t=3619
http://forum.univention.de/viewtopic.php?f=48&t=3514

Always in correlation with the traceback from bug36658
Comment 3 Florian Best univentionstaff 2014-12-10 15:44:05 CET
(In reply to Janis Meybohm from comment #2)
> This has been reported several times now:
> http://forum.univention.de/viewtopic.php?f=48&t=3619
> http://forum.univention.de/viewtopic.php?f=48&t=3514
> 
> Always in correlation with the traceback from bug36658

Which UCS version do they use? is UCS 3.2 also affected?
This command fixes it:
ucr commit /usr/share/univention-management-console/i18n/de/apps.mo
Comment 4 Janis Meybohm univentionstaff 2014-12-10 16:03:17 CET
(In reply to Florian Best from comment #3)
> Which UCS version do they use? is UCS 3.2 also affected?
Looks like 3.2 is also affected (<http://forum.univention.de/viewtopic.php?f=48&t=3514>).

> This command fixes it:
> ucr commit /usr/share/univention-management-console/i18n/de/apps.mo
Well ... thanks :P
Comment 5 Janis Meybohm univentionstaff 2014-12-11 08:58:45 CET
Hit third customer now (UCS 3.2 again): 2014121021000269

As the UMC login is no longer possible (without any error message), I'm tagging this errata.
Comment 6 Janis Meybohm univentionstaff 2014-12-15 11:00:51 CET
Next one (4.0)
http://forum.univention.de/viewtopic.php?f=48&t=3514&p=13015
Comment 7 Florian Best univentionstaff 2015-01-20 10:20:43 CET
@Dirk: wouldn't it be better to move the apps = Application.all_installed() also into the try/except block?

Please merge also to UCS 3.2-4 (this bug is tagged against 3.2-4).
Comment 8 Dirk Wiesenthal univentionstaff 2015-01-22 13:12:31 CET
Fixed in
  univention-management-console-module-appcenter 3.0.51-27.312.201501221307
Comment 9 Florian Best univentionstaff 2015-01-23 12:39:19 CET
Merge: OK
YAML: OK
Comment 10 Moritz Muehlenhoff univentionstaff 2015-02-09 12:32:09 CET
http://errata.univention.de/ucs/3.2/281.html