Hi, seems like you have several issues.
1. file permissions (can't write to var directory)
2. Seems like you have forgot to set the SiteLanguageList[]= ini variable as described in upgrade doc. 3. DB might be corrupted (in that case you should try to upgrade from your 3.7 database to a more recent version of 3.8 directly)