Reaction Commerce Forums

Can't run reaction reset -n

#1

I am trying to create a custom plugin following this tutorial:

At the end is asked to run reaction reset -n. I am trying to run this way docker-compose exec reaction reaction reset -n but it’s producing the following error:

Resetting the database...
As a precaution, meteor reset only clears the local database that is provided by meteor run for development. The database specified with MONGO_URL will NOT be reset.
/home/node/.meteor/packages/meteor-tool/.1.8.0_2.1om3lwx.sy8++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:218
  throw error;
  ^

Error: EBUSY: resource busy or locked, rmdir '/opt/reaction/src/.meteor/local'
 => awaited here:
at Promise.await (/home/node/.meteor/packages/meteor-tool/.1.8.0_2.1om3lwx.sy8++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/meteor-promise/promise_server.js:60:12)
at /tools/cli/main.js:1530:15
Database reset failed

Can someone help me?

Reaction: 2.0.0