hi Meir Greenfeld
```Detected OS centos 7 Missing package(s): python-ldap3. Install now? (Y|n): y Traceback (most recent call last): File "update.py", line 2000, in <module> from setup.pylib.generate_properties import generate_properties File "/opt/gluu/setup/pylib/generate_properties.py", line 76, in <module> if package_type == 'rpm': NameError: name 'package_type' is not define ```
Gluu-server 4.0 require ``` python-ldap ```package
``` python-ldap 3 ```package is for above versions, please check you have downloaded the right script.
Please share your procedure, how are you trying to upgrade the server.
Regards Mohit Mali.