You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It was about a year ago I did this setup. The only thing I changed back then was to adapt the docker-compose.yml to not mount windows files into /workspace. Use a volume instead, so that all files are local to wsl2.
Now I try to do the same setup on a new Windows 11 machine.
I am able to init bench with success, it is running fast: bench init --skip-redis-config-generation --frappe-branch version-14 frappe-bench
But when reach the step to create the new-site, it is extremely slow: bench new-site --mariadb-root-password 123 --admin-password admin --no-mariadb-socket development.localhost
It gets stuck at the step showing Updating Frappe doctypes with a percentage, it takes more than 2 hours to complete. Then doing Erpnext is even longer.
I understand this step is doing migration and creating database tables.
I tried this on different Windows machines, same issue.
I even tried using docker engine installed in WSL2 Ubuntu (instead of windows docker desktop), still same issue.
Then I tried in an Ubuntu VM, and it was OK. So it seems to be related to WSL2.
Could anyone try to follow the exact step of this setup guide (on Windows) and report back if you have the same issue.
Thanks!
The text was updated successfully, but these errors were encountered:
I just did another test with Docker Desktop using Hyper-V instead of WSL2, and it went very fast, no issue at all.
No sure what is going on with WSL2...
I used this guide in the past with great success:
https://github.com/frappe/frappe_docker/blob/main/docs/development.md
It was about a year ago I did this setup. The only thing I changed back then was to adapt the docker-compose.yml to not mount windows files into /workspace. Use a volume instead, so that all files are local to wsl2.
Now I try to do the same setup on a new Windows 11 machine.
I am able to init bench with success, it is running fast:
bench init --skip-redis-config-generation --frappe-branch version-14 frappe-bench
But when reach the step to create the new-site, it is extremely slow:
bench new-site --mariadb-root-password 123 --admin-password admin --no-mariadb-socket development.localhost
It gets stuck at the step showing Updating Frappe doctypes with a percentage, it takes more than 2 hours to complete. Then doing Erpnext is even longer.
I understand this step is doing migration and creating database tables.
I tried this on different Windows machines, same issue.
I even tried using docker engine installed in WSL2 Ubuntu (instead of windows docker desktop), still same issue.
Then I tried in an Ubuntu VM, and it was OK. So it seems to be related to WSL2.
Could anyone try to follow the exact step of this setup guide (on Windows) and report back if you have the same issue.
Thanks!
The text was updated successfully, but these errors were encountered: