Hi,
no, ```/var/gluu/webapps``` does not exist in 2.4.2 version.
I tried again, but now I have another error and this time related to the first one:
```
INFO Copying the custom pages and assets of webapps.
Traceback (most recent call last):
File "./import30.py", line 669, in <module>
migrator.migrate()
File "./import30.py", line 646, in migrate
self.copyCustomFiles()
File "./import30.py", line 253, in copyCustomFiles
copy_tree(pair[0], pair[1])
File "/usr/lib/python2.7/distutils/dir_util.py", line 128, in copy_tree
"cannot copy tree '%s': not a directory" % src
distutils.errors.DistutilsFileError: cannot copy tree '/var/gluu/webapps/oxauth/pages': not a directory
```
I was able to bypass that by modifying the following lines in the script:
```
for pair in folder_map:
copy_tree(pair[0], pair[1])
```
to
```
for pair in folder_map:
if os.path.isdir(pair[0]):
copy_tree(pair[0], pair[1])
```
But then, I have several errors:
```
INFO Processing the LDIF data.
slapadd: dn="inum=@!XXXX.XXXX.XXXX.XXXX!XXXX!XXXX.XXXX!XXXX!XXXX.XXXX,ou=people,o=@!XXXX.XXXX.XXXX.XXXX!XXXX!XXXX.XXXX!XXXX!XXXX.XXXX,o=gluu" (line=112750): (65) invalid structural object class chain (gluuPerson/person)
slapadd: dn="inum=@!XXXX.XXXX.XXXX.XXXX!XXXX!XXXX.XXXX!XXXX!XXXX.XXXX,ou=people,o=@!XXXX.XXXX.XXXX.XXXX!XXXX!XXXX.XXXX!XXXX!XXXX.XXXX,o=gluu" (line=112769): (65) invalid structural object class chain (gluuPerson/inetOrgPerson)
...
Error, entries missing!
```
And after I've restarted the server, I've found the following exception in ```
/opt/gluu/jetty/oxauth/logs/oxauth.log``` when I try to load the home page:
```
2017-08-10 12:11:51,463 ERROR [main] [org.xdi.oxauth.service.AppInitializer] (AppInitializer.java:440) - Failed to load appliance entry from Ldap
org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to find entry: inum=@!XXXX.XXXX.XXXX.XXXX!XXXX!XXXX.XXXX!XXXX!XXXX.XXXX,ou=appliances,o=gluu
```
Btw, I've tried to use OpenLDAP instead of OpenDJ, which was used on the previous version.