Univention Bugzilla – Bug 53123
Error when trying to join unjoined system vie Domain join module: a bytes-like object is required, not 'str'
Last modified: 2021-05-25 16:00:40 CEST
When trying to join an unjoined system via the Domain join module the following error occurs: "Ein unerwarteter Fehler ist aufgetreten: a bytes-like object is required, not 'str'" POST /univention/command/join/progress?request.preventCache=1618812668161 {"result": {"finished": true, "steps": 0.0, "component": "Dom\u00e4nenbeitritt", "info": "beendet...", "errors": ["Ein unerwarteter Fehler ist aufgetreten: a bytes-like object is required, not 'str'"], "critical": false}, "message": null, "error": null, "reason": null, "status": 200}
commit 5ce1a64f771a291d3c30a27207456202b3781072 (HEAD -> 5.0-0, origin/5.0-0) Author: Florian Best <best@univention.de> Date: Mon Apr 19 13:51:12 2021 +0200 fixup! Bug #51330: Migrated Join UMC module to python 3 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/notifier/threads.py", line 80, in _run result = self._function() File "/usr/lib/python3/dist-packages/univention/management/console/modules/join/__init__.py", line 431, in _thread critical_handler=self.progress_state.critical_handler, File "/usr/lib/python3/dist-packages/univention/management/console/modules/join/__init__.py", line 164, in system_join passwordFile.write(password) File "/usr/lib/python3.7/tempfile.py", line 620, in func_wrapper return func(*args, **kwargs) TypeError: a bytes-like object is required, not 'str' *** This bug has been marked as a duplicate of bug 51330 ***
OK: error does not occur anymore -> verified
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".