Show advanced section on error. Fixes #5191
Improve expand/collapse logic
Merge pull request #5290 from owncloud/fixing-5191-master

Installation. Show advanced section on error. Fixes #5191