shridarpatil/erpnext-docker

run comand "bench reinstall" is not working

Closed this issue · 2 comments

Run sudo chown -R $USER:$USER sites on your host.

thanks for your help!

but there is another error happend:

frappe@80807e4b42e3:~/frappe-bench$ bench reinstall
This will wipe your database. Are you sure you want to reinstall? [y/N]: y
MySQL root password: 
sh: 1: mysql: not found
Table 'tabDefaultValue' missing in the restored site. Database not installed correctly, this can due to lack of permission, or that the database name exists. Check your mysql root password, validity of the backup file or use --force to reinstall