ddev-mutagen
ddev-mutagen copied to clipboard
line 22 in the mutagen script is causing an error due to the failed execution of the rm command
if i setup a ddev project (v 1.17.0) with ddev-mutagen on ddev start each time an error is returned. it's probably due to the fact that there is no docroot folder in /var/www/html/ in the ddev web container anymore. and it looks like there isn't any test folder in /var/www/html/web either. so the line 22 might be just simply removed from the mutagen script?
Possibly! Give it a go and let me know if it works reliably?
On my first try, the one i've used while writing the issue, i've installed the mutagen functionality by running your script. there i've just commented out line 22. after the commenting out ddev start and ddev stop had no noticeable problems.
on another project i've never used mutagen with yet i manually setup things. added the necessary lines to the config.yml and copied the mutagen file, with the commented out line 22, from the other project. cuz when using the shell script for installation the script would be pulling the version with line 22 active. by manual installation i was able to test a first start with the commented out line 22 as well. and it also worked without any error and looks reliable to me as well. played around with both projects a little bit without any noticeable problems. a real nice solution which might enable me to use docker until finally new m1 macs will be released with more than 16gb hopefully. ;) thanks a lot for the creation of that little script!
on a side note do i remember it correctly mutagen shouldnt be used with NFS active is that correct?
on a side note do i remember it correctly mutagen shouldnt be used with NFS active is that correct?
The project mount in ddev is omitted entirely when you're using this tool, so NFS vs osxfs doesn't make any difference. The files are copied from the host directly.
ahhh thanks. i kept NFS in my global settings activated now. as long as mutagen isn't activated for a project NFS is used as the output state but as soon as mutagen is activated there is no NFS output anymore on project start. understood :) cool! thanks for confirmation and explanation :) . and i've tested a few projects now with mutagen activated and i had no issues with that line commented out. and since most of the people using the script have the latest ddev version anyway it might be save to remove imho.