Univention Bugzilla – Bug 42228
Migrate Univention web services (portal, management, login etc.) below /univention/*
Last modified: 2017-04-06 19:05:57 CEST
UCS 4.2 is the right point in time to generalize the web URI structure. It will be helpful to have a generic struture that sensibly refelcts our different web services, e.g.: /univention → web portal /univention/management → UMC /univention/login → global login page /univention/user-services → password and self services /univention/command → UMC commands that are redirected to the UMC server ...
*** Bug 32051 has been marked as a duplicate of this bug. ***
UCS-4.2-0 DVD Install, Setup doesn't start, 10.200.17.4, /var/log/univention/management-console-web-server.log 08.09.16 11:09:58.961 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 411, in __call__ raise self NotFound: (404, "The path '/index.html' was not found.") 08.09.16 11:10:15.614 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 411, in __call__ raise self NotFound: (404, "The path '/management/login.html' was not found.") 08.09.16 11:10:16.389 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 411, in __call__ raise self NotFound: (404, "The path '/management/saml/iframe/' was not found.") 08.09.16 11:12:55.000 MAIN ( PROCESS ) : auth: username: __systemsetup__, status code: 503
(In reply to Philipp Hahn from comment #2) > UCS-4.2-0 DVD Install, Setup doesn't start, 10.200.17.4, Should be fixed now. The DVD used python-univention-management-console 9.0-7. Should be fixed with 9.0.10. > NotFound: (404, "The path '/index.html' was not found.") Will be fixed soon, as the portal doesn't exists yet. > NotFound: (404, "The path '/management/login.html' was not found.") That's not important, will be fixed by Bug #42174 > NotFound: (404, "The path '/management/saml/iframe/' was not found.") That's okay at this state as the SAML certificates doesn't exists yet. I will change this into a 503. > 08.09.16 11:12:55.000 MAIN ( PROCESS ) : auth: username: > __systemsetup__, status code: 503 This means that the UMC-Server doesn't run.
/univention/portal/ → html /univention/management/ → /usr/share/umc-frontend/ /univention/js/dijit/.* /univention/js/dojox/.* /univention/js/dojo/.* /univention/js/umc/.* /univention/js/management/ -> /usr/share/umc-frontend/js /univention/js/management/main.js (previously app.js) /univention/js/portal/main.js /univention/js/dijit/themes/umc/ /univention/js/dijit/themes/umc/icons -> management/dijit/themes/umc/icons /univention/js/umc/modules -> management/umc/modules
(In reply to Florian Best from comment #4) > /univention/portal/ → html > /univention/management/ → /usr/share/umc-frontend/ > /univention/js/dijit/.* > /univention/js/dojox/.* > /univention/js/dojo/.* > /univention/js/umc/.* > /univention/js/management/ -> /usr/share/umc-frontend/js > /univention/js/management/main.js (previously app.js) > /univention/js/portal/main.js > /univention/js/dijit/themes/umc/ > /univention/js/dijit/themes/umc/icons -> management/dijit/themes/umc/icons > /univention/js/umc/modules -> management/umc/modules Implemented the above structure except portal: r 72717 | univention-management-console(9.0.12-17A~4.2.0.201609211207) Bug #42228: * renamed app.js to main.js * moved all widgets to the same dir as main.js * adjusted symlinks and module identifiers for new structure r 72715 | univention-web(1.0.2-2A~4.2.0.201609211051) Bug #42228: * removed empty directory * removed unused images * removed icons folder from installation r 72720 | univention-management-console-module-udm(7.0.1-7A~4.2.0.201609211232) * Bug #42228: changed module identifiers for widgets from univention-management-console
(In reply to Florian Best from comment #4) instead of: > /univention/js/management/main.js better: > /univention/management/main.js instead of: > /univention/js/portal/main.js better: > /univention/portal/main.js
(In reply to Florian Best from comment #6) > (In reply to Florian Best from comment #4) > instead of: > > /univention/js/management/main.js > better: > > /univention/management/main.js r 72762 | univention-management-console(9.0.12-18A~4.2.0.201609221713) * Bug #42228: restructured file locations under www and adjusted dojoConfig r 72763 | univention-management-console-module-udm(7.0.1-8A~4.2.0.201609221717) * Bug #42228: adjusted module identifiers
(In reply to Johannes Keiser from comment #5) > r 72717 | univention-management-console(9.0.12-17A~4.2.0.201609211207) The apache conffile changes seem incorrect, I fixed them and added a test case: r76149 | Bug #42228: fix apache rewrite rule svn r72717 r76148 | Bug #43348: Add basic apache/UMC tests
AFAIS, this bug can be closed, right?
r76525 | Bug #42228: remove empty directories r76524 | Bug #42228: remove empty directories univention-web (1.0.26-5): r76522 | Bug #42228: move entries.json to univention-wen meta.json r76412 | Bug #42228: redirect /univention/ r76353 | Bug #42228: migrate essential ucs-overview things into this package r76342 | Bug #42228: remove ucs-overview r76236 | Bug #42228: rewrite /univention-management-console/ URI's r72715 | Bug #42228: r72327 | Bug #42228: adjust saml iframe path r72272 | Bug #42228: adjust paths to /univention/ univention-lib (6.0.6-8): r72332 | Bug #42228: make umc_connection capable to communicate with legacy path's. r72326 | Bug #42228: make umc_connection capable to communicate with legacy path's. r72257 | Bug #42228: adjust URI's of umc_frontend_new_hash ucs-test (7.0.11-8): r76346 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's r75844 | Bug #42228: adjust path univention-nagios (10.0.1-1): r76348 | Bug #42228: ucs-overview → univention univention-system-info (7.0.2-1): r72662 | Bug #42431: migrate to new URI structure (Bug #42228) univention-apache (9.0.2-2): r76521 | Bug #42228: move entries.json to univention-wen meta.json r76342 | Bug #42228: remove ucs-overview univention-app-appliance (1.0.1-1): r76344 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's univention-management-console (9.0.35-1): r76555 | Bug #42228: prevent tracebacks for 404 Not Found errors r76350 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's r76159 | Bug #42228: fix login.html link r76149 | Bug #42228: fix apache rewrite rule svn r72717 r72762 | Bug #42228: restructured file locations under www and adjusted dojoConfig r72717 | Bug #42228: r72586 | Bug #42228: make univention a apache site again r72585 | Bug #42228: make univention a apache site again r72460 | Bug #42228: fixup svn r72274 r72296 | Bug #42228: fix typo in last commit r72291 | Bug #42228: adjust paths to /univention/ r72290 | Bug #42228: adjust paths to /univention/ r72274 | Bug #42228: adjust paths to /univention/ r72253 | Bug #42228: adjust some URIs univention-management-console-module-udm (7.0.5-1): r72763 | Bug #42228: adjusted module identifiers r72720 | Bug #42228: changed module identifiers for widgets from r72273 | Bug #42228: adjust paths to /univention/ ucs-ec2-tools (3.0.2-1): r76343 | Bug #42228: ucs-overview → univention univention-self-service (2.0.3-1): r76349 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's univention-cloud-init (4.0.1-1): r76909 | Bug #42228: move entries.json to meta.json r76345 | Bug #42228: ucs-overview → univention univention-system-setup (10.0.6-3): r76343 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's univention-ucs-translation-template (4.1.0-6): r76236 | Bug #42228: rewrite /univention-management-console/ URI's univention-doc (4.0.0-2): r76352 | Bug #42228: ucs-overview → univention univention-saml (4.0.6-2): r76347 | Bug #42228: ucs-overview → univention univention-system-activation (2.0.1-3): r76535 | Bug #42228: rewrite config path location r76351 | Bug #42228: ucs-overview → univention r76236 | Bug #42228: rewrite /univention-management-console/ URI's
Should /univention-doc/umc/ and /univention-doc/univention-doc/ be migrated to /univention/documentation/ ?!
(In reply to Florian Best from comment #11) > Should /univention-doc/umc/ and /univention-doc/univention-doc/ be migrated > to /univention/documentation/ ?! ATM, I do not think so. I added the changelog entry for this bug. changelog-4.2-0.xml: r78048 | Bug #42228: Added changelog entry This bug can be closed now, all related tasks have been done. In case there are any further problems, new bugs will be opened.
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".
Something in the management console still seems to be broken: This happens, when I call: https://IP-Address/univention 06.04.17 19:04:41.976 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 411, in __call__ raise self NotFound: (404, "The path '/portal/None' was not found.") 06.04.17 19:04:42.091 MAIN ( ERROR ) : Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 411, in __call__ raise self NotFound: (404, "The path '/login/main.js' was not found.")