Bug 43308 - Could not load module "/univention/management/StartupDialog.js".
Could not load module "/univention/management/StartupDialog.js".
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Johannes Keiser
Florian Best
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-06 10:07 CET by Philipp Hahn
Modified: 2017-04-04 18:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2017-01-06 10:07:04 CET
4.1-4 updated to 4.2-0

# dpkg -S StartupDialog.js
univention-management-console-frontend: /usr/share/univention-management-console-frontend/widgets/StartupDialog.js

# readlink /var/www/univention/management
/usr/share/univention-management-console-frontend

Broken symbolic link:
# find /etc/apache2 -xtype l -printf '%p %l\n'
/etc/apache2/sites-enabled/univention-saml ../sites-available/univention-saml
/etc/apache2/sites-enabled/univention-management-console ../sites-available/univention-management-console

# grep -n ProxyPassReverse /etc/apache2/sites-enabled/univention.conf 
28:ProxyPassReverse /univention/ http://127.0.0.1:8090/
Comment 1 Florian Best univentionstaff 2017-01-06 10:55:53 CET
(In reply to Philipp Hahn from comment #0)
> 4.1-4 updated to 4.2-0
> 
> # dpkg -S StartupDialog.js
> univention-management-console-frontend:
> /usr/share/univention-management-console-frontend/widgets/StartupDialog.js
> 
> # readlink /var/www/univention/management
> /usr/share/univention-management-console-frontend
Yes, the file has to be moved into the parent directory (or the link adjusted).

> Broken symbolic link:
> # find /etc/apache2 -xtype l -printf '%p %l\n'
> /etc/apache2/sites-enabled/univention-saml ../sites-available/univention-saml
> /etc/apache2/sites-enabled/univention-management-console
> ../sites-available/univention-management-console
svn r72456 should have fixed this. But if not it seems UCR doesn't unregister old files or something? I thought this was fixed by any of Bug #27872 / Bug #23737 / etc.

> # grep -n ProxyPassReverse /etc/apache2/sites-enabled/univention.conf 
> 28:ProxyPassReverse /univention/ http://127.0.0.1:8090/
What is wrong with this?
Comment 2 Florian Best univentionstaff 2017-01-19 16:50:19 CET
@Johannes:
Could you have a look why the StartupDialog is in the wrong directory / path.
Comment 3 Johannes Keiser univentionstaff 2017-01-20 10:19:24 CET
r 75953
univention-management-console (9.0.16-2) 
* Bug #43308: Fix requiring of some Dialogs and added missing css file
Comment 4 Florian Best univentionstaff 2017-01-26 15:17:08 CET
OK: StartupDialog.js

Regarding the broken symlink, I think this is fixed by Stefan in Bug #42196 r75764

interim-version: no changelog required.
Comment 5 Stefan Gohmann univentionstaff 2017-04-04 18:29:45 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".