getflywheel / local-addon-volumes

Mount additional directories for your sites in Local by Flywheel.
https://local.getflywheel.com
MIT License
114 stars 11 forks source link

Volumes add-on and Local 2.0 UI issues #4

Closed benjaminprojas closed 7 years ago

benjaminprojas commented 7 years ago

When opening the volume 2.0 admin screen, none of the current mapped volumes appear and it looks like all the styles are messed up:

image

I'm assuming it just needs to be updated to work with Local 2.0.

afragen commented 7 years ago

It also doesn't seem to work with Local 2.0. If you click in the fields and add back your paths, selecting Remap Volumes seems to be stuck on provisioning.

benjaminprojas commented 7 years ago

@claygriffiths are there any simple fixes we can manually change to get this working again? You don't realize how much you rely on something until it doesn't work any more ๐Ÿ˜† Also, existing volumes on sites do seem to still work.

JiveDig commented 7 years ago

It won't let me install either.

screen shot 2017-05-31 at 12 03 29 am
afragen commented 7 years ago

@JiveDig see #3 to install. But it doesn't work. ๐Ÿ‘Ž

JiveDig commented 7 years ago

Boo.

afragen commented 7 years ago

But now you can install it and help debug ๐Ÿ˜‰

JRGould commented 7 years ago

Seeing the following in the debugging console:

/Applications/Local by Flywheel.app/Contents/Resources/app.asar/node_modules/raven-js/src/raven.js:318 Uncaught TypeError: docker is not a function
    at SiteInfoVolumes.remapVolumes (~/Library/Application Support/Local by Flywheel/addons/local-addon-volumes/lib/SiteInfoVolumes.js:278:5)
...

Looks like the app's docker API has changed, but since the main codebase isn't open it's hard to navigate by just probing context.docker in the console.

Any plans on fixing this any time soon, @claygriffiths?

tazeverywhere commented 7 years ago

Dear @claygriffiths,

It would be great to fix compatbility with Local v2. This plugin seems to be the only solution to sync db between many local machines (cloud or btsync) , whithout the need to export each time or having an external staging server..

Btw, thx for the amazing Local app! A great tool and a perfect dev workflow with Wordmove.

All the best to the team

MrSpecific commented 7 years ago

Really rely on this plugin for my workflow, and super disappointed that Local 2.0 broke things. Any hope?

Ipstenu commented 7 years ago

Per https://local.getflywheel.com/community/t/volumes-add-on-not-working-in-version-2-0/1468/2 @claygriffiths says he's going to get this working soon.

This is 100% the primary reason I prefer Local over everything else, so add my name to the list. I'll be experimenting with Chassis however in the meantime.

claygriffiths commented 7 years ago

Thanks everyone for the feedback! This is now fixed in 1.1.0.

Here's the release: https://github.com/getflywheel/local-addon-volumes/releases/tag/1.1.0

And the commits:

037fa76197a21ab69209d0303df068f19e894a0f 3c7396e615a96d01016b084d008fe14ff094cace ce17842141938858377a6ebbd82dd415ad792a7d

To upgrade simply swap out the volumes addon folder in ~/Library/Application Support/Local by Flywheel/addons. You can get there quickly by clicking on the "Reveal" button under Preferences ยป Add-ons in Local.