Error with clean installation

Read this thread, might be similar issue.
https://discuss.frappe.io/t/solved-v6-upgrade-errors/7282