ERROR: for db Cannot start service db: Mounts denied: approving .wappler/targets/docker/db_init: file does not exist - After updating Docker

Wappler Version : 3.6.0
Operating System : Mac
Server Model: NodeJS
Database Type: MySql
Hosting Type: Docker Local, AWS Remote.

Expected behavior

What do you think should happen?

Start Wappler as per normal.

Actual behavior

What actually happens?

I get the above error. Wappler was working fine prior to updating Docker, now all of a sudden the db_init file appears to have been removed? I also cannot create a new one as I have no option within Wappler to save the DB file.

Other error includes:

ERROR: Encountered errors while bringing up the project.
Error Launching Services!

I've tried re-saving the target settings for local, no luck. Docker remote works fine (hosted on AWS) but local does not.

This is a pretty big issue it seems. Any guidance, team?

@George quite concerned about this - can you advise anything? I’ve tried saving the DB from the remote - it ‘works’ as per the console in Wappler, but nothing appears in the .wappler db_init file for that target.

Bit lost what to do to recover the local docker - and too concerned to deploy anything to staging/production incase this replicates the issue.

Could you check the logs? The icon right from the deploy.

Ah I see the subject mounts denied - means docker has no access to your drive. Check the drive sharing in the docker desktop settings

Thanks for the reply @George - the correct folders are in the File Sharing section of Docker. Anything else I can look at?

I'm not sure what to look for in the logs?

I mean check your file sharing on the docker desktop for mac:

Yep, I did this - and the correct folders are all listed in Docker Desktop, the ones that contain the Wappler project folders.

@George fixed it. Thank you for your help.

For anyone reading this, who uses Docker and updates to version 3.0.0 this is the solution:

With the new version 3.0.0 of Docker for mac, you need to disable use gRPC FUSE for file sharing in Preferences>Experimental Features.

1 Like

@mgaussie, which Mac OS are you using?